Revert "ACS-12380 Use env-load-from-yaml to read RELEASE_VERSION and DEVELOPMENT_VERSION (#1693)" (#1695)

This commit is contained in:
Damian Ujma
2026-08-13 16:20:54 +02:00
committed by GitHub
parent 68b7dc2796
commit 0a20da7920
2 changed files with 25 additions and 33 deletions
-5
View File
@@ -1,5 +0,0 @@
env:
global:
# Release version has to start with real version (23.2.0-....) for the docker image to build successfully.
- RELEASE_VERSION=26.3.0-A.7
- DEVELOPMENT_VERSION=26.3.0-A.8-SNAPSHOT
+25 -28
View File
@@ -29,7 +29,10 @@ env:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
TAS_ENVIRONMENT: ./tests/environment TAS_ENVIRONMENT: ./tests/environment
TAS_SCRIPTS: ../alfresco-community-repo/packaging/tests/scripts TAS_SCRIPTS: ../alfresco-community-repo/packaging/tests/scripts
# Note: RELEASE_VERSION and DEVELOPMENT_VERSION are now loaded from .github/release-versions.yml # Release version has to start with real version (23.2.0-....) for the docker image to build successfully.
RELEASE_VERSION: 26.3.0-A.7
DEVELOPMENT_VERSION: 26.3.0-A.8-SNAPSHOT
jobs: jobs:
precommit: precommit:
name: Pre-Commit checks name: Pre-Commit checks
@@ -38,12 +41,12 @@ jobs:
!contains(github.event.head_commit.message, '[skip tests]') !contains(github.event.head_commit.message, '[skip tests]')
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.16.0
tas_tests: tas_tests:
name: ${{ matrix.testSuite }} TAS tests name: ${{ matrix.testSuite }} TAS tests
@@ -91,8 +94,8 @@ jobs:
compose-file: docker-compose-minimal.yml compose-file: docker-compose-minimal.yml
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- name: "Init" - name: "Init"
@@ -156,8 +159,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v12.4.3
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v12.4.3
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- name: "Build" - name: "Build"
@@ -177,7 +180,7 @@ jobs:
mvn -B -ntp -q install -DskipTests -f tests/testcontainers-env/pom.xml mvn -B -ntp -q install -DskipTests -f tests/testcontainers-env/pom.xml
mvn -B install -ntp -f tests/tas-elasticsearch/pom.xml -P${{ matrix.profiles }} -Denvironment=default -DrunBugs=false "-Dsearch.engine.type=${{ matrix.search-engine-type }}" "-Ddatabase.type=${{ matrix.db-type }}" -Dindeximage="alfresco/alfresco-elasticsearch-batch-indexing:${BATCH_INDEXING_TAG}" -Drepoimage="alfresco-repository-databases:latest" mvn -B install -ntp -f tests/tas-elasticsearch/pom.xml -P${{ matrix.profiles }} -Denvironment=default -DrunBugs=false "-Dsearch.engine.type=${{ matrix.search-engine-type }}" "-Ddatabase.type=${{ matrix.db-type }}" -Dindeximage="alfresco/alfresco-elasticsearch-batch-indexing:${BATCH_INDEXING_TAG}" -Drepoimage="alfresco-repository-databases:latest"
- name: "Dump all Docker containers logs" - name: "Dump all Docker containers logs"
uses: Alfresco/alfresco-build-tools/.github/actions/docker-dump-containers-logs@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 uses: Alfresco/alfresco-build-tools/.github/actions/docker-dump-containers-logs@v12.4.3
if: failure() && steps.tests.outcome == 'failure' if: failure() && steps.tests.outcome == 'failure'
- name: "Clean Maven cache" - name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh run: bash ./scripts/ci/cleanup_cache.sh
@@ -189,8 +192,8 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip tests]')" if: "!contains(github.event.head_commit.message, '[skip tests]')"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- name: "Init" - name: "Init"
@@ -215,9 +218,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- name: "Build" - name: "Build"
@@ -255,9 +258,9 @@ jobs:
- 5000:5000 - 5000:5000
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- name: Set up QEMU - name: Set up QEMU
@@ -291,12 +294,9 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
with: - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
yml_path: .github/release-versions.yml - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2
with: with:
java-version: ${{ env.JAVA_VERSION }} java-version: ${{ env.JAVA_VERSION }}
- name: Set up QEMU - name: Set up QEMU
@@ -337,10 +337,7 @@ jobs:
github.event_name != 'pull_request' github.event_name != 'pull_request'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2 - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
with:
yml_path: .github/release-versions.yml
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ac0009fd55b474dbf50864caa4f9da36a41e5ffe # v18.21.2
- name: "Configure AWS credentials" - name: "Configure AWS credentials"
uses: aws-actions/configure-aws-credentials@v4 uses: aws-actions/configure-aws-credentials@v4
with: with: