File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,13 @@ jobs:
124
124
env :
125
125
PYTEST_RETRIES : ' 3'
126
126
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
127
134
- name : ' preparation: Harden Runner'
128
135
uses : step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
129
136
with :
@@ -159,4 +166,4 @@ jobs:
159
166
with :
160
167
name : nightly-tests-report
161
168
path : |
162
- report.html
169
+ report.html
You can’t perform that action at this time.
0 commit comments