diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..421070ab5e4df3c8acbdf02c90cd19f1359c5acd --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + +stages: + - validate + - build + +validate: + stage: validate + script: + - packer validate build.json + +build: + stage: build + script: + - source /home/centos/app-cred-ohpc-openrc.sh + - python gen-vars.py + - packer build -var-file=vars-test.json build.json + dependencies: + - validate