Skip to content

Commit

Permalink
remove from all other jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundy committed Nov 4, 2024
1 parent 3e4d724 commit 01b24d8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 47 deletions.
11 changes: 1 addition & 10 deletions .github/workflows-source/ci-pr-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ anchors:
<<: *image
options: >-
-e NODE_NAME
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
checkout: &checkout
name: Checkout
uses: actions/checkout@v4
Expand All @@ -50,7 +44,6 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *before-script
- name: Filter Relevant Files
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
Expand Down Expand Up @@ -89,7 +82,6 @@ jobs:
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.IDX_PUSH_TO_PR }}
- <<: *before-script
- name: Filter Relevant Files
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
Expand Down Expand Up @@ -130,7 +122,6 @@ jobs:
- <<: *checkout
with:
fetch-depth: 256
- <<: *before-script
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -156,10 +147,10 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'CI_COVERAGE')
steps:
- <<: *checkout
- <<: *before-script
- name: Run Bazel Test Coverage
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
./ci/scripts/bazel-coverage.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows-source/release-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ anchors:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
docker-login: &docker-login
name: Login to Dockerhub
shell: bash
Expand Down Expand Up @@ -81,7 +75,6 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run Bazel System Test Nightly
id: bazel-test-all
Expand All @@ -99,7 +92,6 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run Bazel System Test Staging
id: bazel-test-all
Expand All @@ -118,7 +110,6 @@ jobs:
timeout-minutes: 90
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run Bazel Test All
id: bazel-test-all
Expand Down Expand Up @@ -146,7 +137,6 @@ jobs:
REPO_NAME: ${{ github.repository }}
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -193,7 +183,6 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run qualification for version ${{ matrix.version }} from the tip of the branch
uses: ./.github/actions/bazel-test-all/
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows-source/schedule-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ anchors:
checkout: &checkout
name: Checkout
uses: actions/checkout@v4
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
docker-login: &docker-login
name: Login to Dockerhub
shell: bash
Expand Down Expand Up @@ -72,13 +66,13 @@ jobs:
labels: dind-large
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run Bazel Launch Bare Metal
shell: bash
run: |
echo "$ZH2_DLL01_CSV_SECRETS" > file1
echo "$ZH2_FILE_SHARE_KEY" > file2 && chmod 400 file2
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
# Run bare metal installation test
# shellcheck disable=SC2046,SC2086
Expand Down Expand Up @@ -115,7 +109,6 @@ jobs:
timeout-minutes: 720 # 12 hours
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run FI Tests Nightly
id: bazel-test-all
Expand All @@ -135,7 +128,6 @@ jobs:
timeout-minutes: 20
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run NNS Tests Nightly
id: bazel-test-all
Expand All @@ -155,7 +147,6 @@ jobs:
timeout-minutes: 480
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Set Benchmark Targets
shell: bash
Expand Down Expand Up @@ -193,7 +184,6 @@ jobs:
REPO_NAME: ${{ github.repository }}
steps:
- <<: *checkout
- <<: *before-script
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -225,10 +215,10 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *before-script
- name: Run Bazel Test Coverage
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
./ci/scripts/bazel-coverage.sh
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows-source/schedule-hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ anchors:
checkout: &checkout
name: Checkout
uses: actions/checkout@v4
before-script: &before-script
name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
docker-login: &docker-login
name: Login to Dockerhub
shell: bash
Expand Down Expand Up @@ -66,7 +60,6 @@ jobs:
<<: *dind-large-setup
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run Bazel Build All No Cache
uses: ./.github/actions/bazel-test-all/
Expand All @@ -86,7 +79,6 @@ jobs:
labels: dind-large
steps:
- <<: *checkout
- <<: *before-script
- <<: *docker-login
- name: Run Bazel System Test Hourly
id: bazel-test-all
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/system-tests-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Before script
id: before-script
shell: bash
run: |
[ -n "${NODE_NAME:-}" ] && echo "Node: $NODE_NAME"
- name: Login to Dockerhub
shell: bash
run: ./ci/scripts/docker-login.sh
Expand Down

0 comments on commit 01b24d8

Please sign in to comment.