Loading .gitignoredeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line /roles/ /.idea/ *.iml .gitlab-ci.yml +0 −24 Original line number Diff line number Diff line include: project: 'tools/continuous-integration/docker/docker-pure-trunk-latest' file: 'gitlab-ci.yml' ########################################################################################################## ## PIPELINE DEFINITION stages: - lint - pack - test - scan - release ########################################################################################################## #### TEST SECTION test: extends: .common_docker stage: test variables: GIT_STRATEGY: "none" script: - drr "${CI_REGISTRY_IMAGE}:${CUSTOM_IMAGEPREFIX}-${CI_COMMIT_SHORT_SHA}" ansible --version .hadolint.yaml 0 → 100644 +4 −0 Original line number Diff line number Diff line ignored: - DL3007 - DL3013 - DL3018 Dockerfile +7 −5 Original line number Diff line number Diff line FROM registry.cyberbrain.pw/docker/alpine:latest AS builder ARG ANSIBLE_BUILD_DEPENDENCIES ARG ANSIBLE_PACKAGES FROM registry.viju.ru/tools/docker/alpine:latest AS base FROM base AS builder ARG ANSIBLE_BUILD_DEPENDENCIES="build-base cargo libffi-dev musl-dev openssl-dev python3-dev yaml-dev" ARG ANSIBLE_PACKAGES="ansible-lint hvac jinja2>=2.11 jmespath mitogen netaddr pyyaml pywinrm" ENV PATH="/opt/ansible/bin:$PATH" RUN apk --no-cache add python3 && \ apk --no-cache add --virtual build-dependencies ${ANSIBLE_BUILD_DEPENDENCIES} && \ Loading @@ -10,8 +12,8 @@ RUN apk --no-cache add python3 && \ #apk del build-dependencies && \ rm -rf /var/cache/apk/* FROM registry.cyberbrain.pw/docker/alpine:latest AS runtime ARG ANSIBLE_RUNTIME_DEPENDENCIES FROM base AS runtime ARG ANSIBLE_RUNTIME_DEPENDENCIES="ca-certificates git openssh-client openssl patch rsync sshpass yaml" ENV PATH="/opt/ansible/bin:$PATH" WORKDIR /srv/ansible RUN apk --no-cache add python3 && \ Loading Loading
.gitignoredeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line /roles/ /.idea/ *.iml
.gitlab-ci.yml +0 −24 Original line number Diff line number Diff line include: project: 'tools/continuous-integration/docker/docker-pure-trunk-latest' file: 'gitlab-ci.yml' ########################################################################################################## ## PIPELINE DEFINITION stages: - lint - pack - test - scan - release ########################################################################################################## #### TEST SECTION test: extends: .common_docker stage: test variables: GIT_STRATEGY: "none" script: - drr "${CI_REGISTRY_IMAGE}:${CUSTOM_IMAGEPREFIX}-${CI_COMMIT_SHORT_SHA}" ansible --version
.hadolint.yaml 0 → 100644 +4 −0 Original line number Diff line number Diff line ignored: - DL3007 - DL3013 - DL3018
Dockerfile +7 −5 Original line number Diff line number Diff line FROM registry.cyberbrain.pw/docker/alpine:latest AS builder ARG ANSIBLE_BUILD_DEPENDENCIES ARG ANSIBLE_PACKAGES FROM registry.viju.ru/tools/docker/alpine:latest AS base FROM base AS builder ARG ANSIBLE_BUILD_DEPENDENCIES="build-base cargo libffi-dev musl-dev openssl-dev python3-dev yaml-dev" ARG ANSIBLE_PACKAGES="ansible-lint hvac jinja2>=2.11 jmespath mitogen netaddr pyyaml pywinrm" ENV PATH="/opt/ansible/bin:$PATH" RUN apk --no-cache add python3 && \ apk --no-cache add --virtual build-dependencies ${ANSIBLE_BUILD_DEPENDENCIES} && \ Loading @@ -10,8 +12,8 @@ RUN apk --no-cache add python3 && \ #apk del build-dependencies && \ rm -rf /var/cache/apk/* FROM registry.cyberbrain.pw/docker/alpine:latest AS runtime ARG ANSIBLE_RUNTIME_DEPENDENCIES FROM base AS runtime ARG ANSIBLE_RUNTIME_DEPENDENCIES="ca-certificates git openssh-client openssl patch rsync sshpass yaml" ENV PATH="/opt/ansible/bin:$PATH" WORKDIR /srv/ansible RUN apk --no-cache add python3 && \ Loading