add stages

This commit is contained in:
Simon Bruder 2018-02-12 12:40:21 +00:00
parent 9dd01ebd08
commit c733d99580

View file

@ -2,11 +2,17 @@ image:
name: hashicorp/packer
entrypoint: [""]
stages:
- test
- build
test:
stage: test
script:
- apk add --no-cache ansible && packer validate packer.json
build:
stage: build
script:
- apk add --no-cache ansible && packer build packer.json
artifacts: