diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a09aed3f42557c2668cce28233dda4517e784979..8d2981f9611afcdb56cfe63c04d2991384580ce3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,15 +34,15 @@ variables: image: $OCTAVELIB_REGISTRY_IMAGE stages: - - None # FIXME Either fix pipeline or declare this project deprecated. - # - setup - # - test - # - deploy + - setup + - test + - deploy ######## Setup ######## # Build a docker image in which tests for this repository can run build-testenv: + allow_failure: true # FIXME Either fix or declare this project deprecated. tags: [ cached-dind ] stage: setup image: docker:20.10 @@ -90,6 +90,7 @@ code_style_cpp: allow_failure: true unit_tests: + allow_failure: true # FIXME Either fix or declare this project deprecated. tags: [ docker ] stage: test script: @@ -113,6 +114,7 @@ linting_cpp: allow_failure: true trigger_prepare: + allow_failure: true # FIXME Either fix or declare this project deprecated. # Calculate the branch name tags: [ docker ] stage: deploy @@ -145,6 +147,7 @@ trigger_prepare: # trigger the integration tests trigger_inttest: + when: manual # FIXME Either fix or declare this project deprecated. stage: deploy needs: [ trigger_prepare ] inherit: @@ -166,20 +169,21 @@ trigger_inttest: # Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages .pages_prepare: &pages_prepare - tags: [ cached-dind ] - stage: deploy - script: - - make doc - - cp -r build/doc/html ./public + allow_failure: true # FIXME Either fix or declare this project deprecated. + tags: [ cached-dind ] + stage: deploy + script: + - make doc + - cp -r build/doc/html ./public test_pages: - <<: *pages_prepare - except: - refs: - - main - artifacts: - paths: - - public + <<: *pages_prepare + except: + refs: + - main + artifacts: + paths: + - public pages: <<: *pages_prepare