Skip to content
Snippets Groups Projects
Commit ba6287d9 authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

Merge branch '52-suggestion-test-with-accessibility-tool-before-publishing' into 'master'

Resolve "Suggestion: test with accessibility tool before publishing"

Closes #52

See merge request hifis/hifis.net!58
parents 555769d6 73e101f1
No related branches found
No related tags found
1 merge request!58Resolve "Suggestion: test with accessibility tool before publishing"
......@@ -4,6 +4,7 @@ stages:
- build
- test
- review
- accessibility
- deploy
.artifacts_extension:
......@@ -24,10 +25,6 @@ stages:
paths:
- vendor/bundle
.only_extension:
only:
- master
.common_production: &production_before_script
before_script:
- gem install bundler --no-document
......@@ -165,8 +162,8 @@ test:htmlproofer:external_links:
- "htmlproofer \
--internal-domains localhost:4000 \
--assume-extension public/"
only:
- schedules
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
tags:
- internal
......@@ -185,8 +182,6 @@ review:
name: review/$CI_COMMIT_REF_NAME
url: https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG
on_stop: stop_review
only:
- branches
tags:
- review-apps
......@@ -206,6 +201,11 @@ stop_review:
tags:
- review-apps
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- template: 'Verify/Accessibility.gitlab-ci.yml'
- local: '/.gitlab/ci/a11y.gitlab-ci.yml'
pages:
image: alpine:latest
stage: deploy
......@@ -220,5 +220,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
variables:
a11y_urls: >
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/news
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/services
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/mission
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/roadmap
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/partners
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/team
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/cloud-platform
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/you-and-hifis
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/contact
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/publications
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/faq
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/imprint
https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG/privacy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment