Compare commits
194 Commits
Author | SHA1 | Date | |
---|---|---|---|
54cb027b11 | |||
1276cc6c80 | |||
dbddb3b433 | |||
102c50df52 | |||
60bfa9057e | |||
8e96e16073 | |||
2d54a3cc28 | |||
621dd9ea57 | |||
005a293288 | |||
db366e7b8e | |||
2bcd09c7e9 | |||
28fbff63a6 | |||
5d2c38ad0a | |||
1831f670ec | |||
38fe270382 | |||
fc4e44e4e3 | |||
0aac5d6fd8 | |||
042d7790b4 | |||
01ae4c9222 | |||
2ea5fd2208 | |||
ba5019e9e3 | |||
4a4917427c | |||
dd99c03136 | |||
3498651ded | |||
2f319813f3 | |||
e07b244bd9 | |||
48263925ac | |||
7cb057b120 | |||
1ae3980b0b | |||
b56f120f3c | |||
8459737ced | |||
18e4063650 | |||
f557b51847 | |||
ff3548b493 | |||
7a83b6e966 | |||
516d4f6e7f | |||
48aae07a5e | |||
0460a05664 | |||
45566db262 | |||
006bb232d5 | |||
3e4eb53647 | |||
b59ea1c816 | |||
f05fab293f | |||
3f6dcd0c40 | |||
0b6168aa6e | |||
be449e2d39 | |||
f089b226a1 | |||
29edb0a5d7 | |||
095a8298d6 | |||
89ff2c0277 | |||
b70aacf66b | |||
3fa559f121 | |||
c1abbce65d | |||
2cf27da586 | |||
b8aea8f847 | |||
03f00a9289 | |||
e38f0e58b3 | |||
a34d073671 | |||
03342e41c5 | |||
a613a27d93 | |||
f30535a4ce | |||
26fb79d44c | |||
7d637c2767 | |||
ded65383f0 | |||
df41278aca | |||
2af9a0938f | |||
51d7d44bb7 | |||
21b05af8c6 | |||
8cb0241ba6 | |||
9d63839226 | |||
40e46cd22e | |||
d12c4f1261 | |||
d95c5e238d | |||
74ed6945ce | |||
49e902a86c | |||
8d37a9b723 | |||
8366b2f66a | |||
0ade0fce81 | |||
6d186d865c | |||
592634dfd8 | |||
823c9c7949 | |||
1a1dc118bb | |||
a430dc6400 | |||
ed62936d69 | |||
3f1886f73b | |||
2087a57bad | |||
a53ea7ec19 | |||
6601bcd952 | |||
3ca15444bc | |||
6a10873507 | |||
0c05490bd9 | |||
9705f44c8a | |||
9c6f46fce1 | |||
ff3333e127 | |||
aba4e34849 | |||
7f08542ecb | |||
37330a518c | |||
5a9a9c36b8 | |||
07406e692f | |||
64688b8f1e | |||
ce79e9688b | |||
bd5da88686 | |||
0241d5affc | |||
d5f93594c6 | |||
9914375aca | |||
a1c3a88004 | |||
97bdf7df8a | |||
efc694ff94 | |||
c892596fc6 | |||
45efc5c5c2 | |||
6f95f9de03 | |||
f9ad7fbdeb | |||
bdb8e2dde1 | |||
fbe44b1f66 | |||
bab586a25d | |||
50094c0a99 | |||
5d3b5d418c | |||
03b5ba5fa5 | |||
8d44abdded | |||
e5faabc44a | |||
dcd8026e0f | |||
d9ce936c79 | |||
68cfd20bdb | |||
0e8456e7a9 | |||
ba6f3edfef | |||
e0e8410342 | |||
35a49ef438 | |||
f8a74d3d5c | |||
f5c31219de | |||
470491be7a | |||
25098b7806 | |||
87b5ffad76 | |||
f45c9770fa | |||
7552e11536 | |||
e1eed77f27 | |||
ac22797b74 | |||
5f7f330572 | |||
a960d3b980 | |||
5ffc35c458 | |||
2ef653787a | |||
29d53f6fbd | |||
cf08336e78 | |||
a31c8ce828 | |||
bdcb1c3d3d | |||
f386a4ffd6 | |||
2f3b5d165e | |||
4284bfc929 | |||
9fabe25e82 | |||
00c06c1ba2 | |||
327c6d8c97 | |||
b646b5544e | |||
59b402c7a3 | |||
f12bebcb47 | |||
a0b7a82bf0 | |||
6abb349494 | |||
f63e2746c8 | |||
6144a91211 | |||
a7f46163ab | |||
9022d69379 | |||
22e5a226ed | |||
c6d93c866b | |||
94ca5e0c84 | |||
00fec19008 | |||
fa6b5143ee | |||
7f2c67dd83 | |||
88b1196345 | |||
730164bd17 | |||
d517411282 | |||
fde14297d9 | |||
3b64142b31 | |||
f6a83efd70 | |||
d7038cb885 | |||
ce5568d081 | |||
7d20562e5f | |||
8292d2ea4f | |||
cce1f61063 | |||
2eb0dbcf08 | |||
4a8650e067 | |||
1cb4e82dd8 | |||
e19ea7aef5 | |||
25d1ca3558 | |||
1b7cdc716f | |||
197dc0f4b2 | |||
df32baba7c | |||
859c027611 | |||
89569ee691 | |||
a3cdc8255d | |||
1401254b8e | |||
b353e03987 | |||
15d25c5540 | |||
56b6e304bb | |||
f5c4b33c69 | |||
b8b9348e30 | |||
592344e642 |
2
.cz.yaml
2
.cz.yaml
@ -4,4 +4,4 @@ commitizen:
|
|||||||
name: cz_conventional_commits
|
name: cz_conventional_commits
|
||||||
tag_format: $major.$minor.$patch$prerelease
|
tag_format: $major.$minor.$patch$prerelease
|
||||||
update_changelog_on_bump: true
|
update_changelog_on_bump: true
|
||||||
version: 0.1.1rc1
|
version: 0.5.0
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
|
||||||
MY_PROJECT_ID: "45741845"
|
MY_PROJECT_ID: "45741845"
|
||||||
GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/execution_environment.git"
|
GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/execution_environment.git"
|
||||||
|
|
||||||
DOCKER_IMAGE_BUILD_TARGET_PLATFORMS: "linux/amd64,linux/arm64,linux/arm/v7"
|
DOCKER_IMAGE_BUILD_TARGET_PLATFORMS: "linux/amd64,linux/arm64"
|
||||||
DOCKER_IMAGE_PUBLISH_NAME: 'ansible-ee'
|
DOCKER_IMAGE_PUBLISH_NAME: 'ansible-ee'
|
||||||
DOCKER_IMAGE_PUBLISH_REGISTRY: docker.io/nofusscomputing
|
DOCKER_IMAGE_PUBLISH_REGISTRY: docker.io/nofusscomputing
|
||||||
DOCKER_IMAGE_PUBLISH_URL: https://hub.docker.com/r/nofusscomputing/$DOCKER_IMAGE_PUBLISH_NAME
|
DOCKER_IMAGE_PUBLISH_URL: https://hub.docker.com/r/nofusscomputing/$DOCKER_IMAGE_PUBLISH_NAME
|
||||||
|
PAGES_ENVIRONMENT_PATH: projects/execution_environment/
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- project: nofusscomputing/projects/gitlab-ci
|
- project: nofusscomputing/projects/gitlab-ci
|
||||||
@ -17,7 +17,8 @@ include:
|
|||||||
- template/automagic.gitlab-ci.yaml
|
- template/automagic.gitlab-ci.yaml
|
||||||
#- template: Jobs/Container-Scanning.gitlab-ci.yml # see https://gitlab.com/gitlab-org/gitlab/-/issues/381665
|
#- template: Jobs/Container-Scanning.gitlab-ci.yml # see https://gitlab.com/gitlab-org/gitlab/-/issues/381665
|
||||||
|
|
||||||
|
.MKDocs_Build:
|
||||||
|
image: python:3.11-buster
|
||||||
|
|
||||||
Build/Cache Python Packages:
|
Build/Cache Python Packages:
|
||||||
stage: build
|
stage: build
|
||||||
|
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -10,3 +10,7 @@
|
|||||||
path = includes/etc/ansible/playbooks
|
path = includes/etc/ansible/playbooks
|
||||||
url = https://gitlab.com/nofusscomputing/projects/ansible/ansible_playbooks.git
|
url = https://gitlab.com/nofusscomputing/projects/ansible/ansible_playbooks.git
|
||||||
branch = development
|
branch = development
|
||||||
|
[submodule "website-template"]
|
||||||
|
path = website-template
|
||||||
|
url = https://gitlab.com/nofusscomputing/infrastructure/website-template.git
|
||||||
|
branch = development
|
||||||
|
106
CHANGELOG.md
106
CHANGELOG.md
@ -1,3 +1,109 @@
|
|||||||
|
## 0.5.0 (2023-11-14)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- **multi_arch_cpu**: [102c50df](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/102c50df52d398ead8415877fd2067436a1ee8d1) - ensure multi arch images are build [ [!116](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/116) ]
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- **arm32**: [dbddb3b4](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/dbddb3b4334857733d3f1b044f64ea8c745bab7c) - remove arm 32-bit support [ [!116](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/116) ]
|
||||||
|
- **container**: [8e96e160](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/8e96e160739090d428f482c160bc82e9855b865f) - add ansible receptor [ [!114](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/114) [#17](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/17) ]
|
||||||
|
- **ansible**: [2d54a3cc](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/2d54a3cc28280383b0879349d9607775fe9892c5) - add community.dns module [ [!114](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/114) ]
|
||||||
|
- **ansible-roles**: [005a2932](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/005a2932886cf57685d9d7764615cafae6b4a456) - updated submodule ansible-roles [ [!113](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/113) ]
|
||||||
|
- **ansible-roles**: [db366e7b](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/db366e7b8ea7ecff10942df89f7cac8bede2e62f) - updated submodule ansible-roles [ [!113](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/113) ]
|
||||||
|
- **ansible-roles**: [28fbff63](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/28fbff63a60ccbfa24e600f3c3c93b409e8dba2b) - updated submodule ansible-roles [ [!112](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/112) ]
|
||||||
|
|
||||||
|
## 0.4.0 (2023-11-12)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- **ansible-roles**: [38fe2703](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/38fe270382867683dc51d1f4e3565cd0d314d5da) - updated submodule ansible-roles [ [!110](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/110) ]
|
||||||
|
- **ansible-roles**: [0aac5d6f](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/0aac5d6fd824ee1c7d9326613f296e48e2898f6e) - updated submodule ansible-roles [ [!109](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/109) ]
|
||||||
|
- **ansible-roles**: [01ae4c92](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/01ae4c92222c8b0b34a2f612ae6d58fc67da750f) - updated submodule ansible-roles [ [!108](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/108) ]
|
||||||
|
- **ansible-roles**: [ba5019e9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/ba5019e9e36bb02992d6b3d1dc415fee04100194) - updated submodule ansible-roles [ [!107](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/107) ]
|
||||||
|
- **ansible-roles**: [4a491742](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/4a4917427c17e748ce7c3b37473e4f2f9336937e) - updated submodule ansible-roles [ [!107](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/107) ]
|
||||||
|
- **ansible-roles**: [3498651d](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/3498651ded5f8662aef6cebedb2477600281d06f) - updated submodule ansible-roles [ [!106](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/106) ]
|
||||||
|
- **ansible_playbooks**: [2f319813](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/2f319813f3922a856c31b8570d9897b30fc29652) - updated submodule ansible_playbooks [ [!106](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/106) ]
|
||||||
|
|
||||||
|
## 0.4.0rc2 (2023-11-05)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- **ansible-roles**: [7cb057b1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/7cb057b120ac5c5e14c655bf5dc9ab955967a84b) - updated submodule ansible-roles [ [!105](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/105) ]
|
||||||
|
|
||||||
|
## 0.4.0rc1 (2023-11-05)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- **ansible-roles**: [8459737c](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/8459737ced229fa8c4a0ff2aeb624114b0f2ac26) - updated submodule ansible-roles [ [!104](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/104) ]
|
||||||
|
- **ansible-roles**: [f557b518](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/f557b51847334a97f9ff482f50ef42808ee60fa6) - updated submodule ansible-roles [ [!103](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/103) ]
|
||||||
|
- **ansible-roles**: [7a83b6e9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/7a83b6e966b3814bc4d57aa0bbd548b535d61051) - updated submodule ansible-roles [ [!102](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/102) ]
|
||||||
|
- **ansible-roles**: [516d4f6e](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/516d4f6e7f7e52d3c44b32b78df6faa599af01a0) - updated submodule ansible-roles [ [!102](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/102) ]
|
||||||
|
- **ansible-roles**: [0460a056](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/0460a05664937806da4100fef76b24e37ea77047) - updated submodule ansible-roles [ [!101](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/101) ]
|
||||||
|
- **ansible-roles**: [45566db2](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/45566db262c69601ffcd24b3fadcc4f384093447) - updated submodule ansible-roles [ [!101](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/101) ]
|
||||||
|
|
||||||
|
## 0.4.0rc0 (2023-10-28)
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- **ansible-roles**: [b59ea1c8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/b59ea1c8160039bdcb744bb5c2463851bc40cfc6) - updated submodule ansible-roles [ [!100](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/100) ]
|
||||||
|
|
||||||
|
## 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
|
||||||
|
|
||||||
|
- **locale**: [ed62936d](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/ed62936d697968e7721e130045250f3926e34923) - Tanty thrown by ansibe now fixed [ [!81](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/81) [#12](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/12) ]
|
||||||
|
- **dockerfile**: [6a108735](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/6a1087350720f46d0d5cec73737a9d05b1e0d3e5) - typo in command
|
||||||
|
- **container**: [9705f44c](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/9705f44c8ac379268ab3e027b130ee438d0c8c89) - correct the dpkg ldconfig error [ [#12](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/12) ]
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- **collection**: [823c9c79](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/823c9c79494517641301201c213a712021364f81) - install community.mysql collection [ [!81](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/81) ]
|
||||||
|
- **security**: [1a1dc118](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/1a1dc118bb358eac44faf100a2af655180b329e5) - update system packages during build [ [!81](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/81) ]
|
||||||
|
- **env_var**: [a430dc64](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/a430dc6400d53f4c494fd8f6ab47484103833168) - new env var of DEBIAN_FRONTEND noninteractive [ [!81](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/81) ]
|
||||||
|
- **software**: [0c05490b](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/0c05490bd9c11924c16a6341bdaa1f8ed1d83c58) - install sshpass for ssh client usage [ [#12](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/12) ]
|
||||||
|
|
||||||
|
## 0.1.1 (2023-06-15)
|
||||||
|
|
||||||
|
## 0.1.1rc5 (2023-06-15)
|
||||||
|
|
||||||
|
## 0.1.1rc4 (2023-06-12)
|
||||||
|
|
||||||
|
## 0.1.1rc3 (2023-06-08)
|
||||||
|
|
||||||
|
## 0.1.1rc2 (2023-06-08)
|
||||||
|
|
||||||
|
### Continious Integration
|
||||||
|
|
||||||
|
- [f5c4b33c](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/f5c4b33c696451629d8f521a47267ce30fee7e91) - mkdocs temp newer image [ [!29](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/29) [#8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/8) ]
|
||||||
|
|
||||||
|
### Documentaton / Guides
|
||||||
|
|
||||||
|
- [56b6e304](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/56b6e304bbdaa9a631a18ac95ffdfe95b7fef307) - fix typo [ [!29](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/29) [#8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/8) ]
|
||||||
|
- [b8b9348e](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/b8b9348e3061345588c51b75b30d22ece3984c56) - added initial docs [ [!29](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/29) [#8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/8) ]
|
||||||
|
|
||||||
## 0.1.1rc1 (2023-06-05)
|
## 0.1.1rc1 (2023-06-05)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
66
dockerfile
66
dockerfile
@ -1,10 +1,18 @@
|
|||||||
|
|
||||||
|
FROM --platform=$TARGETPLATFORM quay.io/ansible/receptor:devel as receptor
|
||||||
|
|
||||||
|
|
||||||
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
|
||||||
|
|
||||||
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
|
||||||
ENV LC_ALL en_US.UTF-8
|
ENV LC_ALL en_US.UTF-8
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
ENV ANSIBLE_PLAYBOOK_DIR=/etc/ansible/playbooks
|
ENV ANSIBLE_PLAYBOOK_DIR=/etc/ansible/playbooks
|
||||||
|
|
||||||
|
ENV ANSIBLE_COLLECTIONS_PATHS=/etc/ansible/collections
|
||||||
|
|
||||||
|
|
||||||
COPY includes /
|
COPY includes /
|
||||||
|
|
||||||
@ -23,31 +31,41 @@ LABEL \
|
|||||||
# org.opencontainers.image.version="{git tag}"
|
# org.opencontainers.image.version="{git tag}"
|
||||||
|
|
||||||
|
|
||||||
|
RUN apt update \
|
||||||
# This Black Magic exists as libc-bin was being a turd and returning errors when trying to install git, ssh.
|
# SoF fixing dpkg ldconfig not found error
|
||||||
# see: https://askubuntu.com/questions/1339558/cant-build-dockerfile-for-arm64-due-to-libc-bin-segmentation-fault
|
&& cd /tmp \
|
||||||
# see: https://github.com/dcycle/prepare-docker-buildx/blob/09057fe4879e31ee780b9e69b87f41327ca8cd8e/example/Dockerfile#L8-L10
|
&& apt-get download \
|
||||||
RUN export DEBIAN_FRONTEND=noninteractive \
|
libc-bin \
|
||||||
&& apt update \
|
&& dpkg --extract ./libc-bin_*.deb /tmp/deb \
|
||||||
&& apt --fix-broken install \
|
&& cp /tmp/deb/sbin/ldconfig /sbin/ \
|
||||||
&& apt install -y libc-bin locales-all \
|
&& rm -Rf /tmp/deb \
|
||||||
&& apt update \
|
&& rm libc-bin_*.deb \
|
||||||
&& apt install --reinstall --no-install-recommends -yq \
|
&& apt-get install --reinstall \
|
||||||
openssh-client \
|
libc-bin \
|
||||||
git || true \
|
# EoF fixing dpkg ldconfig not found error
|
||||||
&& dpkg --purge --force-all libc-bin \
|
# Set Locale to en_US as ansible requires a locale for it to function without chucking a tantrum!!
|
||||||
|
&& apt install -y \
|
||||||
|
locales \
|
||||||
|
&& sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen \
|
||||||
|
&& locale-gen \
|
||||||
|
&& apt list --upgradable \
|
||||||
|
&& apt upgrade --no-install-recommends -y \
|
||||||
&& apt-get install --no-install-recommends -y \
|
&& apt-get install --no-install-recommends -y \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
git \
|
git \
|
||||||
# End of Black Magic
|
sshpass \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
postgresql-common \
|
||||||
|
postgresql-client \
|
||||||
|
mariadb-client \
|
||||||
&& mkdir -p /etc/ansible/roles \
|
&& mkdir -p /etc/ansible/roles \
|
||||||
&& mkdir -p /etc/ansible/collections \
|
&& mkdir -p /etc/ansible/collections \
|
||||||
&& mkdir -p /workdir \
|
&& mkdir -p /workdir \
|
||||||
&& apt list --installed \
|
&& apt list --installed \
|
||||||
# see issue https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9 for following two lines
|
# see issue https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9 for following two lines
|
||||||
&& rm /usr/bin/python3 \
|
&& apt remove -y \
|
||||||
&& ln -s /usr/local/bin/python3.11 /usr/bin/python3
|
python3* \
|
||||||
|
libpython3* \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /workdir
|
WORKDIR /workdir
|
||||||
@ -55,18 +73,22 @@ WORKDIR /workdir
|
|||||||
|
|
||||||
COPY requirements.txt /tmp/requirements.txt
|
COPY requirements.txt /tmp/requirements.txt
|
||||||
|
|
||||||
|
COPY --from=receptor /usr/bin/receptor /usr/bin/receptor
|
||||||
|
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip; \
|
||||||
|
mkdir -p /var/run/receptor
|
||||||
|
|
||||||
RUN pip install --index-url https://gitlab.com/api/v4/projects/45741845/packages/pypi/simple -r /tmp/requirements.txt
|
RUN pip install --index-url https://gitlab.com/api/v4/projects/45741845/packages/pypi/simple -r /tmp/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
RUN ansible-galaxy collection install \
|
RUN ansible-galaxy collection install \
|
||||||
awx.awx \
|
awx.awx \
|
||||||
kubernetes.core \
|
|
||||||
# community.general.gitlab_*
|
|
||||||
community.general \
|
|
||||||
# ansible.posix.authorized_key for SSH
|
# ansible.posix.authorized_key for SSH
|
||||||
ansible.posix \
|
ansible.posix \
|
||||||
|
community.dns \
|
||||||
# docker managment
|
# docker managment
|
||||||
community.docker
|
community.docker \
|
||||||
|
# community.general.gitlab_*
|
||||||
|
community.general \
|
||||||
|
community.mysql \
|
||||||
|
kubernetes.core
|
0
docs/articles/index.md
Normal file
0
docs/articles/index.md
Normal file
0
docs/contact.md
Normal file
0
docs/contact.md
Normal file
0
docs/index.md
Normal file
0
docs/index.md
Normal file
0
docs/operations/index.md
Normal file
0
docs/operations/index.md
Normal file
0
docs/projects/ansible-roles/index.md
Normal file
0
docs/projects/ansible-roles/index.md
Normal file
0
docs/projects/ansible_playbooks/index.md
Normal file
0
docs/projects/ansible_playbooks/index.md
Normal file
92
docs/projects/execution_environment/index.md
Normal file
92
docs/projects/execution_environment/index.md
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
---
|
||||||
|
title: Ansible Execution Environment
|
||||||
|
description: How to use No Fuss Computings Ansible Execution Environment Docker Container.
|
||||||
|
date: 2023-06-05
|
||||||
|
template: project.html
|
||||||
|
about: https://gitlab.com/nofusscomputing/projects/ansible/execution_environment
|
||||||
|
---
|
||||||
|
|
||||||
|
This docker container is designed to be used with Ansible AWX/Tower or from within the Gitlab CI/CD Environment. Included in the container are the following projects from us:
|
||||||
|
|
||||||
|
- [Ansible Playbooks](../ansible_playbooks/index.md)
|
||||||
|
|
||||||
|
- [Ansible Roles](../ansible-roles/index.md)
|
||||||
|
|
||||||
|
This container can be found at dockerhub at <https://hub.docker.com/r/nofusscomputing/ansible-ee> and for use from docker with `docker pull nofusscomputing/ansible-ee`. versioning and git tags are in accordance with semver.
|
||||||
|
|
||||||
|
The docker container is built from the python-slim image with a few extra items added to suit the containers intent. Please refer to the [dockerfile](#Dockerfile). we currently build containers for amd64, armv7 and aarch640.
|
||||||
|
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
Included features are only included if a role that we create requires it. Currently we use the pythonx.xx-{debian release} as abase image which makes available the debian packages should you require additional features/sofware not specified below.
|
||||||
|
|
||||||
|
- custom [ansible.cfg](#ansible%20config%20file)
|
||||||
|
|
||||||
|
- environmental variable `ANSIBLE_PLAYBOOK_DIR` set pointing to `/etc/ansible/playbooks`.
|
||||||
|
|
||||||
|
- Galaxy Collections included
|
||||||
|
|
||||||
|
- Any collection installed with ansible-core
|
||||||
|
|
||||||
|
- awx.awx
|
||||||
|
|
||||||
|
- kubernetes.core
|
||||||
|
|
||||||
|
- community.general
|
||||||
|
|
||||||
|
- ansible.posix
|
||||||
|
|
||||||
|
- community.docker
|
||||||
|
|
||||||
|
- Additional Software within container
|
||||||
|
|
||||||
|
- git
|
||||||
|
|
||||||
|
- openssh-client
|
||||||
|
|
||||||
|
- obviously, since its a python container, python.
|
||||||
|
|
||||||
|
|
||||||
|
## Docker Tags
|
||||||
|
|
||||||
|
We use the following tags for our docker containers
|
||||||
|
|
||||||
|
- `latest` This is the latest stable code from the master branch, and will always match the newest non `rc` git and dockerhub tag. Built on merge from development to master branch.
|
||||||
|
|
||||||
|
- `\d.\d\.d` i.e. `1.0.0` This layout of tag is the latest git tag from the master branch. Built on merge from development to master branch after the gitlab release job runs.
|
||||||
|
|
||||||
|
- `dev` This tag is from the latet build from the development branch, this is considered unstable. on every merge to this branch, the container is built and pushed to this tag on dockerhub.
|
||||||
|
|
||||||
|
!!! Info
|
||||||
|
We use this tag within our gitlab-ci roles. Eventhough it's considered unstable, using it for our CI jobs enables an extra gate in our release cycle to find and fix issues prior to releaseing to stable.
|
||||||
|
|
||||||
|
- `\d.\d.\drc\d` i.e. `1.0.0.rc0` This tag is used on the development branch as a means to take a snapshot of the code. Built on the gitlab release job being triggered on the development branch.
|
||||||
|
|
||||||
|
|
||||||
|
## Dockerfile
|
||||||
|
|
||||||
|
``` dockerfile title="dockerfile" linenums="1"
|
||||||
|
|
||||||
|
--8<-- "dockerfile"
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
This dockerfile is only used to build the python packages for cross platform compilation.
|
||||||
|
|
||||||
|
``` dockerfile title="dockerfile-build_cache" linenums="1"
|
||||||
|
|
||||||
|
--8<-- "dockerfile-build_cache"
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## ansible config file
|
||||||
|
|
||||||
|
This ansible config file is included within this docker container.
|
||||||
|
|
||||||
|
``` ini title="/etc/ansible/ansible.cfg" linenums="1"
|
||||||
|
|
||||||
|
--8<-- "includes/etc/ansible/ansible.cfg"
|
||||||
|
|
||||||
|
```
|
0
docs/projects/gitlab-ci/index.md
Normal file
0
docs/projects/gitlab-ci/index.md
Normal file
0
docs/projects/index.md
Normal file
0
docs/projects/index.md
Normal file
0
docs/tags.md
Normal file
0
docs/tags.md
Normal file
Submodule gitlab-ci updated: 1e21ff2709...52f4ebda54
Submodule includes/etc/ansible/playbooks updated: 36cde1f06b...ef8574a6e4
Submodule includes/etc/ansible/roles updated: 04f0bfd0d1...cacc05eb2a
31
mkdocs.yml
Normal file
31
mkdocs.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
INHERIT: website-template/mkdocs.yml
|
||||||
|
|
||||||
|
docs_dir: 'docs'
|
||||||
|
|
||||||
|
repo_name: Ansible-EE
|
||||||
|
repo_url: https://gitlab.com/nofusscomputing/projects/ansible/execution_environment
|
||||||
|
edit_uri: '/-/ide/project/nofusscomputing/projects/ansible/execution_environment/edit/development/-/docs/'
|
||||||
|
|
||||||
|
nav:
|
||||||
|
- Home: index.md
|
||||||
|
|
||||||
|
- Articles:
|
||||||
|
|
||||||
|
- articles/index.md
|
||||||
|
|
||||||
|
- Projects:
|
||||||
|
|
||||||
|
- projects/index.md
|
||||||
|
|
||||||
|
- Ansible Roles:
|
||||||
|
|
||||||
|
- Execution Environment:
|
||||||
|
|
||||||
|
- projects/execution_environment/index.md
|
||||||
|
|
||||||
|
- Operations:
|
||||||
|
|
||||||
|
- operations/index.md
|
||||||
|
|
||||||
|
- Contact Us: contact.md
|
||||||
|
|
@ -1,5 +1,12 @@
|
|||||||
ansible-core==2.14.5
|
ansible-core==2.14.5
|
||||||
ansible-lint==6.15.0
|
ansible-lint==6.15.0
|
||||||
|
ansible-runner==2.3.4
|
||||||
|
|
||||||
# Required for community.general.gitlab_*
|
# 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
|
||||||
|
|
||||||
|
dnspython
|
1
website-template
Submodule
1
website-template
Submodule
Submodule website-template added at 992b54805b
Reference in New Issue
Block a user