Skip to content

Commit c728cf2

Browse files
authored
Ci: Fix nightly workflow (#1250)
Fixes b2e137d.
1 parent b2e137d commit c728cf2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/nightly-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ jobs:
124124
env:
125125
PYTEST_RETRIES: '3'
126126
steps:
127+
- name: Replace secrets in example config files
128+
run: |
129+
sed -i "s+MTL_PATH_PLACEHOLDER+${{ secrets.BARE_METAL_MTL_PATH }}+" tests/validation/configs/test_config.yaml
130+
sed -i "s/IP_ADDRESS_PLACEHOLDER/${{ secrets.BARE_METAL_IP_ADDRESS }}/" tests/validation/configs/topology_config.yaml
131+
sed -i "s/SSH_PORT_PLACEHOLDER/${{ secrets.BARE_METAL_SSH_PORT }}/" tests/validation/configs/topology_config.yaml
132+
sed -i "s/USERNAME_PLACEHOLDER/${{ secrets.BARE_METAL_USERNAME }}/" tests/validation/configs/topology_config.yaml
133+
sed -i "s+KEY_PATH_PLACEHOLDER+${{ secrets.BARE_METAL_SSH_KEY_PATH }}+" tests/validation/configs/topology_config.yaml
127134
- name: 'preparation: Harden Runner'
128135
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
129136
with:
@@ -159,4 +166,4 @@ jobs:
159166
with:
160167
name: nightly-tests-report
161168
path: |
162-
report.html
169+
report.html

0 commit comments

Comments
 (0)