Skip to content

Commit 7e16de1

Browse files
authored
Merge pull request #556 from jmtd/3591-merge-back-jlink
OPENJDK-3591 merge back jlink
2 parents 06a2d7f + 3af343e commit 7e16de1

File tree

73 files changed

+279
-3778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+279
-3778
lines changed

.github/workflows/gendocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
./gendocs.sh
4242
4343
- name: Setup Pages
44-
uses: actions/configure-pages@v3
44+
uses: actions/configure-pages@v5
4545

4646
- name: Upload artifact
47-
uses: actions/upload-pages-artifact@v1
47+
uses: actions/upload-pages-artifact@v3
4848
with:
4949
path: 'docs'
5050

5151
- name: Deploy to GitHub Pages
5252
id: deployment
53-
uses: actions/deploy-pages@v2
53+
uses: actions/deploy-pages@v4

.github/workflows/image-workflow-template.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: docker pull registry.access.redhat.com/ubi9/ubi-minimal:latest
2424

2525
- name: Install CEKit
26-
uses: cekit/[email protected].5
26+
uses: cekit/[email protected].7
2727

2828
- name: Build
2929
run: |
@@ -45,18 +45,4 @@ jobs:
4545
- name: Behave Tests
4646
run: |
4747
echo /home/runner/work/_temp/openshift-bin >> $GITHUB_PATH
48-
cekit -v --descriptor ${{ inputs.image }}.yaml test --image localimage behave --steps-url https://github.com/jmtd/behave-test-steps
49-
50-
- if: github.event_name == 'push'
51-
name: Log in to the Container registry
52-
uses: docker/login-action@v2
53-
with:
54-
registry: ghcr.io
55-
username: ${{ github.actor }}
56-
password: ${{ secrets.GITHUB_TOKEN }}
57-
58-
- if: github.event_name == 'push'
59-
name: Tag and push container image
60-
run: |
61-
docker tag localimage ${{ env.IMAGE_URI }}
62-
docker push ${{ env.IMAGE_URI }}
48+
cekit -v --descriptor ${{ inputs.image }}.yaml test behave

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ link:https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI[UBI
1717
link:https://access.redhat.com/documentation/en-us/openjdk/17[Red Hat provide
1818
Product documentation for customers]. Tables of environment variables used for
1919
image configuration are published to
20-
<https://jboss-container-images.github.io/openjdk/>. These tables are automatically
20+
<https://rh-openjdk.github.io/redhat-openjdk-containers/>. These tables are automatically
2121
updated for every tagged release, and every commit to the development branches.
2222

2323
Older RHEL7 and RHEL8-based image sources are in the `rhel7` and `ubi8` branches respectively.
2424

2525
## How to build the images
2626

27-
You need to https://cekit.readthedocs.io/en/develop/installation.html[install Cekit] to build these images.
27+
You need to https://docs.cekit.io/en/latest/handbook/installation/index.html[install Cekit] to build these images.
2828

2929
These sources are prepared and tested for Cekit 4.1.1.
3030

docs/README.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Red Hat UBI OpenJDK container images
1+
= Red Hat UBI OpenJDK container images
2+
:toc: right
23

34
This is auto-generated documentation for the
45
link:https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image[Red
56
Hat Universal Base Image] (UBI) OpenJDK container images.
67

7-
* link:https://github.com/jboss-container-images/openjdk[container image source repository]
8+
* link:https://rh-openjdk.github.io/redhat-openjdk-containers/[container image source repository]
89
910
Container images are available from the
1011
link:https://catalog.redhat.com/software/containers/explore[Red Hat Ecosystem

gendocs.sh

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,16 @@ workdir="$(mktemp -td gendocs.XXXXXX)"
6767
cp ./gendocs.py "$workdir/gendocs.py"
6868
cp ./docs/README.adoc "$workdir/README.adoc"
6969

70-
# documentation for development branches
71-
addToIndex "\n== Development branches ==\n"
72-
for branch in ubi8 ubi9; do
73-
addToIndex "\n=== $branch ===\n"
74-
handleRef "$branch" "$branch"
75-
done
76-
77-
# documentation for tagged releases
78-
addToIndex "\n== Released images =="
79-
for tag in $(git tag -l 'ubi?-openjdk-containers*' | sort -r); do
80-
addToIndex "\n=== $tag ===\n"
81-
handleRef "$tag"
70+
for ubi in ubi9 ubi8; do
71+
UBI=${ubi^^}
72+
addToIndex "\n== $UBI\n"
73+
addToIndex "\n=== development\n"
74+
handleRef "$ubi"
75+
for tag in $(git tag -l "${ubi}-openjdk-containers*" | sort -r); do
76+
version=${tag/${ubi}-openjdk-containers-/}
77+
addToIndex "\n=== $version\n"
78+
handleRef "$tag"
79+
done
8280
done
8381

8482
asciidoctor "$workdir/README.adoc" -o docs/index.html

modules/jdk/11/module.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ packages:
3030
modules:
3131
install:
3232
- name: jboss.container.user
33+
- name: jboss.container.openjdk
3334

3435
execute:
3536
- script: configure.sh

modules/jdk/17/module.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ packages:
2929
modules:
3030
install:
3131
- name: jboss.container.user
32+
- name: jboss.container.openjdk
3233

3334
execute:
3435
- script: configure.sh

modules/jdk/21/module.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ packages:
3030
modules:
3131
install:
3232
- name: jboss.container.user
33+
- name: jboss.container.openjdk
3334

3435
execute:
3536
- script: configure.sh

modules/jdk/8/module.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ packages:
2929
modules:
3030
install:
3131
- name: jboss.container.user
32+
- name: jboss.container.openjdk
3233

3334
execute:
3435
- script: configure.sh

modules/jdk/module.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
schema_version: 1
2+
3+
name: "jboss.container.openjdk"
4+
description: "A dummy descriptor to couple tests with jdk modules"
5+
version: "0"

0 commit comments

Comments
 (0)