Skip to content

Commit 24bb77e

Browse files
Merged up to main
2 parents a063759 + aa0811d commit 24bb77e

File tree

13 files changed

+751
-249
lines changed

13 files changed

+751
-249
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ on: [pull_request, push, workflow_dispatch]
44
jobs:
55
build:
66
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@v2
7+
with:
8+
java_version: "21"
79
secrets: inherit

.github/workflows/release-docker-image.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,26 @@ on:
4545

4646
jobs:
4747
Image:
48-
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-java-to-docker-versioned.yaml@v2
48+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-java-to-docker-versioned.yaml@v3
4949
with:
5050
release_type: ${{ inputs.release_type }}
5151
vulnerability_severity: ${{ inputs.vulnerability_severity }}
52+
java_version: 21
5253
secrets: inherit
5354

5455
e2e-test:
5556
name: E2E Test
56-
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-run-e2e-tests.yaml@v2
57+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-run-e2e-tests.yaml@v3
5758
needs: Image
5859
with:
5960
operator_type: public
6061
operator_image_version: ${{ inputs.operator_image_version }}
6162
core_image_version: ${{ needs.image.outputs.image_tag }}
6263
optout_image_version: ${{ inputs.optout_image_version }}
6364
e2e_image_version: ${{ inputs.e2e_image_version }}
64-
core_branch: ${{ github.ref_name }}
65-
optout_branch: ${{ inputs.optout_branch }}
66-
admin_branch: ${{ inputs.admin_branch }}
65+
branch_core: ${{ github.ref_name }}
66+
branch_optout: ${{ inputs.optout_branch }}
67+
branch_admin: ${{ inputs.admin_branch }}
6768
operator_branch: ${{ inputs.operator_branch }}
6869
secrets: inherit
6970

.github/workflows/validate-image.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ jobs:
2323
with:
2424
failure_severity: ${{ inputs.failure_severity || 'CRITICAL,HIGH' }}
2525
fail_on_error: ${{ inputs.fail_on_error || true }}
26+
java_version: "21"
2627
secrets: inherit

.idea/runConfigurations/uid2-core_integrated.xml

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/uid2-core_standalone.xml

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/uid2-core_unit_tests.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
# sha from https://hub.docker.com/layers/amd64/eclipse-temurin/11.0.22_7-jre-alpine/images/sha256-d7a82981336958683f147f17396fe2219cb1072a5853e8a8ef16d07f0535343a?context=explore
2-
FROM eclipse-temurin@sha256:564eb67091b2cda82952299b4be52bf1b039289234b52f46057fe1286c173b71
1+
# sha from https://hub.docker.com/layers/amd64/eclipse-temurin/21.0.4_7-jre-alpine/images/sha256-8179ddc8a6c5ac9af935020628763b9a5a671e0914976715d2b61b21881cefca
2+
FROM eclipse-temurin@sha256:8179ddc8a6c5ac9af935020628763b9a5a671e0914976715d2b61b21881cefca
33

44
WORKDIR /app
55
EXPOSE 8088
66

77
ARG JAR_NAME=uid2-core
88
ARG JAR_VERSION=1.0.0-SNAPSHOT
99
ARG IMAGE_VERSION=1.0.0.unknownhash
10+
ARG EXTRA_CONFIG
1011
ENV JAR_NAME=${JAR_NAME}
1112
ENV JAR_VERSION=${JAR_VERSION}
1213
ENV IMAGE_VERSION=${IMAGE_VERSION}
1314
ENV LOGBACK_CONF=${LOGBACK_CONF:-./conf/logback.xml}
1415

1516
COPY ./target/${JAR_NAME}-${JAR_VERSION}-jar-with-dependencies.jar /app/${JAR_NAME}-${JAR_VERSION}.jar
1617
COPY ./target/${JAR_NAME}-${JAR_VERSION}-sources.jar /app
17-
COPY ./conf/default-config.json /app/conf/
18+
COPY ./conf/default-config.json ${EXTRA_CONFIG} /app/conf/
1819
COPY ./conf/*.xml /app/conf/
1920

2021
RUN adduser -D uid2-core && mkdir -p /app && chmod 705 -R /app && mkdir -p /app/file-uploads && chmod 777 -R /app/file-uploads

0 commit comments

Comments
 (0)