mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Fixing actions
This commit is contained in:
parent
852a98fce4
commit
a0285f3e6e
1 changed files with 11 additions and 8 deletions
19
.github/workflows/test-linux.yml
vendored
19
.github/workflows/test-linux.yml
vendored
|
@ -89,20 +89,27 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/docker start ${{ github.run_id }}_salt-test
|
/usr/bin/docker start ${{ github.run_id }}_salt-test
|
||||||
|
|
||||||
- name: Download requirements file tests/requirements.txt
|
- name: Current Directory
|
||||||
|
run: |
|
||||||
|
pwd
|
||||||
|
ls -alh
|
||||||
|
|
||||||
|
- name: Download requirements file tests/requirements.txt
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
- name: tests/requirements.txt
|
- name: requirements.txt
|
||||||
|
|
||||||
- name: "Install Python Dependencies with pip breakage in container ${{ inputs.container-slug }}"
|
- name: "Install Python Dependencies with pip breakage in container ${{ inputs.container-slug }}"
|
||||||
if: ${{ ( inputs.distro-slug == 'debian-11' ) || ( inputs.distro-slug == 'debian-12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
|
if: ${{ ( inputs.distro-slug == 'debian-11' ) || ( inputs.distro-slug == 'debian-12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
|
||||||
run: |
|
run: |
|
||||||
docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r tests/requirements.txt
|
## docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r tests/requirements.txt
|
||||||
|
docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r requirements.txt
|
||||||
|
|
||||||
- name: "Install Python Dependencies without pip breakage in container ${{ inputs.container-slug }}"
|
- name: "Install Python Dependencies without pip breakage in container ${{ inputs.container-slug }}"
|
||||||
if: ${{ ( inputs.distro-slug != 'debian-11' ) && ( inputs.distro-slug != 'debian-12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
|
if: ${{ ( inputs.distro-slug != 'debian-11' ) && ( inputs.distro-slug != 'debian-12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
|
||||||
run: |
|
run: |
|
||||||
docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r tests/requirements.txt
|
## docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r tests/requirements.txt
|
||||||
|
docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Get Version
|
- name: Get Version
|
||||||
run: |
|
run: |
|
||||||
|
@ -113,10 +120,6 @@ jobs:
|
||||||
vt_parm_ver=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./' | awk -F ' ' '{print $2}')
|
vt_parm_ver=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./' | awk -F ' ' '{print $2}')
|
||||||
echo "SaltVersion=$vt_parm_ver" >> $GITHUB_ENV
|
echo "SaltVersion=$vt_parm_ver" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Current Directory
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
|
|
||||||
- name: Bootstrap Salt
|
- name: Bootstrap Salt
|
||||||
run: |
|
run: |
|
||||||
# sed 1st - becomes space, 2nd - becomes dot
|
# sed 1st - becomes space, 2nd - becomes dot
|
||||||
|
|
Loading…
Add table
Reference in a new issue