Commit 86213997 authored by Maximilian Dolling's avatar Maximilian Dolling

test

parent a495623f
......@@ -113,20 +113,20 @@ test:unittest:
- "**/*.py"
- "**/*.yml"
#test:dev:
# stage: test
# image:
# name: "${CI_REGISTRY_IMAGE}/$DOCKER_DST_IMAGE_NAME:latest-dev"
# entrypoint: [""]
# tags:
# - ci-services
# dependencies:
# - build-deploy:dev
# script:
# - cp -r "$CI_PROJECT_DIR" /repo
# - rm -rf /repo/meta
# - docker-entrypoint.sh --test
# - cp -rT /repo "$CI_PROJECT_DIR"
test:dev:
stage: test
image:
name: "${CI_REGISTRY_IMAGE}/$DOCKER_DST_IMAGE_NAME:latest-dev"
entrypoint: [""]
tags:
- ci-services
dependencies:
- build-deploy:dev
script:
- cp -r "$CI_PROJECT_DIR" /repo
- rm -rf /repo/meta
- docker-entrypoint.sh --test
- cp -rT /repo "$CI_PROJECT_DIR"
# - IS_CHK_SUM=$(sha512sum meta/ci-services-report.md | awk '{ print $1 }')
# - PASS_CHK_SUM=$(sha512sum test/test_report.md | awk '{ print $1 }')
# - >
......@@ -134,20 +134,20 @@ test:unittest:
# echo "Generated report does not equal the test template"
# exit 1
# fi
# except:
# - master
# only:
# changes:
# - "build/**/*"
# - "src/**/*"
# - "test/**/*"
# - "**/*.yml"
# artifacts:
# paths:
# - meta
# - test
# when: on_failure
# expire_in: 1 day
except:
- master
only:
changes:
- "build/**/*"
- "src/**/*"
- "test/**/*"
- "**/*.yml"
artifacts:
paths:
- meta
- test
when: on_failure
expire_in: 1 day
test:production:
stage: test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment