Skip to content

feat: new verify base stages

Marco Wettstein requested to merge f/refactor-env into master

you have now new base stages to extend:

  • .verify-review
  • .verify-dev
  • .verify-stage
  • .verify-prod

these are run after deploy

Example cypress:

.e2ebase: 
  image: cypress/browsers:node12.18.3-chrome89-ff86
  extends: .cache-node-modules
  script:
    - yarn install --frozen-lockfile
    - yarn cypress install
    - CYPRESS_BASE_URL=$CI_ENVIRONMENT_URL yarn cypress:run  --browser chrome --headless
  artifacts:
    when: always
    paths:
      - cypress/videos/**/*.mp4
      - cypress/screenshots/**/*.png
    expire_in: 5 day

verify-review:
  extends: 
    - .verify-review
    - .e2ebase

verify-dev:
  extends: 
    - .verify-dev
    - .e2ebase

CI_ENVIRONMENT_URL contains the url to the deployment target, so you can use that for our tests

This MR also introduces huge refactorings and some minor breaking changes, because some base jobs have been removed. Its not breaking if you did not override any job.

Additionally meteor-kubernetes has been moved to the same repo here

fixes

Edited by Marco Wettstein

Merge request reports