diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21630f57f9adf774f97aeef37768c99d2bb6a9f5..df47714aa0c47abe743ee2dbde24302c258617da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,57 +9,60 @@ stages: variables: DIST: "website" # change if you use custom build script - REPO: "templates/simple-webpage" AUTHPASSWORD: "" # change to "" (empty string) to disable authentication # username is always "review" (without quotes) DOCKER_TLS_CERTDIR: "" - CI_REF: &ref 3e2ea3e8e4964a9d134edecbe1c0fa335b7aa0dc + CI_REF: &ref 355f4114a4b7778173d5772701c69101367d3df9 include: - # BEFORE SCRIPT - - project: "templates/ci-snippets" - file: "simple-website/before-script.yml" - ref: *ref - # BUILD + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/empty-build.yml - project: "templates/ci-snippets" file: "empty-build.yml" ref: *ref # BUILD-REVIEW + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/review/build-review.yml - project: "templates/ci-snippets" file: "simple-website/review/build-review.yml" ref: *ref # REVIEW + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/review/review.yml - project: "templates/ci-snippets" file: "simple-website/review/review.yml" ref: *ref + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/review/stop-review.yml - project: "templates/ci-snippets" file: "simple-website/review/stop-review.yml" ref: *ref # TEST + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/blc.yml - project: "templates/ci-snippets" file: "simple-website/blc.yml" ref: *ref + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/tidy.yml - project: "templates/ci-snippets" file: "simple-website/tidy.yml" ref: *ref # RELEASE + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/release-docker.yml - project: "templates/ci-snippets" file: "simple-website/release-docker.yml" ref: *ref + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/simple-website/pages.yml - project: "templates/ci-snippets" file: "simple-website/pages.yml" ref: *ref # DEPLOY + # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/trigger-websites-deploy.yml - project: "templates/ci-snippets" file: "trigger-websites-deploy.yml" ref: *ref @@ -73,7 +76,7 @@ performance: variables: GIT_STRATEGY: none SITESPEED_OPTIONS: -n 1 -d 2 --visualMetrics false --video false - URL: https://$CI_BUILD_REF_NAME-$CI_PROJECT_NAME.review.dbogatov.org/ + URL: https://$CI_BUILD_REF_NAME-$CI_PROJECT_NAME-0.review.dbogatov.org/ except: - pipelines - triggers @@ -84,7 +87,7 @@ performance: dast: stage: test variables: - DAST_WEBSITE: https://$CI_BUILD_REF_NAME-$CI_PROJECT_NAME.review.dbogatov.org + DAST_WEBSITE: https://$CI_BUILD_REF_NAME-$CI_PROJECT_NAME-0.review.dbogatov.org DAST_FULL_SCAN_ENABLED: "true" except: - pipelines @@ -99,7 +102,7 @@ accessibility: image: node variables: GIT_STRATEGY: none - a11y_urls: https://$CI_BUILD_REF_NAME-$CI_PROJECT_NAME.review.dbogatov.org + a11y_urls: https://$CI_BUILD_REF_NAME-$CI_PROJECT_NAME-0.review.dbogatov.org script: - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \