add stages
This commit is contained in:
parent
9dd01ebd08
commit
c733d99580
1 changed files with 6 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue