Skip to content

Commit b34233e

Browse files
Merge pull request #7919 from GeorgianaElena/use-action
[CI/CD] Use the setup deploy action directly
2 parents 3a7cd2f + b75dd19 commit b34233e

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

.github/workflows/run-health-check.yaml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,11 @@ jobs:
105105
with:
106106
submodules: true
107107

108-
- uses: actions/setup-python@v6
108+
- name: Setup deploy for ${{ matrix.jobs.cluster_name }} cluster
109+
uses: ./.github/actions/setup-deploy
109110
with:
110-
python-version: '3.13'
111-
112-
- uses: actions/setup-go@v6
113-
114-
- name: Install deployer script's dependencies
115-
run: |
116-
pip install --editable .
117-
go install github.com/google/go-jsonnet/cmd/jsonnet@v0.20.0
111+
provider: ${{ matrix.jobs.provider }}
112+
GCP_KMS_DECRYPTOR_KEY: ${{ secrets.GCP_KMS_DECRYPTOR_KEY }}
118113

119114
- name: Run health check against ${{ matrix.jobs.cluster_name }} ${{ matrix.jobs.hub_name }}
120115
uses: nick-fields/retry@v3
@@ -145,16 +140,12 @@ jobs:
145140
- uses: actions/checkout@v6
146141
with:
147142
submodules: true
148-
- uses: actions/setup-python@v6
149-
with:
150-
python-version: '3.13'
151-
152-
- uses: actions/setup-go@v6
153143

154-
- name: Install deployer script's dependencies
155-
run: |
156-
pip install --editable .
157-
go install github.com/google/go-jsonnet/cmd/jsonnet@v0.20.0
144+
- name: Setup deploy for ${{ matrix.jobs.cluster_name }} cluster
145+
uses: ./.github/actions/setup-deploy
146+
with:
147+
provider: ${{ matrix.jobs.provider }}
148+
GCP_KMS_DECRYPTOR_KEY: ${{ secrets.GCP_KMS_DECRYPTOR_KEY }}
158149

159150
- name: Run health check against ${{ matrix.jobs.cluster_name }} ${{ matrix.jobs.hub_name }}
160151
uses: nick-fields/retry@v3

0 commit comments

Comments
 (0)