mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Attempt systemctl mock
This commit is contained in:
parent
f5a516d81c
commit
2f65744d2a
8 changed files with 13 additions and 7 deletions
2
.github/actionlint.yaml
vendored
2
.github/actionlint.yaml
vendored
|
@ -11,6 +11,6 @@ self-hosted-runner:
|
|||
- repo-release
|
||||
- medium
|
||||
- large
|
||||
- macos-13-xlarge
|
||||
- macos-13
|
||||
- linux-x86_64
|
||||
- linux-arm64
|
||||
|
|
2
.github/workflows/build-deps-ci-action.yml
vendored
2
.github/workflows/build-deps-ci-action.yml
vendored
|
@ -182,7 +182,7 @@ jobs:
|
|||
name: MacOS
|
||||
needs:
|
||||
- generate-matrix
|
||||
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13-xlarge' || matrix.distro-slug }}
|
||||
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13' || matrix.distro-slug }}
|
||||
if: ${{ inputs.kind == 'macos' }}
|
||||
timeout-minutes: 90
|
||||
strategy:
|
||||
|
|
2
.github/workflows/build-deps-onedir.yml
vendored
2
.github/workflows/build-deps-onedir.yml
vendored
|
@ -97,7 +97,7 @@ jobs:
|
|||
matrix:
|
||||
arch: ${{ github.event.repository.fork && fromJSON('["x86_64"]') || fromJSON('["x86_64", "arm64"]') }}
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}
|
||||
- ${{ matrix.arch == 'arm64' && 'macos-13' || 'macos-12' }}
|
||||
env:
|
||||
USE_S3_CACHE: 'false'
|
||||
PIP_INDEX_URL: https://pypi.org/simple
|
||||
|
|
2
.github/workflows/build-packages.yml
vendored
2
.github/workflows/build-packages.yml
vendored
|
@ -239,7 +239,7 @@ jobs:
|
|||
env:
|
||||
PIP_INDEX_URL: https://pypi.org/simple
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}
|
||||
- ${{ matrix.arch == 'arm64' && 'macos-13' || 'macos-12' }}
|
||||
|
||||
steps:
|
||||
- name: Check Package Signing Enabled
|
||||
|
|
2
.github/workflows/build-salt-onedir.yml
vendored
2
.github/workflows/build-salt-onedir.yml
vendored
|
@ -104,7 +104,7 @@ jobs:
|
|||
matrix:
|
||||
arch: ${{ github.event.repository.fork && fromJSON('["x86_64"]') || fromJSON('["x86_64", "arm64"]') }}
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'arm64' && 'macos-13-xlarge' || 'macos-12' }}
|
||||
- ${{ matrix.arch == 'arm64' && 'macos-13' || 'macos-12' }}
|
||||
env:
|
||||
PIP_INDEX_URL: https://pypi.org/simple
|
||||
|
||||
|
|
|
@ -296,7 +296,7 @@ jobs:
|
|||
name: MacOS
|
||||
needs:
|
||||
- generate-matrix
|
||||
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13-xlarge' || matrix.distro-slug }}
|
||||
runs-on: ${{ matrix.distro-slug == 'macos-13-arm64' && 'macos-13' || matrix.distro-slug }}
|
||||
env:
|
||||
USE_S3_CACHE: 'false'
|
||||
PIP_INDEX_URL: https://pypi.org/simple
|
||||
|
|
|
@ -184,6 +184,12 @@ jobs:
|
|||
run: |
|
||||
tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true
|
||||
|
||||
- name: Mock systemd
|
||||
run: |
|
||||
wget https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py
|
||||
cp systemctl3.py /usr/bin/systemctl
|
||||
chmod +x /usr/bin/systemctl
|
||||
|
||||
- name: Show System Info
|
||||
env:
|
||||
SKIP_REQUIREMENTS_INSTALL: "1"
|
||||
|
|
|
@ -187,7 +187,7 @@ jobs:
|
|||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
TOOLS_DISTRO_SLUG: "${{ inputs.distro-slug }}"
|
||||
run: |
|
||||
env PYTHONUTF8=1 nox --force-color -f noxfile.py -e "${{ inputs.nox-session }}-pkgs" -- ${{ matrix.tests-chunk }}
|
||||
env PYTHONUTF8=1 nox --force-color -f noxfile.py -e "${{ inputs.nox-session }}-pkgs" -- '${{ matrix.tests-chunk }}'
|
||||
|
||||
- name: Run Package Tests
|
||||
env:
|
||||
|
|
Loading…
Add table
Reference in a new issue