Skip to content
Snippets Groups Projects
exercise_gitlab_ci.yml 851 B
###################################################################################################################
# DO NOT MODIFY THIS FILE
# This file is the ci/cd pipeline that will be used to test your exercise
###################################################################################################################

variables:
    GIT_SUBMODULE_STRATEGY: recursive
    GIT_SUBMODULE_FORCE_HTTPS: "true"
    DOCKER_HOST: tcp://docker:2375
    DOCKER_TLS_CERTDIR:
    DOCKER_DRIVER: overlay2

stages:
    - dojo

dojo:
    stage: dojo
    tags:
        - dojo_exercise
    services:
        - docker:24.0.6-dind
    image:
        name: {{DOCKERHUB_REPO_EXERCISE_CHECKER}}:latest
    script:
        - dojo_exercise_checker
    artifacts:
        when: always
        paths:
            - $DOJO_RESULTS_FOLDER/*
    allow_failure: false