Skip to content
Snippets Groups Projects
Verified Commit 512e8893 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 44e53af7
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -66,16 +66,12 @@ info: ...@@ -66,16 +66,12 @@ info:
# Build a docker image in which tests for this repository can run # Build a docker image in which tests for this repository can run
build-testenv: .build-testenv: &build-testenv
tags: [cached-dind] tags: [cached-dind]
image: docker:20.10.6 image: docker:20.10.6
stage: setup stage: setup
timeout: 2h timeout: 2h
needs: [] needs: []
only:
refs:
- schedules
- web
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
...@@ -104,6 +100,20 @@ build-testenv: ...@@ -104,6 +100,20 @@ build-testenv:
- docker push $CPPINTTEST_REGISTRY_IMAGE - docker push $CPPINTTEST_REGISTRY_IMAGE
- docker save $CPPINTTEST_REGISTRY_IMAGE > /image-cache/${CPPINTTEST_IMAGE_CACHE} - docker save $CPPINTTEST_REGISTRY_IMAGE > /image-cache/${CPPINTTEST_IMAGE_CACHE}
build-testenv-changed-docker:
<<: *build-testenv
only:
changed:
- docker/*
build-testenv-triggered:
<<: *build-testenv
only:
refs:
- pipeline
- schedules
- web
# build integration tests # build integration tests
build-test: build-test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment