Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
a8ba600
Create update.sh (investigating GitHub Actions)
wraschke Oct 25, 2023
978d887
Yay more updates to update.sh
wraschke Oct 25, 2023
11267ba
Update update.sh
wraschke Oct 25, 2023
880f8e1
Update update.sh
wraschke Oct 25, 2023
436908e
Update update.sh
wraschke Oct 25, 2023
ca29f1c
Update update.sh
wraschke Oct 25, 2023
c3972af
Update update.sh
wraschke Oct 25, 2023
4f69e48
Glob corrections
wraschke Oct 25, 2023
d1be9ac
Update update.sh
wraschke Oct 25, 2023
e473865
for loop syntax error
wraschke Oct 25, 2023
d7b6aed
Add timestamp debug, cleanup
wraschke Oct 25, 2023
1f0eb8c
Remove cluttery debug
wraschke Oct 25, 2023
544a189
Create vNext.properties
wraschke Oct 26, 2023
f071b7a
Use properties file
wraschke Oct 26, 2023
dff8766
Update vNext.properties
wraschke Oct 26, 2023
ea2b5ee
Create updateFilesForRelease.yml
wraschke Oct 26, 2023
3dc8ce6
Update vNext.properties
wraschke Oct 26, 2023
1ad532e
Update update.sh
wraschke Oct 26, 2023
b0cef77
Update vNext.properties
wraschke Oct 26, 2023
926f961
Update vNext.properties
wraschke Oct 26, 2023
8b815b1
Update update.sh
wraschke Oct 26, 2023
1962cad
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
bf1b68d
Update vNext.properties
wraschke Oct 26, 2023
33c679e
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
6223205
Update update.sh
wraschke Oct 26, 2023
697343e
Update vNext.properties
wraschke Oct 26, 2023
ca1f6dd
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
ca14668
Update vNext.properties
wraschke Oct 26, 2023
cd1765e
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
4432a08
Update vNext.properties
wraschke Oct 26, 2023
0c2aaba
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
ebd9db8
Update vNext.properties
wraschke Oct 26, 2023
085fbe2
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
47d6e8a
Update vNext.properties
wraschke Oct 26, 2023
8e104c3
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
81ad889
Update vNext.properties
wraschke Oct 26, 2023
a6faee4
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
8c20686
Update vNext.properties
wraschke Oct 26, 2023
d8d95bc
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
3fb7428
Update vNext.properties
wraschke Oct 26, 2023
3e694d6
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
ffa5afc
Update vNext.properties
wraschke Oct 26, 2023
4642bdb
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
ca4cbf6
Update vNext.properties
wraschke Oct 26, 2023
85c99b1
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
be718d0
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
776bf21
Update vNext.properties
wraschke Oct 26, 2023
ca5166e
Update updateFilesForRelease.yml
wraschke Oct 26, 2023
2f2a2c6
Update vNext.properties
wraschke Oct 26, 2023
4bbe313
Update update.sh
wraschke Oct 26, 2023
f047d02
Update vNext.properties
wraschke Oct 26, 2023
889e5f7
Update update.sh
wraschke Oct 26, 2023
1787299
Update vNext.properties
wraschke Oct 26, 2023
f49d645
Update update.sh
wraschke Oct 26, 2023
ca940d3
Update vNext.properties
wraschke Oct 26, 2023
9530709
Update update.sh
wraschke Oct 26, 2023
9015c13
Update vNext.properties
wraschke Oct 26, 2023
9c922fd
Update update.sh
wraschke Oct 26, 2023
53905e8
Update vNext.properties
wraschke Oct 26, 2023
efc3501
Update update.sh
wraschke Oct 26, 2023
78d0c85
Update vNext.properties
wraschke Oct 26, 2023
2a70dab
Update vNext.properties
wraschke Oct 26, 2023
43382b2
Update update.sh
wraschke Oct 26, 2023
64f89d8
Update vNext.properties
wraschke Oct 26, 2023
fe61d06
Update vNext.properties
wraschke Oct 26, 2023
f1fa06a
Create manual.yml
wraschke Oct 26, 2023
b387fed
Update manual.yml
wraschke Oct 26, 2023
0ef87f4
Update manual.yml
wraschke Oct 26, 2023
d2190d3
Update manual.yml
wraschke Oct 26, 2023
3d8945e
Update updateFilesForRelease.yml
wraschke Oct 27, 2023
73ebc15
Update update.sh
wraschke Oct 27, 2023
0119820
Update updateFilesForRelease.yml
wraschke Oct 27, 2023
82e244f
Update updateFilesForRelease.yml
wraschke Oct 27, 2023
8acce2c
Update update.sh
wraschke Oct 27, 2023
573fc47
Update updateFilesForRelease.yml
wraschke Oct 27, 2023
d9797ba
Remove script to confirm theory
wraschke Oct 27, 2023
477a44b
Restore update.sh script to vNext
wraschke Oct 27, 2023
d8eb5a1
Merge branch 'vNext' of github.com:wraschke/ci.docker into vNext
wraschke Oct 27, 2023
663af59
Workflow file not needed in branch checked out on runner
wraschke Oct 27, 2023
05b2631
Rename script and put in subdir
wraschke Oct 31, 2023
8bdf67d
Restore location structure of script
wraschke Oct 31, 2023
373d9bb
Update create-new-release.sh
wraschke Oct 31, 2023
a887351
Update create-new-release.sh
wraschke Oct 31, 2023
aa7d52b
Updates for the release of 23.0.0.12
github-actions[bot] Oct 31, 2023
3db302b
Remove 23.0.0.6 from versions to build
wraschke Nov 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ services:
before_install:
- sudo apt-get update
env:
- RELEASE=../ga/23.0.0.6
- RELEASE=../ga/23.0.0.9
- RELEASE=../ga/23.0.0.11
- RELEASE=../ga/23.0.0.12
- RELEASE=../ga/latest

script:
Expand Down
75 changes: 75 additions & 0 deletions create-new-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
#!/bin/bash

echo "Hello from the create-new-release.sh script!"
echo $(date)

# Set variables to the positional parameters
OLD_VERSION=$1
NEW_VERSION=$2
BUILD_LABEL=$3

# See if NEW_VERSION and OLD_VERSION fit expected pattern.
if [[ $OLD_VERSION =~ 2[3-9]\.0\.0\.[0-9]+ && $NEW_VERSION =~ 2[3-9]\.0\.0\.[0-9]+ ]];
then
echo "$OLD_VERSION and $NEW_VERSION matches expected version format."
else
echo "Either $OLD_VERSION or $NEW_VERSION does not fit expected version format."
exit 1;
fi

# Get last digit of old version
OLD_SHORT_VERSION=${OLD_VERSION:7}

echo "OLD_VERSION = $OLD_VERSION"
echo "NEW_VERSION = $NEW_VERSION"
echo "BUILD_LABEL = $BUILD_LABEL"
echo "OLD_SHORT_VERSION = $OLD_SHORT_VERSION"

echo "Copying latest files to $NEW_VERSION"
cp -r ./ga/latest ./ga/$NEW_VERSION

# Perform the substitutions in both latest and $NEW_VERSION directories.
for file in $(find ./ga/latest ./ga/$NEW_VERSION -name Dockerfile.*); do
echo "Processing $file";

sed -i'.bak' -e "s/$OLD_VERSION/$NEW_VERSION/" $file;
sed -i'.bak' -e "s/ARG LIBERTY_BUILD_LABEL=.*/ARG LIBERTY_BUILD_LABEL=$BUILD_LABEL/g" $file;

# Do these substitutions only in $NEW_VERSION, not latest.
if [[ "$file" == "./ga/$NEW_VERSION/"* ]];
then
sed -i'.bak' -e "s/ARG PARENT_IMAGE=icr.io\/appcafe\/websphere-liberty:kernel/ARG PARENT_IMAGE=icr.io\/appcafe\/websphere-liberty:$NEW_VERSION-kernel/g" $file;
sed -i'.bak' -e "s/FROM websphere-liberty:kernel/FROM websphere-liberty:$NEW_VERSION-kernel/g" $file;
fi

# Clean up temp files
rm $file.bak

done

# Update the .travis.yml file.
if test -f ./.travis.yml; then
echo ".travis.yml exists."
fi
sed -i'.bak' -e "s/RELEASE=\.\.\/ga\/$OLD_VERSION/RELEASE=\.\.\/ga\/$NEW_VERSION/" ./.travis.yml;
rm ./.travis.yml.bak;

# Update the images.txt file
cp ./ga/$OLD_VERSION/images.txt ./ga/$NEW_VERSION/images.txt;
sed -i'.bak' -e "s/$OLD_VERSION/$NEW_VERSION/g" ./ga/$NEW_VERSION/images.txt;
rm ./ga/$NEW_VERSION/images.txt.bak;

if [[ $(( $OLD_SHORT_VERSION % 3 )) -eq 0 ]]
then
:
else
rm -rf ./ga/$OLD_VERSION
fi

# Finally, comment out "ga/*/*/resources/*" in .gitignore so
# newly created $NEW_VERSION/full/resources and $NEW_VERSION/kernel/resources
# directories can be committed and pushed.
sed -i'.bak' -e "s/ga\/\*\/\*\/resources\/\*/#ga\/\*\/\*\/resources\/\*/g" .gitignore
rm ./.gitignore.bak

echo "Done performing file updates.";
38 changes: 0 additions & 38 deletions ga/23.0.0.11/full/Dockerfile.ubuntu.ibmjava8

This file was deleted.

38 changes: 0 additions & 38 deletions ga/23.0.0.11/full/Dockerfile.ubuntu.openjdk11

This file was deleted.

18 changes: 0 additions & 18 deletions ga/23.0.0.11/images.txt

This file was deleted.

32 changes: 0 additions & 32 deletions ga/23.0.0.11/oidcProvider/Dockerfile.java11

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java8-ibmjava-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java8-ibmjava-ubi
FROM $PARENT_IMAGE AS installBundle

ARG VERBOSE=false
Expand All @@ -36,7 +36,7 @@ RUN set -eux; \
rm -rf /output/workarea /output/logs; \
find /opt/ibm/wlp ! -perm -g=rw -print0 | xargs -r -0 chmod g+rw;

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java8-ibmjava-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java8-ibmjava-ubi
FROM $PARENT_IMAGE
ARG VERBOSE=false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java11-openj9-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java11-openj9-ubi
FROM $PARENT_IMAGE AS installBundle

ARG VERBOSE=false
Expand All @@ -36,7 +36,7 @@ RUN set -eux; \
rm -rf /output/workarea /output/logs; \
find /opt/ibm/wlp ! -perm -g=rw -print0 | xargs -r -0 chmod g+rw;

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java11-openj9-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java11-openj9-ubi
FROM $PARENT_IMAGE
ARG VERBOSE=false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java17-openj9-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java17-openj9-ubi
FROM $PARENT_IMAGE AS installBundle

ARG VERBOSE=false
Expand All @@ -36,7 +36,7 @@ RUN set -eux; \
rm -rf /output/workarea /output/logs; \
find /opt/ibm/wlp ! -perm -g=rw -print0 | xargs -r -0 chmod g+rw;

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java17-openj9-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java17-openj9-ubi
FROM $PARENT_IMAGE
ARG VERBOSE=false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java8-openj9-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java8-openj9-ubi
FROM $PARENT_IMAGE AS installBundle

ARG VERBOSE=false
Expand All @@ -36,7 +36,7 @@ RUN set -eux; \
rm -rf /output/workarea /output/logs; \
find /opt/ibm/wlp ! -perm -g=rw -print0 | xargs -r -0 chmod g+rw;

ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.11-kernel-java8-openj9-ubi
ARG PARENT_IMAGE=icr.io/appcafe/websphere-liberty:23.0.0.12-kernel-java8-openj9-ubi
FROM $PARENT_IMAGE
ARG VERBOSE=false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM websphere-liberty:23.0.0.6-kernel-java8-ibmjava
FROM websphere-liberty:23.0.0.12-kernel-java8-ibmjava

ARG VERBOSE=false
ARG REPOSITORIES_PROPERTIES=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM websphere-liberty:23.0.0.6-kernel-java11-openj9
FROM websphere-liberty:23.0.0.12-kernel-java11-openj9

ARG VERBOSE=false
ARG REPOSITORIES_PROPERTIES=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM websphere-liberty:23.0.0.11-kernel-java17-openj9
FROM websphere-liberty:23.0.0.12-kernel-java17-openj9

ARG VERBOSE=false
ARG REPOSITORIES_PROPERTIES=""
Expand Down
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions ga/23.0.0.12/images.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
websphere-liberty:23.0.0.12-kernel ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubuntu.ibmjava8
websphere-liberty:23.0.0.12-kernel-java11-openj9 ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubuntu.openjdk11
websphere-liberty:23.0.0.12-kernel-java17-openj9 ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubuntu.openjdk17
websphere-liberty:23.0.0.12-kernel-java8-ibmjava-ubi ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubi.ibmjava8
websphere-liberty:23.0.0.12-kernel-java8-openj9-ubi ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubi.openjdk8
websphere-liberty:23.0.0.12-kernel-java11-openj9-ubi ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubi.openjdk11
websphere-liberty:23.0.0.12-kernel-java17-openj9-ubi ../ga/23.0.0.12/kernel ../ga/23.0.0.12/kernel/Dockerfile.ubi.openjdk17
websphere-liberty:23.0.0.12-full ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubuntu.ibmjava8
websphere-liberty:23.0.0.12-full-java11-openj9 ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubuntu.openjdk11
websphere-liberty:23.0.0.12-full-java17-openj9 ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubuntu.openjdk17
websphere-liberty:23.0.0.12-full-java8-ibmjava-ubi ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubi.ibmjava8
websphere-liberty:23.0.0.12-full-java8-openj9-ubi ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubi.openjdk8
websphere-liberty:23.0.0.12-full-java11-openj9-ubi ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubi.openjdk11
websphere-liberty:23.0.0.12-full-java17-openj9-ubi ../ga/23.0.0.12/full ../ga/23.0.0.12/full/Dockerfile.ubi.openjdk17
websphere-liberty:beta ../beta
websphere-liberty:test-stock-quote test-stock-quote
websphere-liberty:test-stock-trader test-stock-trader
websphere-liberty:test-pet-clinic test-pet-clinic
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ USER root
ARG VERBOSE=false

# Install WebSphere Liberty
ARG LIBERTY_VERSION=23.0.0.11
ARG LIBERTY_VERSION=23.0.0.12
ARG LIBERTY_URL
ARG DOWNLOAD_OPTIONS=""

Expand All @@ -45,8 +45,8 @@ USER root
ARG VERBOSE=false
ARG OPENJ9_SCC=true

ARG LIBERTY_VERSION=23.0.0.11
ARG LIBERTY_BUILD_LABEL=cl231120231014-2002
ARG LIBERTY_VERSION=23.0.0.12
ARG LIBERTY_BUILD_LABEL=replace_with_gm_driver_label

LABEL org.opencontainers.image.authors="Leo Christy Jesuraj, Thomas Watson, Wendy Raschke, Michal Broz" \
org.opencontainers.image.vendor="IBM" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ USER root
ARG VERBOSE=false

# Install WebSphere Liberty
ARG LIBERTY_VERSION=23.0.0.11
ARG LIBERTY_VERSION=23.0.0.12
ARG LIBERTY_URL
ARG DOWNLOAD_OPTIONS=""

Expand All @@ -45,8 +45,8 @@ USER root
ARG VERBOSE=false
ARG OPENJ9_SCC=true

ARG LIBERTY_VERSION=23.0.0.11
ARG LIBERTY_BUILD_LABEL=cl231120231014-2002
ARG LIBERTY_VERSION=23.0.0.12
ARG LIBERTY_BUILD_LABEL=replace_with_gm_driver_label

LABEL org.opencontainers.image.authors="Leo Christy Jesuraj, Thomas Watson, Wendy Raschke, Michal Broz" \
org.opencontainers.image.vendor="IBM" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ USER root
ARG VERBOSE=false

# Install WebSphere Liberty
ARG LIBERTY_VERSION=23.0.0.11
ARG LIBERTY_VERSION=23.0.0.12
ARG LIBERTY_URL
ARG DOWNLOAD_OPTIONS=""

Expand All @@ -45,8 +45,8 @@ USER root
ARG VERBOSE=false
ARG OPENJ9_SCC=true

ARG LIBERTY_VERSION=23.0.0.11
ARG LIBERTY_BUILD_LABEL=cl231120231014-2002
ARG LIBERTY_VERSION=23.0.0.12
ARG LIBERTY_BUILD_LABEL=replace_with_gm_driver_label

LABEL org.opencontainers.image.authors="Leo Christy Jesuraj, Thomas Watson, Wendy Raschke, Michal Broz" \
org.opencontainers.image.vendor="IBM" \
Expand Down
Loading