Skip to content

Commit

Permalink
Run on fewer container versions
Browse files Browse the repository at this point in the history
This will make CI faster and still provide sufficient coverage of relevant versions. We now only run on the major.minor container tags (latest maint release) and latest-preview. This skips over a bunch we were trying before that had expired community edition licenses.

This change partially addresses #451 but doesn't provide the entire solution.
  • Loading branch information
isc-tleavitt committed Apr 12, 2024
1 parent f2fea39 commit e9d6e93
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:

env:
name: |
irishealth-community
iris-community
irishealth-community
jobs:
images:
Expand All @@ -26,8 +26,16 @@ jobs:
run: |
images=""
for n in $name; do
tags=$(curl -su ":" https://containers.intersystems.com/v2/intersystems/${n}/tags/list | jq -r '.tags[]' | awk '!/(-linux)|([1-4]-preview)/' | awk '!/\.[1-4]\.0\./' | uniq)
for tag in $tags; do images+='"'${n}:${tag}'",'; done
tags=$(curl -su ":" https://containers.intersystems.com/v2/intersystems/${n}/tags/list | jq -r '.tags[]' | awk '!/(-linux)|([1-4]-preview)|(-em)|(-cd)/' | awk '!/\.[1-4]\./' | uniq)
for tag in $tags
do
# Skip irishealth-community due to bad interaction with ZPM document type
if test "$n" = "irishealth-community" && test "$tag" = "2023.3"
then
continue
fi
images+='"'${n}:${tag}'",';
done
done;
echo images="[${images%?}]" >> $GITHUB_OUTPUT
echo main=${images%%,*} >> $GITHUB_OUTPUT

0 comments on commit e9d6e93

Please sign in to comment.