Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/config/nodejs-dev.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
".github/PULL_REQUEST_TEMPLATE.md",
".github/auto-label.yaml",
".github/blunderbuss.yml",
".github/flakybot.yaml",
".github/header-checker-lint.yml",
".github/scripts/",
".github/snippet-bot.yml",
Expand Down
1 change: 0 additions & 1 deletion .github/config/nodejs.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
".github/PULL_REQUEST_TEMPLATE.md",
".github/auto-label.yaml",
".github/blunderbuss.yml",
".github/flakybot.yaml",
".github/header-checker-lint.yml",
".github/scripts/",
".github/snippet-bot.yml",
Expand Down
15 changes: 0 additions & 15 deletions .github/flakybot.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/ai-platform-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,3 @@ jobs:
GOOGLE_SAMPLES_PROJECT: "long-door-651"
LOCATION: ${{ steps.secrets.outputs.location }}
CAIP_PROJECT_ID: ${{ steps.secrets.outputs.caip_id }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: ai-platform/snippets/${{ env.MOCHA_REPORTER_OUTPUT }}
retention-days: 1
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/compute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'compute'
path: 'compute'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/custard-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,3 @@ jobs:
run: |
timeout ${{ fromJson(env.CI_SETUP).timeout-minutes }}m \
make test dir=${{ matrix.path }}
# - name: Upload test results for FlakyBot workflow
# if: github.event.action == 'schedule' && always() # always() submits logs even if tests fail
# uses: actions/upload-artifact@v4
# with:
# name: test-results
# path: ${{ matrix.package }}/${{ env.MOCHA_REPORTER_OUTPUT }}
# retention-days: 1
7 changes: 0 additions & 7 deletions .github/workflows/dataproc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'dataproc'
path: 'dataproc'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/datastore-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'datastore-functions'
path: 'datastore/functions'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
16 changes: 0 additions & 16 deletions .github/workflows/dialogflow-cx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,3 @@ jobs:
AGENT_ID: ${{ steps.secrets.outputs.agent_id }}
TEST_ID: ${{ steps.secrets.outputs.test_id }}
AGENT_PROJECT_ID: nodejs-docs-samples-tests
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: dialogflow-cx/${{ env.MOCHA_REPORTER_OUTPUT }}
retention-days: 1
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/dlp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'dlp'
path: 'dlp'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/document-ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'document-ai'
path: 'document-ai'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
32 changes: 0 additions & 32 deletions .github/workflows/flakybot.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/functions-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,3 @@ jobs:
GOOGLE_SAMPLES_PROJECT: "long-door-651"
SLACK_SECRET: ${{ steps.secrets.outputs.slack_secret }}
KG_API_KEY: ${{ steps.secrets.outputs.kg_api_key }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: functions/slack/${{ env.MOCHA_REPORTER_OUTPUT }}
retention-days: 1
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/healthcare-fhir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'healthcare-fhir'
path: 'healthcare/fhir'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
16 changes: 0 additions & 16 deletions .github/workflows/iam-deny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,3 @@ jobs:
echo "MOCHA_REPORTER_OUTPUT=${{github.run_id}}_sponge_log.xml" >> $GITHUB_ENV
echo "MOCHA_REPORTER=xunit" >> $GITHUB_ENV
- run: npm test
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: iam/deny/${{ env.MOCHA_REPORTER_OUTPUT }}
retention-days: 1
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
16 changes: 0 additions & 16 deletions .github/workflows/storagetransfer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,3 @@ jobs:
AZURE_STORAGE_ACCOUNT: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).StorageAccount }}
AZURE_CONNECTION_STRING: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).ConnectionString }}
AZURE_SAS_TOKEN: ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: storagetransfer/${{ env.MOCHA_REPORTER_OUTPUT }}
retention-days: 1
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,3 @@ jobs:
run: make test dir=${{ inputs.path }}
env:
GOOGLE_SAMPLES_PROJECT: "long-door-651"
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: test-results
path: ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}
retention-days: 1
7 changes: 0 additions & 7 deletions .github/workflows/utils/ci-matrix.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,3 @@ jobs:
with:
name: '{{name}}'
path: '${% raw %}{{ matrix.path }}{% endraw %}'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
16 changes: 0 additions & 16 deletions .github/workflows/utils/ci-secrets.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,3 @@ jobs:
# TODO: Update environment variables
SECRET_1: ${% raw %}{{ steps.secrets.outputs.secret_key_1 }}{% endraw %}
SECRET_2: ${% raw %}{{ steps.secrets.outputs.secret_key_2 }}{% endraw %}
- name: upload test results for FlakyBot workflow
if: github.event.action == 'schedule' && always()
uses: actions/upload-artifact@v3
env:
MOCHA_REPORTER_OUTPUT: "${{github.run_id}}_sponge_log.xml"
with:
name: test-results
path: {{ path }}/${% raw %}{{ env.MOCHA_REPORTER_OUTPUT }}{% endraw %}
retention-days: 1
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
8 changes: 0 additions & 8 deletions .github/workflows/utils/ci.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,3 @@ jobs:
with:
name: '{{name}}'
path: '{{path}}'
flakybot:
# Ref: https://github.com/google-github-actions/auth#usage
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/video-intelligence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ jobs:
with:
name: 'video-intelligence'
path: 'video-intelligence'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
7 changes: 0 additions & 7 deletions .github/workflows/workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,3 @@ jobs:
with:
name: 'workflows'
path: 'workflows'
flakybot:
permissions:
contents: 'read'
id-token: 'write'
if: github.event_name == 'schedule' && always() # always() submits logs even if tests fail
uses: ./.github/workflows/flakybot.yaml
needs: [test]
Loading