Skip to content

Commit

Permalink
Add skip with message to this job.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxBed4d committed Feb 7, 2024
1 parent 4fbbb48 commit 0314adf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/package-sync-version-test-pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ on:
required: false
default: ""


env:
ANSIBLE_FORCE_COLOR: True
ANSIBLE_VAULT_PASSWORD_FILE: ${{ github.workspace }}/vault-pass
skip_pulp: true


jobs:
package-sync-version-test:
Expand All @@ -25,12 +28,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
if: env.skip_pulp == false

- name: Setup Release Train & dependencies
uses: ./.github/actions/setup
with:
vault-password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}
vault-password-file: ${{ env.ANSIBLE_VAULT_PASSWORD_FILE }}
if: env.skip_pulp == false


- name: Sync and publish package repositories in test
run: |
Expand All @@ -42,6 +48,12 @@ jobs:
-e test_pulp_sync_repo_version="'$REPO_VERSION'" \
-e deb_package_repo_filter="'$FILTER'" \
-e rpm_package_repo_filter="'$FILTER'"
if: env.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
REPO_VERSION: ${{ github.event.inputs.repo_version }}

- name: Message if skipping Pulp
run: |
echo "PULP CURRENTLY NOT AVAILABLE -> -> -> Skipping Pulp Sync"
if: env.skip_pulp == true

0 comments on commit 0314adf

Please sign in to comment.