diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b418c837495cc151d3ef062fa4387272bec7bfef..5f98d822273e178a69ed7c3313b84ee313907e4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,29 @@ --- -image: quay.io/ansible/molecule:3.0.8 +image: docker:stable-dind services: - docker:dind variables: GIT_DEPTH: "1" PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache" + GIT_CLONE_PATH: $CI_BUILDS_DIR/kif.akplanning cache: paths: - "$CI_PROJECT_DIR/pip-cache" key: "$CI_PROJECT_ID" +before_script: + - apk add --no-cache + python3 python3-dev py3-pip gcc git curl build-base + autoconf automake py3-cryptography linux-headers + musl-dev libffi-dev openssl-dev openssh + - docker info + - python3 --version + - python3 -m pip install ansible molecule[docker] ansible-lint + - ansible --version + - molecule --version + molecule: stage: test script: