Skip to content

Commit 4f07095

Browse files
nickboldtrhdh-bot
andauthored
chore: remove the DPDY file and only update it in 1.9 branch as we don't need it (?) in 1.10/main (RHIDP-9863) (#4488)
Signed-off-by: rhdh-bot service account <rhdh-bot@redhat.com> Co-authored-by: rhdh-bot service account <rhdh-bot@redhat.com>
1 parent e979b52 commit 4f07095

2 files changed

Lines changed: 7 additions & 1791 deletions

File tree

.github/workflows/update-dynamic-plugins-default.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ on:
2323

2424
push:
2525
branches:
26-
- 'main'
27-
- 'release-**'
26+
# RHIDP-9862 disable updating the DPDY file in main; only update for 1.9 branch
27+
# - 'main'
28+
- 'release-1.9'
2829

2930
concurrency:
3031
group: ${{ github.workflow }}-${{ github.ref }}
@@ -45,15 +46,15 @@ jobs:
4546
local IMAGE="$1"
4647
DIR="/tmp/${IMAGE//:/_}"
4748
rm -fr "$DIR"; mkdir -p "$DIR"
48-
# set -x
49+
# set -x
4950
skopeo copy "docker://quay.io/rhdh/${IMAGE}" "oci:/tmp/oci-${IMAGE//:/_}" || \
5051
{ echo "::error::Container image quay.io/rhdh/${IMAGE} not found - nothing to do!"; exit 0; }
5152
# Extract all layers
5253
for blob in /tmp/oci-${IMAGE//:/_}/blobs/sha256/*; do
5354
tar -xf "$blob" -C "$DIR/" 2>/dev/null || true
5455
done
5556
rm -rf "/tmp/oci-${IMAGE//:/_}"
56-
# set +x
57+
# set +x
5758
echo "Unpacked $IMAGE into $DIR"
5859
5960
# replace local dynamic-plugins.default.yaml file with latest from the index container image, and add a deprecation warning
@@ -93,11 +94,11 @@ jobs:
9394
This PR contains generated updates to *dynamic-plugins.default.yaml* from *quay.io/rhdh/plugin-catalog-index:${{ env.TAG }}*
9495
9596
NOTE:
96-
97+
9798
File dynamic-plugins.default.yaml is now generated from default.package.yaml (in this repo)
9899
and default configuration located in the overlays repo under workspaces/*/metadata/*.yaml
99100
See https://github.com/redhat-developer/rhdh-plugin-export-overlays/
100-
101+
101102
To fetch + unpack the latest index image see
102103
https://github.com/redhat-developer/rhdh/blob/main/.github/workflows/update-dynamic-plugins-default.yaml#L44-L75
103104

0 commit comments

Comments
 (0)