Skip to content

Commit

Permalink
Skip pulp commands added.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxBed4d committed Feb 7, 2024
1 parent 2cec221 commit 451c245
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/container-promote-old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
description: Whether to promote images for Zed and newer
type: boolean
default: true
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true

env:
ANSIBLE_FORCE_COLOR: True
Expand Down Expand Up @@ -51,6 +55,7 @@ jobs:
-e kolla_base_distros_override="'$DISTROS'" \
-e sync_old_images="'$PROMOTE_OLD_IMAGES'" \
-e sync_new_images="'$PROMOTE_NEW_IMAGES'"
if: inputs.filter.skip_pulp == false
env:
TAG: ${{ github.event.inputs.tag }}
FILTER: ${{ github.event.inputs.filter }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/container-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
type: boolean
required: false
default: false
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true


env:
ANSIBLE_FORCE_COLOR: True
Expand Down Expand Up @@ -53,6 +58,7 @@ jobs:
-e kolla_container_image_filter="'$FILTER'" \
-e kayobe_config_repo_path=./stackhpc-kayobe-config/ \
$args
if: inputs.filter.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
CHECK_MODE: ${{ inputs.check_mode }}
6 changes: 6 additions & 0 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ on:
type: string
required: false
default: ""
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true


env:
ANSIBLE_FORCE_COLOR: True
Expand All @@ -43,6 +48,7 @@ jobs:
ansible/dev-pulp-container-publish.yml \
-e kolla_container_image_filter="'$FILTER'" \
-e kolla_base_distros_override="'$DISTROS'"
if: inputs.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
DISTROS: ${{ github.event.inputs.distros }}
7 changes: 7 additions & 0 deletions .github/workflows/container-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
description: Whether to sync images for Zed and newer
type: boolean
default: true
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true

env:
ANSIBLE_FORCE_COLOR: True
Expand Down Expand Up @@ -48,6 +52,7 @@ jobs:
-e kolla_base_distros_override="'$DISTROS'" \
-e sync_old_images="'$SYNC_OLD_IMAGES'" \
-e sync_new_images="'$SYNC_NEW_IMAGES'"
if: inputs.filter.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
DISTROS: ${{ github.event.inputs.distros }}
Expand All @@ -62,6 +67,7 @@ jobs:
-e kolla_base_distros_override="'$DISTROS'" \
-e sync_old_images="'$SYNC_OLD_IMAGES'" \
-e sync_new_images="'$SYNC_NEW_IMAGES'"
if: inputs.filter.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
DISTROS: ${{ github.event.inputs.distros }}
Expand All @@ -76,6 +82,7 @@ jobs:
-e kolla_base_distros_override="'$DISTROS'" \
-e sync_old_images="'$SYNC_OLD_IMAGES'" \
-e sync_new_images="'$SYNC_NEW_IMAGES'"
if: inputs.filter.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
DISTROS: ${{ github.event.inputs.distros }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/package-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
type: boolean
required: false
default: false
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true

env:
ANSIBLE_FORCE_COLOR: True
Expand Down Expand Up @@ -55,6 +59,7 @@ jobs:
-e rpm_package_repo_filter="'$FILTER'" \
-e kayobe_config_repo_path=./stackhpc-kayobe-config/ \
$args
if: inputs.filter.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
CHECK_MODE: ${{ inputs.check_mode }}
2 changes: 1 addition & 1 deletion .github/workflows/package-sync-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
uses: stackhpc/stackhpc-release-train/.github/workflows/package-sync.yml@main
with:
sync_ark: True
sync_test: True
sync_test: False
filter: ${{ matrix.filter }}
secrets: inherit
8 changes: 7 additions & 1 deletion .github/workflows/package-sync-version-test-pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
repo_version:
description: A repository version string maching repository versions to sync from Ark to Test Pulp
description: A repository version string matching repository versions to sync from Ark to Test Pulp
type: string
required: false
default: ""
Expand All @@ -13,6 +13,11 @@ on:
type: string
required: false
default: ""
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true


env:
ANSIBLE_FORCE_COLOR: True
Expand Down Expand Up @@ -42,6 +47,7 @@ jobs:
-e test_pulp_sync_repo_version="'$REPO_VERSION'" \
-e deb_package_repo_filter="'$FILTER'" \
-e rpm_package_repo_filter="'$FILTER'"
if: inputs.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}
REPO_VERSION: ${{ github.event.inputs.repo_version }}
9 changes: 8 additions & 1 deletion .github/workflows/package-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ on:
sync_test:
required: false
description: Sync package repositories in Test Pulp
default: true
default: false
type: boolean
filter:
description: Space-separated list of regular expressions matching short_name of repositories to sync
type: string
required: false
default: ""
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true

env:
ANSIBLE_FORCE_COLOR: True
ANSIBLE_VAULT_PASSWORD_FILE: ${{ github.workspace }}/vault-pass
Expand Down Expand Up @@ -59,6 +64,7 @@ jobs:
ansible/dev-pulp-repo-publish.yml \
-e deb_package_repo_filter="'$FILTER'" \
-e rpm_package_repo_filter="'$FILTER'"
if: inputs.skip_pulp == false
env:
FILTER: ${{ inputs.filter }}

Expand Down Expand Up @@ -86,5 +92,6 @@ jobs:
ansible/test-pulp-repo-publish.yml \
-e deb_package_repo_filter="'$FILTER'" \
-e rpm_package_repo_filter="'$FILTER'"
if: inputs.skip_pulp == false
env:
FILTER: ${{ inputs.filter }}
5 changes: 5 additions & 0 deletions .github/workflows/package-update-kayobe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
required: false
description: Branch of StackHPC Kayobe configuration to use
default: stackhpc/wallaby
skip_pulp:
description: Whether to skip pulp promotion
type: boolean
default: true

env:
ANSIBLE_FORCE_COLOR: True
Expand Down Expand Up @@ -45,6 +49,7 @@ jobs:
-e deb_package_repo_filter="'$FILTER'" \
-e rpm_package_repo_filter="'$FILTER'" \
-e kayobe_config_repo_path=./stackhpc-kayobe-config/
if: inputs.skip_pulp == false
env:
FILTER: ${{ github.event.inputs.filter }}

Expand Down

0 comments on commit 451c245

Please sign in to comment.