Explicitly add bash
Now might as well use the alpine container
This commit is contained in:
parent
ec9095a117
commit
e183315f02
1 changed files with 3 additions and 1 deletions
|
@ -1,18 +1,20 @@
|
||||||
terraform:
|
terraform:
|
||||||
image: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
|
image: registry.gitlab.com/gitlab-org/terraform-images/stable:latest
|
||||||
before_script:
|
before_script:
|
||||||
|
- apk add --no-cache bash
|
||||||
- ./scripts/terraform/terraform.sh init -backend=false
|
- ./scripts/terraform/terraform.sh init -backend=false
|
||||||
script:
|
script:
|
||||||
- ./scripts/terraform/lint.sh
|
- ./scripts/terraform/lint.sh
|
||||||
|
|
||||||
ansible:
|
ansible:
|
||||||
image: python:3.9-slim
|
image: python:3.9-alpine
|
||||||
variables:
|
variables:
|
||||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .cache/pip
|
- .cache/pip
|
||||||
before_script:
|
before_script:
|
||||||
|
- apk add --no-cache bash
|
||||||
- ./scripts/ansible/setup.sh
|
- ./scripts/ansible/setup.sh
|
||||||
script:
|
script:
|
||||||
- ./scripts/ansible/lint.sh
|
- ./scripts/ansible/lint.sh
|
||||||
|
|
Loading…
Reference in a new issue