-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mstrankowski
committed
Nov 16, 2023
1 parent
db68a73
commit 7258b1d
Showing
1 changed file
with
36 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -425,41 +425,41 @@ jobs: | |
# - name: "Clean Maven cache" | ||
# run: bash ./scripts/ci/cleanup_cache.sh | ||
# | ||
all_amps_tests: | ||
name: "All AMPs tests" | ||
runs-on: ubuntu-latest | ||
if: > | ||
!contains(github.event.head_commit.message, '[skip tests]') | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
- name: "Build" | ||
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} | ||
run: | | ||
bash ./scripts/ci/init.sh | ||
bash ./scripts/ci/build.sh | ||
- name: "Set up the environment" | ||
run: mvn -B -q install -ntp -f tests/tas-all-amps/pom.xml -DskipTests -Pall-tas-tests,prepare-wars-with-amps | ||
- name: "Run tests" | ||
id: tests | ||
timeout-minutes: 20 | ||
env: | ||
AWS_ACCESS_KEY: ${{ secrets.AWS_S3_PIPELINE_AMPS_ACCESS_KEY_ID }} | ||
AWS_SECRET_KEY: ${{ secrets.AWS_S3_PIPELINE_AMPS_SECRET_ACCESS_KEY }} | ||
run: | | ||
./tests/scripts/checkLibraryDuplicates.sh ./tests/tas-all-amps/target/war/alfresco/WEB-INF/lib | ||
${{ env.TAS_SCRIPTS }}/start-compose.sh ${{ env.TAS_ENVIRONMENT }}/docker-compose-all-amps-test.yml | ||
${{ env.TAS_SCRIPTS }}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" | ||
mvn -B install -ntp -f tests/tas-all-amps/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false | ||
- name: "Print output after failure" | ||
if: ${{ always() && steps.tests.outcome == 'failure' }} | ||
run: ${TAS_SCRIPTS}/output_logs_for_failures.sh "tests/tas-all-amps" | ||
- name: "Clean Maven cache" | ||
run: bash ./scripts/ci/cleanup_cache.sh | ||
# all_amps_tests: | ||
# name: "All AMPs tests" | ||
# runs-on: ubuntu-latest | ||
# if: > | ||
# !contains(github.event.head_commit.message, '[skip tests]') | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# persist-credentials: false | ||
# - uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
# - uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
# - uses: Alfresco/alfresco-build-tools/.github/actions/[email protected] | ||
# - name: "Build" | ||
# timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} | ||
# run: | | ||
# bash ./scripts/ci/init.sh | ||
# bash ./scripts/ci/build.sh | ||
# - name: "Set up the environment" | ||
# run: mvn -B -q install -ntp -f tests/tas-all-amps/pom.xml -DskipTests -Pall-tas-tests,prepare-wars-with-amps | ||
# - name: "Run tests" | ||
# id: tests | ||
# timeout-minutes: 20 | ||
# env: | ||
# AWS_ACCESS_KEY: ${{ secrets.AWS_S3_PIPELINE_AMPS_ACCESS_KEY_ID }} | ||
# AWS_SECRET_KEY: ${{ secrets.AWS_S3_PIPELINE_AMPS_SECRET_ACCESS_KEY }} | ||
# run: | | ||
# ./tests/scripts/checkLibraryDuplicates.sh ./tests/tas-all-amps/target/war/alfresco/WEB-INF/lib | ||
# ${{ env.TAS_SCRIPTS }}/start-compose.sh ${{ env.TAS_ENVIRONMENT }}/docker-compose-all-amps-test.yml | ||
# ${{ env.TAS_SCRIPTS }}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco" | ||
# mvn -B install -ntp -f tests/tas-all-amps/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false | ||
# - name: "Print output after failure" | ||
# if: ${{ always() && steps.tests.outcome == 'failure' }} | ||
# run: ${TAS_SCRIPTS}/output_logs_for_failures.sh "tests/tas-all-amps" | ||
# - name: "Clean Maven cache" | ||
# run: bash ./scripts/ci/cleanup_cache.sh | ||
|
||
tas_test_with_mtls: | ||
name: ${{ matrix.testSuite }} TAS tests with mutal TLS | ||
|
@@ -503,6 +503,7 @@ jobs: | |
bash ${{ env.CI_WORKSPACE }}/alfresco-ssl-generator/scripts/ci/generate_keystores.sh | ||
echo "HOSTNAME_VERIFICATION_DISABLED=false" >> "$GITHUB_ENV" | ||
fi | ||
ls $CI_WORKSPACE/keystores | ||
- name: "Build" | ||
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }} | ||
run: | | ||
|