Skip to content

Commit

Permalink
OSD-4792 Fix Catalog img build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rogbas committed Aug 11, 2020
1 parent 5357724 commit f38db25
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hack/app_sre_create_image_catalog.sh
Expand Up @@ -23,10 +23,9 @@ git clone \
REMOVED_VERSIONS=""
if [[ "$REMOVE_UNDEPLOYED" == true ]]; then
DEPLOYED_HASH=$(
curl -s 'https://gitlab.cee.redhat.com/service/saas-osd-operators/raw/master/gcp-project-operator-services/gcp-project-operator.yaml' | \
docker run --rm -i evns/yq -r '.services[]|select(.name="gcp-project-operator").hash'
curl -s "https://gitlab.cee.redhat.com/service/app-interface/raw/master/data/services/osd-operators/cicd/saas/saas-gcp-project-operator.yaml" | \
docker run --rm -i evns/yq -r '.resourceTemplates[]|select(.name="gcp-project-operator").targets[]|select(.namespace["$ref"]=="/services/osd-operators/namespaces/gcp-project-operator-production.yml")|.ref'
)

delete=false
# Sort based on commit number
for version in $(ls $BUNDLE_DIR | sort -t . -k 3 -g); do
Expand Down

0 comments on commit f38db25

Please sign in to comment.