Skip to content

Commit

Permalink
Milestones are no longer composite repositories
Browse files Browse the repository at this point in the history
see https://wiki.eclipse.org/Planning_Council/2022-06-01

Change-Id: I378267eeeb2afbcb01e7a4c1e1c9387253d03f82
  • Loading branch information
jonahgraham committed Aug 4, 2022
1 parent 192e40a commit efb8b8e
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions releng/org.eclipse.epp.config/tools/promote-a-build.sh
Expand Up @@ -81,14 +81,7 @@ $ECHO $SCP release.xml "${SSHUSER}:"${EPP_DOWNLOADS}/downloads/release/release.x
# ----------------------------------------------------------------------------------------------
# Prepare compositeArtifacts.xml/compositeContent.xml that will be made visible with https://ci.eclipse.org/packaging/job/epp-makeVisible/

if [ "$RELEASE_MILESTONE" == "R" ]; then
UPDATE_SITES=${RELEASE_DIR}
else
UPDATE_SITES=$($SSH "cd ${REPO} && find * -maxdepth 0 -type d | sort -u")
fi

TIMESTAMP=$(date +%s000)
NUMBER_UPDATE_SITES=$(echo "$UPDATE_SITES" | wc -w)

CONTENTXML="<?xml version='1.0' encoding='UTF-8'?>
<?compositeMetadataRepository version='1.0.0'?>
Expand All @@ -98,13 +91,8 @@ CONTENTXML="<?xml version='1.0' encoding='UTF-8'?>
<properties size='1'>
<property name='p2.timestamp' value='${TIMESTAMP}'/>
</properties>
<children size='${NUMBER_UPDATE_SITES}'>
$(
for site in $UPDATE_SITES
do
printf " <child location='${site}'/>\n"
done
)
<children size='1'>
<child location='${RELEASE_DIR}'/>
</children>
</repository>
"
Expand All @@ -120,13 +108,8 @@ ARTIFACTXML="<?xml version='1.0' encoding='UTF-8'?>
<properties size='1'>
<property name='p2.timestamp' value='${TIMESTAMP}'/>
</properties>
<children size='${NUMBER_UPDATE_SITES}'>
$(
for site in $UPDATE_SITES
do
printf " <child location='${site}'/>\n"
done
)
<children size='1'>
<child location='${RELEASE_DIR}'/>
</children>
</repository>
"
Expand Down

0 comments on commit efb8b8e

Please sign in to comment.