mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Clean up workflows
This commit is contained in:
parent
e952a53689
commit
e99201ca0b
9 changed files with 12 additions and 14 deletions
2
.github/workflows/build-deps-onedir.yml
vendored
2
.github/workflows/build-deps-onedir.yml
vendored
|
@ -40,7 +40,7 @@ jobs:
|
|||
build-deps-linux:
|
||||
name: Linux
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-latest' || 'linux-arm64' }}
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-22.04' || 'linux-arm64' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
4
.github/workflows/build-packages.yml
vendored
4
.github/workflows/build-packages.yml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
|||
build-deb-packages:
|
||||
name: DEB
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-latest' || 'linux-arm64' }}
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-22.04' || 'linux-arm64' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -145,7 +145,7 @@ jobs:
|
|||
build-rpm-packages:
|
||||
name: RPM
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-latest' || 'linux-arm64' }}
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-22.04' || 'linux-arm64' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
2
.github/workflows/build-salt-onedir.yml
vendored
2
.github/workflows/build-salt-onedir.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
|||
env:
|
||||
USE_S3_CACHE: 'false'
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-latest' || 'linux-arm64' }}
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-22.04' || 'linux-arm64' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
4
.github/workflows/lint-action.yml
vendored
4
.github/workflows/lint-action.yml
vendored
|
@ -18,7 +18,7 @@ env:
|
|||
jobs:
|
||||
Salt:
|
||||
name: Lint Salt's Source Code
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['salt'] || fromJSON(inputs.changed-files)['lint'] }}
|
||||
|
||||
container:
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
|
||||
Tests:
|
||||
name: Lint Salt's Test Suite
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['tests'] || fromJSON(inputs.changed-files)['lint'] }}
|
||||
|
||||
container:
|
||||
|
|
2
.github/workflows/pre-commit-action.yml
vendored
2
.github/workflows/pre-commit-action.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
Pre-Commit:
|
||||
name: Run Pre-Commit Against Salt
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
container:
|
||||
image: ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-22.04
|
||||
|
|
2
.github/workflows/release-tag.yml
vendored
2
.github/workflows/release-tag.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
|||
permissions:
|
||||
contents: write # for dev-drprasad/delete-tag-and-release to delete tags or releases
|
||||
name: Generate Tag and Github Release
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: dev-drprasad/delete-tag-and-release@v0.2.0
|
||||
if: github.event.inputs.reTag == 'true'
|
||||
|
|
2
.github/workflows/release-update-winrepo.yml
vendored
2
.github/workflows/release-update-winrepo.yml
vendored
|
@ -19,7 +19,7 @@ permissions:
|
|||
jobs:
|
||||
update-winrepo:
|
||||
name: Update Winrepo
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
||||
- name: Checkout Salt
|
||||
|
|
6
.github/workflows/test-action.yml
vendored
6
.github/workflows/test-action.yml
vendored
|
@ -87,9 +87,6 @@ jobs:
|
|||
# with:
|
||||
# python-version: '3.10'
|
||||
#
|
||||
- name: Test Matrix
|
||||
run: |
|
||||
"${{ toJSON(matrix) }}"
|
||||
|
||||
- name: Check python
|
||||
run: |
|
||||
|
@ -555,7 +552,8 @@ jobs:
|
|||
timeout-minutes: ${{ fromJSON(inputs.testrun)['type'] == 'full' && inputs.default-timeout || 360 }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJSON(inputs.matrix)['windows'] }}
|
||||
matrix:
|
||||
include: ${{ fromJSON(inputs.matrix)['windows'] }}
|
||||
env:
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
steps:
|
||||
|
|
|
@ -1601,7 +1601,7 @@ def workflow_config(
|
|||
ctx.info(f"str_releases {str_releases}")
|
||||
|
||||
platforms = ["linux", "macos", "windows"]
|
||||
pkg_test_matrix = {}
|
||||
pkg_test_matrix: dict[str, list] = {_: [] for _ in platforms}
|
||||
|
||||
if os.environ.get("LINUX_ARM_RUNNER", "0") == "0":
|
||||
TEST_SALT_LISTING["linux"] = list(
|
||||
|
|
Loading…
Add table
Reference in a new issue