Skip to content
Snippets Groups Projects

Resolve "generate general framework"

Compare and Show latest version
2 files
+ 33
11
Compare changes
  • Side-by-side
  • Inline

Files

+ 32
10
stages:
- prepare_runner
- preparation
# - run_services
- result_handling
check-compileall:
stage: prepare_runner
image: python:3-alpine
before_script:
# shared variable(s) across jobs
variables:
CI-SERVICES-CACHE_DIR: "$CI_PROJECT_DIR/.ci-services"
cache:
paths:
- .ci-services
load_framework:
stage: preparation
image: python:3
tags:
- ci-services
script:
- apk update
- apk add git
- git clone https://gitext.gfz-potsdam.de/id2/hifis/software-services/fair/ci-services.git /tmp/ci-services
- git clone https://gitext.gfz-potsdam.de/id2/hifis/software-services/fair/ci-services.git .ci-services
except:
- master
upload_result:
stage: result_handling
image: python:3
tags:
- ci-services
script:
- tar -zcvf /tmp/test.tar.gz /tmp/ci-services
- mkdir ci-service-report
- touch ci-service-report/foo.txt
- tar -zcvf ci-service-report/test.tar.gz ci-service-report
artifacts:
paths:
- /tmp/test.tar.gz
expire_in: 1 week
- ./ci-service-report/test.tar.gz
expire_in: 2h
except:
- master
\ No newline at end of file
- master
Loading