Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
c1abbce65d | |||
2cf27da586 | |||
b8aea8f847 | |||
03f00a9289 | |||
e38f0e58b3 | |||
a34d073671 | |||
03342e41c5 | |||
a613a27d93 | |||
f30535a4ce | |||
26fb79d44c | |||
7d637c2767 | |||
ded65383f0 | |||
df41278aca | |||
2af9a0938f | |||
51d7d44bb7 | |||
21b05af8c6 | |||
8cb0241ba6 | |||
9d63839226 | |||
40e46cd22e | |||
d12c4f1261 | |||
d95c5e238d |
2
.cz.yaml
2
.cz.yaml
@ -4,4 +4,4 @@ commitizen:
|
||||
name: cz_conventional_commits
|
||||
tag_format: $major.$minor.$patch$prerelease
|
||||
update_changelog_on_bump: true
|
||||
version: 0.2.0
|
||||
version: 0.3.0
|
||||
|
22
CHANGELOG.md
22
CHANGELOG.md
@ -1,3 +1,25 @@
|
||||
## 0.3.0 (2023-10-21)
|
||||
|
||||
### Features
|
||||
|
||||
- **image**: [b8aea8f8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/b8aea8f847d0d0d6b176991cad167bc6ea6f9d14) - default to amd64 as target platform [ [!95](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/95) ]
|
||||
- **image**: [03f00a92](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/03f00a928906e50f580a1e8f2ca3f3b79089e3c3) - var ANSIBLE_COLLECTIONS_PATHS set to /etc/ansible/collections [ [!95](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/95) ]
|
||||
- **image**: [e38f0e58](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/e38f0e58b3d6c4e537186f428a6ff372b4bdc07c) - add mysql client [ [!95](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/95) ]
|
||||
- **image**: [a34d0736](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/a34d0736714a0c487806872b78dcb78474c621ae) - add postgresclient [ [!95](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/95) ]
|
||||
- **collection**: [03342e41](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/03342e41c591f58c214f1c8754a069362618515d) - add community.postgresql [ [!95](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/95) ]
|
||||
|
||||
## 0.2.2 (2023-10-16)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **execution_environment**: [26fb79d4](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/26fb79d44cc06eb50ec750a5d82bab158af5cd11) - ansible runner required [ [!93](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/93) ]
|
||||
|
||||
## 0.2.1 (2023-09-02)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **python**: [40e46cd2](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/40e46cd22e6dab013fd04b3c6f479e143c1b424c) - removed python3.9 as it as causing issues with 3.11 [ [!89](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/89) [#9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9) ]
|
||||
|
||||
## 0.2.0 (2023-07-04)
|
||||
|
||||
### Bug Fixes
|
||||
|
25
dockerfile
25
dockerfile
@ -1,3 +1,5 @@
|
||||
ARG TARGETPLATFORM=linux/amd64
|
||||
|
||||
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
||||
|
||||
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
||||
@ -7,6 +9,8 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
ENV ANSIBLE_PLAYBOOK_DIR=/etc/ansible/playbooks
|
||||
|
||||
ENV ANSIBLE_COLLECTIONS_PATHS=/etc/ansible/collections
|
||||
|
||||
|
||||
COPY includes /
|
||||
|
||||
@ -48,14 +52,18 @@ RUN apt update \
|
||||
openssh-client \
|
||||
git \
|
||||
sshpass \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
postgresql-common \
|
||||
postgresql-client \
|
||||
mariadb-client \
|
||||
&& mkdir -p /etc/ansible/roles \
|
||||
&& mkdir -p /etc/ansible/collections \
|
||||
&& mkdir -p /workdir \
|
||||
&& apt list --installed \
|
||||
# see issue https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9 for following two lines
|
||||
&& rm /usr/bin/python3 \
|
||||
&& ln -s /usr/local/bin/python3.11 /usr/bin/python3
|
||||
&& apt remove -y \
|
||||
python3* \
|
||||
libpython3* \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
WORKDIR /workdir
|
||||
@ -70,12 +78,13 @@ RUN pip install --index-url https://gitlab.com/api/v4/projects/45741845/packages
|
||||
|
||||
|
||||
RUN ansible-galaxy collection install \
|
||||
awx.awx \
|
||||
kubernetes.core \
|
||||
# community.general.gitlab_*
|
||||
community.general \
|
||||
# ansible.posix.authorized_key for SSH
|
||||
ansible.posix \
|
||||
awx.awx \
|
||||
# community.general.gitlab_*
|
||||
community.general \
|
||||
# docker managment
|
||||
community.docker \
|
||||
community.mysql
|
||||
community.mysql \
|
||||
community.postgresql \
|
||||
kubernetes.core
|
Submodule gitlab-ci updated: 975de7aca2...a5a9fa4437
Submodule includes/etc/ansible/playbooks updated: 097346982a...d8e6dd46f3
Submodule includes/etc/ansible/roles updated: 5003f6e83b...6317782ade
@ -1,5 +1,10 @@
|
||||
ansible-core==2.14.5
|
||||
ansible-lint==6.15.0
|
||||
ansible-runner==2.3.4
|
||||
|
||||
# Required for community.general.gitlab_*
|
||||
python_gitlab==3.14.0
|
||||
python_gitlab==3.14.0
|
||||
# community.postgresql
|
||||
psycopg2==2.9.9
|
||||
# community.mysql
|
||||
PyMySQL==1.1.0
|
||||
|
Reference in New Issue
Block a user