-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relates #133 Signed-off-by: Gabriele Bartolini <[email protected]>
- Loading branch information
1 parent
1a93a00
commit 235835c
Showing
43 changed files
with
8 additions
and
6,243 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
branches: | ||
- main | ||
paths-ignore: | ||
- Debian/ClusterImageCatalog*.yaml | ||
- SYSTEM_IMAGES/Debian/ClusterImageCatalog*.yaml | ||
workflow_dispatch: | ||
|
||
env: | ||
|
@@ -194,10 +194,10 @@ jobs: | |
|
||
- name: Update ClusterImageCatalog | ||
run: | | ||
yq eval-all '. as $item ireduce ({}; . *+ $item )' clusterimagecatalog/*-bullseye.yaml > Debian/ClusterImageCatalog-bullseye.yaml | ||
yq eval-all '. as $item ireduce ({}; . *+ $item )' clusterimagecatalog/*-bookworm.yaml > Debian/ClusterImageCatalog-bookworm.yaml | ||
ln -f -s ClusterImageCatalog-${DEFAULT_DISTRO}.yaml Debian/ClusterImageCatalog.yaml | ||
cat Debian/ClusterImageCatalog.yaml Debian/ClusterImageCatalog-bullseye.yaml Debian/ClusterImageCatalog-bookworm.yaml | ||
yq eval-all '. as $item ireduce ({}; . *+ $item )' clusterimagecatalog/*-bullseye.yaml > SYSTEM_IMAGES/Debian/ClusterImageCatalog-bullseye.yaml | ||
yq eval-all '. as $item ireduce ({}; . *+ $item )' clusterimagecatalog/*-bookworm.yaml > SYSTEM_IMAGES/Debian/ClusterImageCatalog-bookworm.yaml | ||
ln -f -s ClusterImageCatalog-${DEFAULT_DISTRO}.yaml SYSTEM_IMAGES/Debian/ClusterImageCatalog.yaml | ||
cat Debian/ClusterImageCatalog.yaml Debian/ClusterImageCatalog-bullseye.yaml SYSTEM_IMAGES/Debian/ClusterImageCatalog-bookworm.yaml | ||
|
||
- name: Temporarily disable "include administrators" branch protection | ||
if: ${{ always() && github.ref == 'refs/heads/main' }} | ||
|
@@ -215,7 +215,7 @@ jobs: | |
author_name: CloudNativePG Automated Updates | ||
author_email: [email protected] | ||
message: 'Automatic ClusterImageCatalog update' | ||
add: 'Debian/ClusterImageCatalog*.yaml' | ||
add: 'SYSTEM_IMAGES/Debian/ClusterImageCatalog*.yaml' | ||
|
||
- name: Enable "include administrators" branch protection | ||
uses: benjefferies/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.