Commit 5d8ebdbb authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

rename script to generate ci/cd YAML file

parent 57465cef
Pipeline #31774 failed with stages
in 5 seconds
stages:
- genconfig
- build-deb
default:
tags:
- et-iedo-public-stage
# Generate two files to be used in the child-pipeline job below:
# - a GitLab CI/CD YAML file
# - a dput.conf file
variables:
DPUT_HOST: stanford-dev
DPUT_USER: auto-iedo
DEBIAN_DISTROS: buster
generate-config:
stage: genconfig
image: alpine:latest
script:
- apk add -U git
- apk add -U bash
- pwd
- ls -lrta
- git clone https://code.stanford.edu/et-iedo-public/debian-packages/gitlab-package-build.git
- cd gitlab-package-build
- ls -lrta
- ./generate-cicd-yaml.sh > ../generated-config.yml
- ./generate-dput-conf.sh > ../dput.cf
artifacts:
paths:
- generated-config.yml
- dput.cf
child-pipeline:
stage: build-deb
trigger:
include:
- artifact: generated-config.yml
job: generate-config
variables:
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
USER: $DPUT_USER
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