diff --git a/.github/.ci.settings.xml b/.ci.settings.xml similarity index 100% rename from .github/.ci.settings.xml rename to .ci.settings.xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e71fdbbb2da..fbf1040b09d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Prepare maven cache and check compilation" @@ -54,11 +54,11 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v1.33.0 continue-on-error: true with: srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }} @@ -75,8 +75,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run tests" @@ -112,8 +112,8 @@ jobs: REQUIRES_INSTALLED_ARTIFACTS: true steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -145,8 +145,8 @@ jobs: version: ['10.2.18', '10.4', '10.5'] steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: Run MariaDB ${{ matrix.version }} database @@ -171,8 +171,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run MariaDB 10.6 database" @@ -197,8 +197,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run MySQL 8 database" @@ -222,8 +222,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run PostgreSQL 13.7 database" @@ -247,8 +247,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run PostgreSQL 14.4 database" @@ -270,8 +270,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run ActiveMQ" @@ -315,8 +315,8 @@ jobs: mvn-options: '-Dindex.subsystem.name=solr6' steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Set transformers tag" @@ -374,8 +374,8 @@ jobs: REQUIRES_LOCAL_IMAGES: true steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -411,8 +411,8 @@ jobs: !contains(github.event.head_commit.message, '[force]') steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - name: "Run Postgres 14.4 database" @@ -440,8 +440,8 @@ jobs: REQUIRES_INSTALLED_ARTIFACTS: true steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -471,8 +471,8 @@ jobs: REQUIRES_INSTALLED_ARTIFACTS: true steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | @@ -498,8 +498,8 @@ jobs: REQUIRES_LOCAL_IMAGES: true steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Build" timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} run: | diff --git a/.github/workflows/master_release.yml b/.github/workflows/master_release.yml index a42903ae355..9a286a4c723 100644 --- a/.github/workflows/master_release.yml +++ b/.github/workflows/master_release.yml @@ -32,11 +32,11 @@ jobs: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.33.0 with: username: ${{ env.GIT_USERNAME }} email: ${{ env.GIT_EMAIL }} @@ -58,11 +58,11 @@ jobs: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.32.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.33.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.33.0 - name: "Init" run: bash ./scripts/ci/init.sh - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.32.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.33.0 with: username: ${{ env.GIT_USERNAME }} email: ${{ env.GIT_EMAIL }} diff --git a/scripts/ci/init.sh b/scripts/ci/init.sh index 74637c7d1b4..c806257f83d 100644 --- a/scripts/ci/init.sh +++ b/scripts/ci/init.sh @@ -5,7 +5,6 @@ set -vex pushd "$(dirname "${BASH_SOURCE[0]}")/../../" # Maven Setup -mkdir -p "${HOME}/.m2" && cp -f .github/.ci.settings.xml "${HOME}/.m2/settings.xml" find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf # Docker Logins