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: ...@@ -4,6 +4,7 @@ stages:
- build - build
- test - test
- review - review
- accessibility
- deploy - deploy
.artifacts_extension: .artifacts_extension:
...@@ -24,10 +25,6 @@ stages: ...@@ -24,10 +25,6 @@ stages:
paths: paths:
- vendor/bundle - vendor/bundle
.only_extension:
only:
- master
.common_production: &production_before_script .common_production: &production_before_script
before_script: before_script:
- gem install bundler --no-document - gem install bundler --no-document
...@@ -165,8 +162,8 @@ test:htmlproofer:external_links: ...@@ -165,8 +162,8 @@ test:htmlproofer:external_links:
- "htmlproofer \ - "htmlproofer \
--internal-domains localhost:4000 \ --internal-domains localhost:4000 \
--assume-extension public/" --assume-extension public/"
only: rules:
- schedules - if: '$CI_PIPELINE_SOURCE == "schedule"'
tags: tags:
- internal - internal
...@@ -185,8 +182,6 @@ review: ...@@ -185,8 +182,6 @@ review:
name: review/$CI_COMMIT_REF_NAME name: review/$CI_COMMIT_REF_NAME
url: https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG url: https://$APPS_DOMAIN/review-apps/$CI_PROJECT_PATH_SLUG/$CI_COMMIT_REF_SLUG
on_stop: stop_review on_stop: stop_review
only:
- branches
tags: tags:
- review-apps - review-apps
...@@ -206,6 +201,11 @@ stop_review: ...@@ -206,6 +201,11 @@ stop_review:
tags: tags:
- review-apps - review-apps
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- template: 'Verify/Accessibility.gitlab-ci.yml'
- local: '/.gitlab/ci/a11y.gitlab-ci.yml'
pages: pages:
image: alpine:latest image: alpine:latest
stage: deploy stage: deploy
...@@ -220,5 +220,5 @@ pages: ...@@ -220,5 +220,5 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
only: rules:
- master - 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