From dd0d5dd4bea7fe2f556f6d839e442e4ac71a4c08 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 28 Nov 2021 12:42:57 +0100 Subject: [PATCH] CI: use upstream ansible/toolset --- .drone.yml | 3 +-- docker-ansible-lint/Dockerfile | 7 ------- docker-ansible-lint/README.md | 18 ------------------ 3 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 docker-ansible-lint/Dockerfile delete mode 100644 docker-ansible-lint/README.md diff --git a/.drone.yml b/.drone.yml index eb6ce40..bc2b808 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,8 +5,7 @@ name: check steps: - name: ansible and yaml linting - pull: never - image: aurore-ansible-lint-image + image: quay.io/ansible/toolset:3.5.0 commands: - ansible-lint ... diff --git a/docker-ansible-lint/Dockerfile b/docker-ansible-lint/Dockerfile deleted file mode 100644 index 7acf954..0000000 --- a/docker-ansible-lint/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM python:3.9-alpine -LABEL description="Aurore's docker image for ansible-lint" - -RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo -RUN pip install --no-cache-dir "yamllint>=1.26.0,<2.0" -RUN pip install --no-cache-dir "ansible-lint>=5.0.0" -RUN pip install --no-cache-dir "ansible>=2.10,<2.11" diff --git a/docker-ansible-lint/README.md b/docker-ansible-lint/README.md deleted file mode 100644 index adabac3..0000000 --- a/docker-ansible-lint/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Ansible-lint image - -In order to build this image when a new version comes out, you need to -1. ssh into the `drone.adm.auro.re` server -2. git pull this repo to the lastest version -3. optionally make the changes if it has not been done yet -4. `sudo docker build -t aurore-ansible-lint-image docker-ansible-lint/` -5. ??? -6. enjoy - -You can verify that the image was correclty built by running -``` -# list the images present -sudo docker image ls - -# run your image with an interactive shell -sudo docker run -it --rm aurore-ansible-lint-image /bin/sh -```