Skip to content

Commit 2b73bed

Browse files
committed
container 11
1 parent 1080af0 commit 2b73bed

File tree

1 file changed

+36
-40
lines changed

1 file changed

+36
-40
lines changed

.github/workflows/pull-request-management.yml

+36-40
Original file line numberDiff line numberDiff line change
@@ -184,37 +184,37 @@ jobs:
184184
run: |
185185
docker push ghcr.io/${{ steps.string.outputs.lowercase }}/avd/python_avd:0.0.1
186186
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
210210

211211
reuse-ghcr-image:
212-
name: reuse first job
212+
name: Reuse first job
213213
runs-on: ubuntu-latest
214214
needs: [ container-job ]
215215
steps:
216-
- name: Check out repository code
217-
uses: actions/checkout@v4
216+
# - name: Check out repository code
217+
# uses: actions/checkout@v4
218218
# - name: Set up Docker
219219
# run: |
220220
# sudo apt-get update
@@ -247,22 +247,18 @@ jobs:
247247
run: |
248248
docker exec avd-python-container bash -c "source UV3.12/bin/activate && cd ansible_collections/arista/avd && ansible-test units -vv"
249249
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"
253253
# docker exec avd-python-container bash -c "source UV3.13/bin/activate && cd ansible_collections/arista/avd && ansible-test integration -vv"
254254

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"
258258
# docker exec avd-python-container bash -c "source UV3.13/bin/activate && cd ansible_collections/arista/avd && ansible-test sanity --color yes -v"
259259

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
268264

0 commit comments

Comments
 (0)