@@ -184,37 +184,37 @@ jobs:
184
184
run : |
185
185
docker push ghcr.io/${{ steps.string.outputs.lowercase }}/avd/python_avd:0.0.1
186
186
187
- reuse_container_image :
188
- name : Reuse image with ghcr credentials
189
- runs-on : ubuntu-latest
190
- needs : [container-job]
191
- container :
192
- image : ghcr.io/shivani-gslab/avd/python_avd:0.0.1
193
- credentials :
194
- username : ${{ github.repository_owner }}
195
- password : ${{ secrets.GITHUB_TOKEN }}
196
- steps :
197
- - name : Check for dockerenv file
198
- run : (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
199
- - name : Check out repository code
200
- uses : actions/checkout@v4
201
- - name : run tests
202
- shell : bash
203
- run : |
204
- pwd
205
- ls -al
206
- ls -l /__w/avd/
207
- # source UV3.12/bin/activate
208
- cd ansible_collections/arista/avd
209
- ansible-test units -vv
187
+ # reuse_container_image:
188
+ # name: Reuse image with ghcr credentials
189
+ # runs-on: ubuntu-latest
190
+ # needs: [container-job]
191
+ # container:
192
+ # image: ghcr.io/shivani-gslab/avd/python_avd:0.0.1
193
+ # credentials:
194
+ # username: ${{ github.repository_owner }}
195
+ # password: ${{ secrets.GITHUB_TOKEN }}
196
+ # steps:
197
+ # - name: Check for dockerenv file
198
+ # run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
199
+ # - name: Check out repository code
200
+ # uses: actions/checkout@v4
201
+ # - name: run tests
202
+ # shell: bash
203
+ # run: |
204
+ # pwd
205
+ # ls -al
206
+ # ls -l /__w/avd/
207
+ # # source UV3.12/bin/activate
208
+ # cd ansible_collections/arista/avd
209
+ # ansible-test units -vv
210
210
211
211
reuse-ghcr-image :
212
- name : reuse first job
212
+ name : Reuse first job
213
213
runs-on : ubuntu-latest
214
214
needs : [ container-job ]
215
215
steps :
216
- - name : Check out repository code
217
- uses : actions/checkout@v4
216
+ # - name: Check out repository code
217
+ # uses: actions/checkout@v4
218
218
# - name: Set up Docker
219
219
# run: |
220
220
# sudo apt-get update
@@ -247,22 +247,18 @@ jobs:
247
247
run : |
248
248
docker exec avd-python-container bash -c "source UV3.12/bin/activate && cd ansible_collections/arista/avd && ansible-test units -vv"
249
249
250
- # - name: Execute Ansible integration tests
251
- # run: |
252
- # docker exec avd-python-container bash -c "source UV3.12/bin/activate && cd ansible_collections/arista/avd && ansible-test integration -vv"
250
+ - name : Execute Ansible integration tests
251
+ run : |
252
+ docker exec avd-python-container bash -c "source UV3.12/bin/activate && cd ansible_collections/arista/avd && ansible-test integration -vv"
253
253
# docker exec avd-python-container bash -c "source UV3.13/bin/activate && cd ansible_collections/arista/avd && ansible-test integration -vv"
254
254
255
- # - name: Execute Ansible sanity tests
256
- # run: |
257
- # docker exec avd-python-container bash -c "source UV3.12/bin/activate && cd ansible_collections/arista/avd && ansible-test sanity --color yes -v"
255
+ - name : Execute Ansible sanity tests
256
+ run : |
257
+ docker exec avd-python-container bash -c "source UV3.12/bin/activate && cd ansible_collections/arista/avd && ansible-test sanity --color yes -v"
258
258
# docker exec avd-python-container bash -c "source UV3.13/bin/activate && cd ansible_collections/arista/avd && ansible-test sanity --color yes -v"
259
259
260
- # # - name: Execute Ansible lint tests
261
- # # run: |
262
- # # docker exec avd-python-container bash -c "cd ansible_collections/arista/avd && ansible-test integration -vv"
263
-
264
- # - name: Stop and Remove Docker Container
265
- # run: |
266
- # docker stop avd-python-container
267
- # docker rm avd-python-container
260
+ - name : Stop and Remove Docker Container
261
+ run : |
262
+ docker stop avd-python-container
263
+ docker rm avd-python-container
268
264
0 commit comments