Skip to content

Commit

Permalink
[GHA] Debug inclusion of JustJ into aggregate distro update sites
Browse files Browse the repository at this point in the history
  • Loading branch information
BoykoAlex committed Jun 5, 2024
1 parent 71ecbec commit 1b74fcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/scripts/generate-composite-site-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -13,7 +15,7 @@ echo " type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArt
echo " <properties size='1'>" >> compositeArtifacts.xml
echo " <property name='p2.timestamp' value='${val}'/>" >> compositeArtifacts.xml
echo " </properties>" >> compositeArtifacts.xml
if [ "${jusstj21}" = true ] ; then
if [ "${justj21}" = true ] ; then
echo " <children size='2'>" >> compositeArtifacts.xml
echo " <child location='${url}'/>" >> compositeArtifacts.xml
echo " <child location='https://download.eclipse.org/justj/jres/21/updates/release/latest/'/>" >> compositeArtifacts.xml
Expand All @@ -32,7 +34,7 @@ echo " type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMet
echo " <properties size='1'>" >> compositeContent.xml
echo " <property name='p2.timestamp' value='${val}'/>" >> compositeContent.xml
echo " </properties>" >> compositeContent.xml
if [ "${jusstj21}" = true ] ; then
if [ "${justj21}" = true ] ; then
echo " <children size='2'>" >> compositeContent.xml
echo " <child location='${url}'/>" >> compositeContent.xml
echo " <child location='https://download.eclipse.org/justj/jres/21/updates/release/latest/'/>" >> compositeContent.xml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/aggregate-distro-update-sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b74fcd

Please sign in to comment.