Explicitly add bash

Now might as well use the alpine container
This commit is contained in:
Jake Howard 2021-07-11 17:50:46 +01:00
parent ec9095a117
commit e183315f02
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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