Skip to content

Commit

Permalink
[hotfix][ci] Fix AWS E2E tests run workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
z3d1k committed Oct 18, 2023
1 parent 3b4d91d commit 04ac7f0
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,32 +91,32 @@ jobs:
working-directory: ${{ env.FLINK_CACHE_DIR }}
if: steps.cache-flink.outputs.cache-hit != 'true'
run: wget -q -c ${{ inputs.flink_url }} -O - | tar -xz
#
# - name: Compile and test flink-connector-aws
# timeout-minutes: ${{ inputs.timeout_test }}
# run: |
# set -o pipefail
#
# mvn clean install -Dflink.convergence.phase=install -Pcheck-convergence -U -B ${{ env.MVN_CONNECTION_OPTIONS }} \
# -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
# -Dflink.version=${{ inputs.flink_version }} | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}

- name: Compile and test flink-connector-aws
timeout-minutes: ${{ inputs.timeout_test }}
run: |
set -o pipefail
mvn clean install -Dflink.convergence.phase=install -Pcheck-convergence -U -B ${{ env.MVN_CONNECTION_OPTIONS }} \
-DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
-Dflink.version=${{ inputs.flink_version }} | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
- name: Run e2e tests
run: |
set -o pipefail
cd flink-connector-aws-e2e-tests
mvn clean verify ${{ env.MVN_CONNECTION_OPTIONS }} \
-DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
-Dflink.version=${{ inputs.flink_version }} \
-Prun-end-to-end-tests -DdistDir=${{ env.FLINK_CACHE_DIR }}/flink-${{ inputs.flink_version }} \
| tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
mvn clean
# - name: Run e2e tests
# run: |
# set -o pipefail
#
# cd flink-connector-aws-e2e-tests
#
# mvn clean verify ${{ env.MVN_CONNECTION_OPTIONS }} \
# -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
# -Dflink.version=${{ inputs.flink_version }} \
# -Prun-end-to-end-tests -DdistDir=${{ env.FLINK_CACHE_DIR }}/flink-${{ inputs.flink_version }} \
# | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
#
# mvn clean

- name: Run AWS e2e tests
if: env.HAS_AWS_CREDS
if: ${{ env.HAS_AWS_CREDS }}
run: |
set -o pipefail
Expand Down

0 comments on commit 04ac7f0

Please sign in to comment.