3232 Test :
3333 name : ${{ matrix.instance }}
3434 runs-on : ubuntu-latest
35- # # DGM container:
36- # # DGM image: ghcr.io/saltstack/salt-ci-containers/testing:${{ inputs.container-slug }}
37- # # DGM options: --privileged
38-
3935 timeout-minutes : ${{ inputs.timeout }}
4036 strategy :
4137 max-parallel : 2
4642 steps :
4743 - uses : actions/checkout@v4
4844
49- # # DGM - name: Install Python Dependencies with pip breakage
50- # # DGM if: ${{ ( inputs.distro-slug == 'debian-11' ) || ( inputs.distro-slug == 'debian-12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
51- # # DGM run: |
52- # # DGM python3 -m pip install --break-system-packages -r tests/requirements.txt
53-
54- # # DGM - name: Install Python Dependencies without pip breakage
55- # # DGM if: ${{ ( inputs.distro-slug != 'debian-11' ) && ( inputs.distro-slug != 'debian-12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
56- # # DGM run: |
57- # # DGM python3 -m pip install -r tests/requirements.txt
58-
59- # # DGM - name: Get Version
60- # # DGM run: |
61- # # DGM # We need to get the version here and make it an environment variable
62- # # DGM # It is used to install via bootstrap and in the test
63- # # DGM # The version is in the instance name
64- # # DGM # sed 1st - becomes space, 2nd - becomes dot
65- # # DGM vt_parm_ver=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./' | awk -F ' ' '{print $2}')
66- # # DGM echo "SaltVersion=$vt_parm_ver" >> $GITHUB_ENV
67-
68- # # DGM - name: Bootstrap Salt
69- # # DGM run: |
70- # # DGM # sed 1st - becomes space, 2nd - becomes dot
71- # # DGM bt_arg1=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./' | awk -F ' ' '{print $1}')
72- # # DGM bt_arg2=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./' | awk -F ' ' '{print $2}')
73- # # DGM echo "bt parms ,$bt_parms, bt_arg1 ,$bt_arg1, bt_arg2 ,$bt_arg2,"
74- # # DGM sh -x ./bootstrap-salt.sh "$bt_arg1" "$bt_arg2"
75-
76- # # DGM - name: Test Bootstrap
77- # # DGM run: |
78- # # DGM pytest --cache-clear -v -s -ra --log-cli-level=debug tests/integration/
79-
8045 - name : Get Version
8146 run : |
8247 # We need to get the version here and make it an environment variable
@@ -98,23 +63,13 @@ jobs:
9863 run : |
9964 /usr/bin/docker start ${{ github.run_id }}_salt-test
10065
101- - name : Current Directory
102- run : |
103- pwd
104- ls -alh
105-
106- # # DGM - name: Download requirements file tests/requirements.txt
107- # # DGM uses: actions/download-artifact@v4
108- # # DGM with:
109- # # DGM - name: requirements.txt
110-
11166 - name : " Install Python Dependencies with pip breakage in container ${{ inputs.container-slug }}"
112- if : ${{ ( inputs.distro-slug == 'debian-11' ) || ( inputs.distro-slug == 'debian- 12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
67+ if : ${{ ( inputs.distro-slug == 'debian-12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
11368 run : |
11469 docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r /_w/btstrap/tests/requirements.txt
11570
11671 - name : " Install Python Dependencies without pip breakage in container ${{ inputs.container-slug }}"
117- if : ${{ ( inputs.distro-slug != 'debian-11' ) && ( inputs.distro-slug != 'debian- 12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
72+ if : ${{ ( inputs.distro-slug != 'debian-12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
11873 run : |
11974 docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r /_w/btstrap/tests/requirements.txt
12075
0 commit comments