mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10261] SmartRunner fix (#7760)
* [AAE-1026] s3 store + fake test * [ci:force] test run 1 * [ci:force] test run 2 * [ci:force] test run 3 - one job * [ci:force] path fix * [ci:force] install awscli * add after script for all jobs * [ci:force] trigger travis * remove fake test * trigger travis
This commit is contained in:
5
scripts/ci/job_hooks/after_e2e.sh
Executable file
5
scripts/ci/job_hooks/after_e2e.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Upload protractor-smartrunner artifact related to this particular job to S3
|
||||
./scripts/ci/utils/artifact-to-s3.sh -a "$SMART_RUNNER_DIRECTORY" -o "$S3_SMART_RUNNER_PATH/$TRAVIS_JOB_ID.tar.bz2"
|
||||
|
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Download protractor-smartrunner artifact related to this particular job from S3, if exists
|
||||
./scripts/ci/utils/artifact-from-s3.sh -a "$S3_SMART_RUNNER_PATH/$TRAVIS_JOB_ID.tar.bz2" -o "$SMART_RUNNER_DIRECTORY"
|
||||
|
||||
# TODO: This one needs to be cleaned up... Only fixing it like this, because for the current PR it is out of scope
|
||||
# =======================================
|
||||
rm -rf ./node_modules/@alfresco/adf-cli/ && \
|
||||
|
@@ -20,6 +20,9 @@ export HEAD_HASH="HEAD"
|
||||
export HEAD_COMMIT_HASH=${TRAVIS_PULL_REQUEST_SHA:-${TRAVIS_COMMIT}}
|
||||
export COMMIT_MESSAGE=`git log --format=%B -n 1 $HEAD_COMMIT_HASH`
|
||||
|
||||
# Settings for S3 caching -------------------------------------------------------------
|
||||
pip install --user awscli
|
||||
|
||||
if [ "${TRAVIS_EVENT_TYPE}" == "push" ]; then
|
||||
echo "push"
|
||||
elif [ "${TRAVIS_EVENT_TYPE}" == "pull_request" ]; then
|
||||
|
Reference in New Issue
Block a user