@@ -39,12 +39,16 @@ jobs:
3939 command : /start_tests.sh test_collection_all
4040 coverage-upload-name : " awx-collection"
4141 - name : api-schema
42+ <<<<<<< HEAD
4243 command : >-
4344 /start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{
4445 github.event.pull_request.base.ref || github.ref_name
4546 }}
4647 coverage-upload-name : " "
4748
49+ =======
50+ command : /start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{ github.event.pull_request.base.ref }}
51+ >>>>>>> tower/test_stable-2.6
4852 steps :
4953 - uses : actions/checkout@v4
5054 with :
@@ -130,9 +134,15 @@ jobs:
130134 with :
131135 show-progress : false
132136
137+ <<<<<<< HEAD
133138 - uses : ./.github/actions/setup-python
134139 with :
135140 python-version : ' 3.x'
141+ =======
142+ - uses : actions/setup-python@v5
143+ with :
144+ python-version : ' 3.12'
145+ >>>>>>> tower/test_stable-2.6
136146
137147 - uses : ./.github/actions/run_awx_devel
138148 id : awx
@@ -143,11 +153,14 @@ jobs:
143153
144154 - name : Run live dev env tests
145155 run : docker exec tools_awx_1 /bin/bash -c "make live_test"
156+ <<<<<<< HEAD
146157
147158 - uses : ./.github/actions/upload_awx_devel_logs
148159 if : always()
149160 with :
150161 log-filename : live-tests.log
162+ =======
163+ >>>>>>> tower/test_stable-2.6
151164
152165 awx-operator :
153166 runs-on : ubuntu-latest
@@ -180,6 +193,26 @@ jobs:
180193 run : |
181194 python3 -m pip install docker
182195
196+ - name : Generate placeholder SSH private key if SSH auth for private repos is not needed
197+ id : generate_key
198+ shell : bash
199+ run : |
200+ if [[ -z "${{ secrets.PRIVATE_GITHUB_KEY }}" ]]; then
201+ ssh-keygen -t ed25519 -C "github-actions" -N "" -f ~/.ssh/id_ed25519
202+ echo "SSH_PRIVATE_KEY<<EOF" >> $GITHUB_OUTPUT
203+ cat ~/.ssh/id_ed25519 >> $GITHUB_OUTPUT
204+ echo "EOF" >> $GITHUB_OUTPUT
205+ else
206+ echo "SSH_PRIVATE_KEY<<EOF" >> $GITHUB_OUTPUT
207+ echo "${{ secrets.PRIVATE_GITHUB_KEY }}" >> $GITHUB_OUTPUT
208+ echo "EOF" >> $GITHUB_OUTPUT
209+ fi
210+
211+ - name : Add private GitHub key to SSH agent
212+ uses :
webfactory/[email protected] 213+ with :
214+ ssh-private-key : ${{ steps.generate_key.outputs.SSH_PRIVATE_KEY }}
215+
183216 - name : Build AWX image
184217 working-directory : awx
185218 run : |
@@ -278,9 +311,15 @@ jobs:
278311 with :
279312 show-progress : false
280313
314+ <<<<<<< HEAD
281315 - uses : ./.github/actions/setup-python
282316 with :
283317 python-version : ' 3.x'
318+ =======
319+ - uses : actions/setup-python@v5
320+ with :
321+ python-version : ' 3.12'
322+ >>>>>>> tower/test_stable-2.6
284323
285324 - uses : ./.github/actions/run_awx_devel
286325 id : awx
@@ -356,12 +395,18 @@ jobs:
356395 persist-credentials : false
357396 show-progress : false
358397
398+ <<<<<<< HEAD
359399 - uses : ./.github/actions/setup-python
360400 with :
361401 python-version : ' 3.x'
402+ =======
403+ - uses : actions/setup-python@v5
404+ with :
405+ python-version : ' 3.12'
406+ >>>>>>> tower/test_stable-2.6
362407
363408 - name : Upgrade ansible-core
364- run : python3 -m pip install --upgrade ansible-core
409+ run : python3 -m pip install --upgrade " ansible-core<2.19"
365410
366411 - name : Download coverage artifacts
367412 uses : actions/download-artifact@v4
0 commit comments