From 1b74fcd099c8e5f01571cc11f31bfea0809ea158 Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 5 Jun 2024 13:31:34 -0400 Subject: [PATCH] [GHA] Debug inclusion of JustJ into aggregate distro update sites --- .github/scripts/generate-composite-site-files.sh | 6 ++++-- .github/workflows/aggregate-distro-update-sites.yml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/scripts/generate-composite-site-files.sh b/.github/scripts/generate-composite-site-files.sh index b2faf1a1e..340ef7bb2 100755 --- a/.github/scripts/generate-composite-site-files.sh +++ b/.github/scripts/generate-composite-site-files.sh @@ -2,6 +2,8 @@ val=$1 url=$2 justj21=$3 +echo "Include JustJ bit: ${justj21}" + rm -f ./compositeArtifacts.xml rm -f ./compositeContent.xml rm -f ./p2.index @@ -13,7 +15,7 @@ echo " type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArt echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml -if [ "${jusstj21}" = true ] ; then +if [ "${justj21}" = true ] ; then echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml echo " " >> compositeArtifacts.xml @@ -32,7 +34,7 @@ echo " type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMet echo " " >> compositeContent.xml echo " " >> compositeContent.xml echo " " >> compositeContent.xml -if [ "${jusstj21}" = true ] ; then +if [ "${justj21}" = true ] ; then echo " " >> compositeContent.xml echo " " >> compositeContent.xml echo " " >> compositeContent.xml diff --git a/.github/workflows/aggregate-distro-update-sites.yml b/.github/workflows/aggregate-distro-update-sites.yml index cf4c19370..f34a8bd69 100644 --- a/.github/workflows/aggregate-distro-update-sites.yml +++ b/.github/workflows/aggregate-distro-update-sites.yml @@ -44,6 +44,7 @@ jobs: run: | echo "Akamai S3 Aggregate Update Sites Creation..." dirs=`aws s3 ls s3://tools-spring-io/release/TOOLS/sts4/update/${{ inputs.version }}/` + echo "${dirs}" pattern='^e[0-9]+.[0-9]+/$' invalid_urls="" for dir in $dirs