mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
move creation PR Docker at the end before after e2e
This commit is contained in:
@@ -65,9 +65,7 @@ script:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: Demo shell prod && Demo shell e2e && Check ADF exports
|
- stage: Test Update version 2.0.0
|
||||||
script: ./scripts/test-dist.sh -n $TRAVIS_BUILD_NUMBER && (./scripts/pr-publish.sh -n $TRAVIS_BUILD_NUMBER -r $REPO_DOCKER -u $USERNAME_DOCKER -p $PASSWORD_DOCKER || exit 1)
|
|
||||||
- # Test Update version 2.0.0
|
|
||||||
script: ./scripts/test-e2e-bc.sh
|
script: ./scripts/test-e2e-bc.sh
|
||||||
- # Test expors
|
- # Test expors
|
||||||
script: npm run test-export
|
script: npm run test-export
|
||||||
@@ -94,7 +92,9 @@ jobs:
|
|||||||
script: ./scripts/test-e2e-lib.sh -host localhost:4200 -proxy $E2E_HOST -u $E2E_USERNAME -p $E2E_PASSWORD -e $E2E_EMAIL -b -save -dev -timeout 40000 --folder content-services
|
script: ./scripts/test-e2e-lib.sh -host localhost:4200 -proxy $E2E_HOST -u $E2E_USERNAME -p $E2E_PASSWORD -e $E2E_EMAIL -b -save -dev -timeout 40000 --folder content-services
|
||||||
- # Test insights
|
- # Test insights
|
||||||
script: ./scripts/test-e2e-lib.sh -host localhost:4200 -proxy $E2E_HOST -u $E2E_USERNAME -p $E2E_PASSWORD -e $E2E_EMAIL -b -save -dev -timeout 40000 --folder insights
|
script: ./scripts/test-e2e-lib.sh -host localhost:4200 -proxy $E2E_HOST -u $E2E_USERNAME -p $E2E_PASSWORD -e $E2E_EMAIL -b -save -dev -timeout 40000 --folder insights
|
||||||
- stage: Deploy PR
|
- stage: Create Docker PR
|
||||||
|
script: ./scripts/test-dist.sh -n $TRAVIS_BUILD_NUMBER && (./scripts/pr-publish.sh -n $TRAVIS_BUILD_NUMBER -r $REPO_DOCKER -u $USERNAME_DOCKER -p $PASSWORD_DOCKER || exit 1)
|
||||||
|
- stage: Deploy Docker PR
|
||||||
script: node ./scripts/pr-deploy.js -n $TRAVIS_BUILD_NUMBER -u $RANCHER_TOKEN -p $RANCHER_SECRET -s $REPO_RANCHER --image "docker:$REPO_DOCKER/adf/demo-shell:$TRAVIS_BUILD_NUMBER" --env $ENVIRONMENT_NAME -r $ENVIRONMENT_URL || exit 1
|
script: node ./scripts/pr-deploy.js -n $TRAVIS_BUILD_NUMBER -u $RANCHER_TOKEN -p $RANCHER_SECRET -s $REPO_RANCHER --image "docker:$REPO_DOCKER/adf/demo-shell:$TRAVIS_BUILD_NUMBER" --env $ENVIRONMENT_NAME -r $ENVIRONMENT_URL || exit 1
|
||||||
|
|
||||||
# jobs:
|
# jobs:
|
||||||
|
@@ -52,7 +52,7 @@ cp -R $DIR/../lib/dist/insights/* $DIR/../node_modules/@alfresco/adf-insights
|
|||||||
echo "====== Build dist demo shell ===== "
|
echo "====== Build dist demo shell ===== "
|
||||||
|
|
||||||
npm run server-versions
|
npm run server-versions
|
||||||
ng build dist --prod --base-href=$NAME/ --output-path demo-shell/dist/$NAME || exit 1
|
ng build dist --base-href=$NAME/ --output-path demo-shell/dist/$NAME || exit 1
|
||||||
|
|
||||||
echo "====== e2e test ===== "
|
echo "====== e2e test ===== "
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user