mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Drop the cache-suffix
from the setup-python-tools-scripts
action
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
3ce935eb21
commit
234693b4aa
9 changed files with 19 additions and 40 deletions
|
@ -7,10 +7,6 @@ inputs:
|
|||
required: true
|
||||
type: string
|
||||
description: Seed used to invalidate caches
|
||||
cache-suffix:
|
||||
required: false
|
||||
type: string
|
||||
description: Seed used to invalidate caches
|
||||
cwd:
|
||||
type: string
|
||||
description: The directory the salt checkout is located in
|
||||
|
@ -42,8 +38,8 @@ runs:
|
|||
shell: bash
|
||||
run: |
|
||||
VENV_NAME_HASH=$(echo "${{ inputs.cache-prefix }}|${{ github.workflow }}|${{
|
||||
steps.get-python-version.outputs.version-sha256sum }}|${{ hashFiles('requirements/**/*.txt', 'tools/**/*.py') }}${{
|
||||
inputs.cache-suffix || '' }}" | sha256sum | cut -d ' ' -f 1)
|
||||
steps.get-python-version.outputs.version-sha256sum }}|${{
|
||||
hashFiles('requirements/**/*.txt', 'tools/**/*.py') }}" | sha256sum | cut -d ' ' -f 1)
|
||||
echo "TOOLS_VIRTUALENV_CACHE_SEED=$VENV_NAME_HASH" | tee -a "${GITHUB_ENV}"
|
||||
echo "venv-hash=$VENV_NAME_HASH" | tee -a "${GITHUB_OUTPUT}"
|
||||
|
||||
|
|
|
@ -62,8 +62,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ inputs.cache-seed }}
|
||||
cache-suffix: build-deps-linux-${{ matrix.arch }}
|
||||
cache-prefix: ${{ inputs.cache-seed }}-build-deps-linux-${{ matrix.arch }}
|
||||
|
||||
- name: Setup Relenv
|
||||
id: setup-relenv
|
||||
|
|
|
@ -64,8 +64,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ inputs.cache-seed }}
|
||||
cache-suffix: build-deps-macos
|
||||
cache-prefix: ${{ inputs.cache-seed }}-build-deps-macos
|
||||
|
||||
- name: Setup Relenv
|
||||
id: setup-relenv
|
||||
|
|
|
@ -65,8 +65,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ inputs.cache-seed }}
|
||||
cache-suffix: build-deps-windows-${{ matrix.arch }}
|
||||
cache-prefix: ${{ inputs.cache-seed }}-build-deps-windows-${{ matrix.arch }}
|
||||
|
||||
- name: Setup Relenv
|
||||
id: setup-relenv
|
||||
|
|
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -279,8 +279,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: changelog
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -400,8 +399,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: build
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -2741,8 +2739,7 @@ jobs:
|
|||
id: python-tools-scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: coverage
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage
|
||||
|
||||
- name: Install Nox
|
||||
run: |
|
||||
|
|
9
.github/workflows/nightly.yml
vendored
9
.github/workflows/nightly.yml
vendored
|
@ -323,8 +323,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: changelog
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -449,8 +448,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: build
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -2802,8 +2800,7 @@ jobs:
|
|||
id: python-tools-scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: coverage
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage
|
||||
|
||||
- name: Install Nox
|
||||
run: |
|
||||
|
|
9
.github/workflows/scheduled.yml
vendored
9
.github/workflows/scheduled.yml
vendored
|
@ -313,8 +313,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: changelog
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -434,8 +433,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: build
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -2775,8 +2773,7 @@ jobs:
|
|||
id: python-tools-scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: coverage
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage
|
||||
|
||||
- name: Install Nox
|
||||
run: |
|
||||
|
|
6
.github/workflows/staging.yml
vendored
6
.github/workflows/staging.yml
vendored
|
@ -317,8 +317,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: changelog
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -439,8 +438,7 @@ jobs:
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: build
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
|
9
.github/workflows/templates/ci.yml.jinja
vendored
9
.github/workflows/templates/ci.yml.jinja
vendored
|
@ -71,8 +71,7 @@
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: changelog
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-changelog
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -218,8 +217,7 @@
|
|||
- name: Setup Python Tools Scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: build
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-build
|
||||
|
||||
- name: Setup Salt Version
|
||||
id: setup-salt-version
|
||||
|
@ -330,8 +328,7 @@
|
|||
id: python-tools-scripts
|
||||
uses: ./.github/actions/setup-python-tools-scripts
|
||||
with:
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||
cache-suffix: coverage
|
||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}-coverage
|
||||
|
||||
- name: Install Nox
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue