mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
ci: update cypress images and remove executable
This commit is contained in:
@@ -54,7 +54,7 @@ unit:
|
|||||||
- coverage
|
- coverage
|
||||||
|
|
||||||
e2e-chrome:
|
e2e-chrome:
|
||||||
image: cypress/browsers:node14.17.0-chrome91-ff89
|
image: cypress/browsers:node14.19.0-chrome100-ff99-edge
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm run e2e -- --watch=false --headless=true --browser=chrome
|
- npm run e2e -- --watch=false --headless=true --browser=chrome
|
||||||
@@ -65,7 +65,7 @@ e2e-chrome:
|
|||||||
- cypress/screenshots
|
- cypress/screenshots
|
||||||
|
|
||||||
e2e-firefox:
|
e2e-firefox:
|
||||||
image: cypress/browsers:node14.17.0-chrome91-ff89
|
image: cypress/browsers:node14.19.0-chrome100-ff99-edge
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npm run e2e -- --watch=false --headless=true --browser=firefox
|
- npm run e2e -- --watch=false --headless=true --browser=firefox
|
||||||
@@ -101,27 +101,6 @@ pages:
|
|||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
executable:
|
|
||||||
image: registry.gitlab.com/openstapps/projectmanagement/builder
|
|
||||||
stage: publish
|
|
||||||
variables:
|
|
||||||
DOCKER_DRIVER: overlay2
|
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
script:
|
|
||||||
- npm run build:prod
|
|
||||||
- export REGISTRY_BRANCH=$(.gitlab/ci/getRegistryBranch.sh "$CI_JOB_NAME")
|
|
||||||
- export CORE_VERSION=$(openstapps-projectmanagement get-used-version @openstapps/core)
|
|
||||||
- export IMAGETAG_BASE=$CI_REGISTRY_IMAGE/$REGISTRY_BRANCH
|
|
||||||
- export IMAGETAG_CORE_VERSION=$IMAGETAG_BASE:core-$CORE_VERSION
|
|
||||||
- export IMAGETAG_LATEST=$IMAGETAG_BASE:latest
|
|
||||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
|
|
||||||
- docker build -t $IMAGETAG_CORE_VERSION -t $IMAGETAG_LATEST -f Dockerfile.Executable .
|
|
||||||
- docker push $IMAGETAG_CORE_VERSION
|
|
||||||
- .gitlab/ci/pushAsLatestVersion.sh "$CI_COMMIT_REF_NAME" "$IMAGETAG_BASE"
|
|
||||||
only:
|
|
||||||
- /^(v[0-9]+\.[0-9]+\.[0-9]+|master|develop)$/
|
|
||||||
|
|
||||||
review:
|
review:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user