100 Commits

Author SHA1 Message Date
00fec19008 build(version): bump version 0.1.1rc1 → 0.1.1rc2 2023-06-08 04:32:39 +00:00
Jon
fa6b5143ee Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!43
2023-06-08 04:19:05 +00:00
Jon
7f2c67dd83 chore(git): manual update submodule
!43
2023-06-08 13:45:51 +09:30
Jon
88b1196345 Merge branch 'automated-tasks' into 'development'
chore(gitlab-ci): Automated update of git sub-module

See merge request nofusscomputing/projects/ansible/execution_environment!41
2023-06-08 03:59:38 +00:00
730164bd17 chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "755fcac06e9f265789b02a88eb90df35ab1dbf07)",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "ae8b936c5d6df2d2bda22d89b0a01ee6a77bef16)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out ae8b936c5d6df2d2bda22d89b0a01ee6a77bef16

MR !41
2023-06-08 03:48:22 +00:00
Jon
d517411282 Merge branch 'automated-tasks' into 'development'
chore(ansible-roles): Automated update of git sub-module

See merge request nofusscomputing/projects/ansible/execution_environment!40
2023-06-08 02:09:41 +00:00
fde14297d9 chore(git): updated submodule includes/etc/ansible/roles
Automation Data:
{
    "branch": "development",
    "current_commit": "8fd16f8c2a2955b6aa80919d330c8e70b93eb15c)",
    "name": "includes/etc/ansible/roles",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/roles",
    "remote_head": "6261c00295e02646d08fac0b6e5f172bae9dd068)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible-roles.git"
}

Changes: Submodule path includes/etc/ansible/roles: checked out 6261c00295e02646d08fac0b6e5f172bae9dd068

MR !40
2023-06-08 02:02:57 +00:00
3b64142b31 Merge branch 'automated-tasks' into 'development'
chore(ansible-roles): Automated update of git sub-module

See merge request nofusscomputing/projects/ansible/execution_environment!39
2023-06-07 05:59:14 +00:00
f6a83efd70 chore(git): updated submodule ansible-roles
Automation Data:
{
    "branch": "development",
    "current_commit": "193723df4fbf0e6435aaaee34bc3dad42c2f9cf4)",
    "name": "ansible-roles",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/roles",
    "remote_head": "8fd16f8c2a2955b6aa80919d330c8e70b93eb15c)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible-roles.git"
}

Changes: Submodule path includes/etc/ansible/roles: checked out 8fd16f8c2a2955b6aa80919d330c8e70b93eb15c

MR !39
2023-06-07 05:58:35 +00:00
d7038cb885 Merge branch 'automated-tasks' into 'development'
chore(ansible_playbooks): Automated update of git sub-module

See merge request nofusscomputing/projects/ansible/execution_environment!38
2023-06-07 04:20:01 +00:00
ce5568d081 chore(git): updated submodule ansible_playbooks
Automation Data:
{
    "branch": "development",
    "current_commit": "54efe23dcc0083559a5bf71776c42ac84183e850)",
    "name": "ansible_playbooks",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/playbooks",
    "remote_head": "55c87bd05943ebc63ccb85eb4d451d8268760d11)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible_playbooks.git"
}

Changes: Submodule path includes/etc/ansible/playbooks: checked out 55c87bd05943ebc63ccb85eb4d451d8268760d11

MR !38
2023-06-07 04:19:22 +00:00
7d20562e5f Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!37
2023-06-07 04:19:03 +00:00
8292d2ea4f chore(git): updated submodule ansible-roles
Automation Data:
{
    "branch": "development",
    "current_commit": "f17425f4a16e4b6812f2cb369baefccf3c0f80ad)",
    "name": "ansible-roles",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/roles",
    "remote_head": "193723df4fbf0e6435aaaee34bc3dad42c2f9cf4)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible-roles.git"
}

Changes: Submodule path includes/etc/ansible/roles: checked out 193723df4fbf0e6435aaaee34bc3dad42c2f9cf4

MR !37
2023-06-07 04:18:25 +00:00
cce1f61063 Merge branch 'automated-tasks' into 'development'
chore(gitlab-ci): Automated update of git sub-module

See merge request nofusscomputing/projects/ansible/execution_environment!36
2023-06-07 04:13:51 +00:00
2eb0dbcf08 chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "0b5680deacbf4041516d4c1276982232d4f908b6)",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "755fcac06e9f265789b02a88eb90df35ab1dbf07)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out 755fcac06e9f265789b02a88eb90df35ab1dbf07

MR !36
2023-06-07 04:13:10 +00:00
Jon
4a8650e067 Merge branch 'automated-tasks' into 'development'
chore(git): manual update submodule

See merge request nofusscomputing/projects/ansible/execution_environment!35
2023-06-07 03:49:32 +00:00
Jon
1cb4e82dd8 chore(git): manual update submodule
!35
2023-06-07 13:18:34 +09:30
Jon
e19ea7aef5 Merge branch 'automated-tasks' into 'development'
chore(git): manual update submodule

See merge request nofusscomputing/projects/ansible/execution_environment!34
2023-06-05 20:12:02 +00:00
Jon
25d1ca3558 chore(git): manual update submodule
!34
2023-06-06 05:41:01 +09:30
Jon
1b7cdc716f Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!33
2023-06-05 19:48:31 +00:00
Jon
197dc0f4b2 chore(git): manual update submodule
!33
2023-06-06 05:16:28 +09:30
df32baba7c Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!32
2023-06-05 19:14:02 +00:00
859c027611 chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "e57f7f09085121373ce5ca6a4eb356cb89e53709)",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "928d625469425c23a1ef15e0e9c06bd00c12f8fe)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out 928d625469425c23a1ef15e0e9c06bd00c12f8fe

MR !32
2023-06-05 19:12:18 +00:00
89569ee691 Merge branch 'automated-tasks' into 'development'
chore(gitlab-ci): Automated update of git sub-module

See merge request nofusscomputing/projects/ansible/execution_environment!31
2023-06-05 19:03:59 +00:00
a3cdc8255d chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "1e21ff27098444206cbb9309ef95fc64d730f26d)",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "e57f7f09085121373ce5ca6a4eb356cb89e53709)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out e57f7f09085121373ce5ca6a4eb356cb89e53709

MR !31
2023-06-05 19:02:10 +00:00
1401254b8e Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!30
2023-06-05 05:25:59 +00:00
b353e03987 chore(git): updated submodule includes/etc/ansible/roles
Automation Data:
{
    "branch": "development",
    "current_commit": "04f0bfd0d12269c477892e2a0a57d68984487ee9)",
    "name": "includes/etc/ansible/roles",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/roles",
    "remote_head": "8133ff63213727ff02f0325c2d8a3b1af95f0480)",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible-roles.git"
}

Changes: Submodule path includes/etc/ansible/roles: checked out 8133ff63213727ff02f0325c2d8a3b1af95f0480

MR !30
2023-06-05 05:24:20 +00:00
Jon
15d25c5540 Merge branch '8-initial-docs' into 'development'
docs: initial documentation

Closes #8

See merge request nofusscomputing/projects/ansible/execution_environment!29
2023-06-05 05:17:31 +00:00
Jon
56b6e304bb docs: fix typo
!29 close #8
2023-06-05 14:44:13 +09:30
Jon
f5c4b33c69 ci: mkdocs temp newer image
!29 #8
2023-06-05 14:25:45 +09:30
Jon
b8b9348e30 docs: added initial docs
!29 #8
2023-06-05 14:18:49 +09:30
Jon
592344e642 build(website-template): added as git submodule for docs
!29 #8
2023-06-05 13:45:46 +09:30
cc1c073a64 build(version): bump version 0.1.1rc0 → 0.1.1rc1 2023-06-05 03:31:28 +00:00
Jon
a2d6baf705 Merge branch 'fix-non-urgent' into 'development'
fix: manual update

See merge request nofusscomputing/projects/ansible/execution_environment!28
2023-06-05 02:44:43 +00:00
Jon
5a90438f8c chore(git): update all to current HEAD
!28
2023-06-05 12:12:11 +09:30
Jon
a1e3a0c656 feat(ansible): ansible.cfg added workdir roles
!28
2023-06-05 12:11:47 +09:30
ea2e336aac Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!26
2023-06-05 02:38:18 +00:00
ba3b32dc47 chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "6201afaf7e82411af1d0d173d54dffe1d404544a",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "1e21ff27098444206cbb9309ef95fc64d730f26d",
    "remote_name": "",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out 1e21ff27098444206cbb9309ef95fc64d730f26d

MR !26
2023-06-05 02:36:51 +00:00
Jon
b4f08f2995 Merge branch 'fix-non-urgent' into 'development'
fix: non urgent

See merge request nofusscomputing/projects/ansible/execution_environment!24
2023-06-05 02:26:59 +00:00
Jon
e82f96a402 fix(python): linked ansible used python to 3.11
see nofusscomputing/projects/ansible/execution_environment#9 for issue WRT the python version

!24 nofusscomputing/infrastructure/config#22 nofusscomputing/infrastructure/config!27 nofusscomputing/projects/ansible/execution_environment#9
2023-06-05 09:56:50 +09:30
Jon
369987eaf5 feat(ansible): add galaxy collection community.docker
this collection is required so that docker containers can be managed

!24 nofusscomputing/infrastructure/config#22 nofusscomputing/infrastructure/config!27
2023-06-05 09:35:00 +09:30
Jon
e48800bf8e feat(ansible): add galaxy collection ansible.posix
this collection is required so that ssh auth_keys can be used

!24 nofusscomputing/infrastructure/config#22 nofusscomputing/infrastructure/config!27
2023-06-04 14:03:44 +09:30
Jon
e146a0934e Merge branch 'chore-submodule-update' into 'development'
chore(git): update all to current HEAD

See merge request nofusscomputing/projects/ansible/execution_environment!23
2023-06-03 04:42:25 +00:00
Jon
55ffc49281 chore(git): update all to current HEAD
!23
2023-06-03 14:10:43 +09:30
Jon
9ee993c60e Merge branch 'chore-submodule-update' into 'development'
chore(git): update all to current HEAD

See merge request nofusscomputing/projects/ansible/execution_environment!22
2023-06-03 04:11:55 +00:00
Jon
5436e2b0f0 chore(git): update all to current HEAD
!22
2023-06-03 13:40:13 +09:30
Jon
ff5813903f Merge branch 'chore-submodule-update' into 'development'
chore(git): update all to current HEAD

See merge request nofusscomputing/projects/ansible/execution_environment!21
2023-06-03 03:40:16 +00:00
Jon
adfe708f7c chore(git): update all to current HEAD
!21
2023-06-03 13:08:30 +09:30
Jon
085317dc81 Merge branch 'chore-submodule-update' into 'development'
chore(git): update all to current HEAD

See merge request nofusscomputing/projects/ansible/execution_environment!20
2023-06-03 02:08:52 +00:00
Jon
6bf1a8f334 chore(git): update all to current HEAD
-!20 nofusscomputing/projects/ansible/git_configuration!62 nofusscomputing/projects/gitlab-ci!49
2023-06-03 11:36:17 +09:30
c5232b82b1 Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!18
2023-06-01 06:25:32 +00:00
7de7efaab8 chore(git): updated submodule includes/etc/ansible/roles
Automation Data:
{
    "branch": "development",
    "current_commit": "f361c09aca8925a281600ce8047c76111e90eaf8",
    "name": "includes/etc/ansible/roles",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/roles",
    "remote_head": "21b1049089540b3bacc97c34d2d0b10be7a83070",
    "remote_name": "",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible-roles.git"
}

Changes: Submodule path includes/etc/ansible/roles: checked out 21b1049089540b3bacc97c34d2d0b10be7a83070

MR !18
2023-06-01 06:15:17 +00:00
eb9326f371 Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!17
2023-06-01 05:43:37 +00:00
51ef1528da chore(git): updated submodule includes/etc/ansible/playbooks
Automation Data:
{
    "branch": "development",
    "current_commit": "bf16a59207fc9bfe34b524a378b768b228ed0919",
    "name": "includes/etc/ansible/playbooks",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/includes/etc/ansible/playbooks",
    "remote_head": "0defc58bd4fb865ed08d1818e1808ec214963aa7",
    "remote_name": "",
    "url": "https://gitlab.com/nofusscomputing/projects/ansible/ansible_playbooks.git"
}

Changes: Submodule path includes/etc/ansible/playbooks: checked out 0defc58bd4fb865ed08d1818e1808ec214963aa7

MR !17
2023-06-01 05:33:33 +00:00
86e38ce4ef Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!16
2023-06-01 05:32:12 +00:00
1b3c6ee7db chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "b3c84836771453744fa4bac9d739199fe0ec1160",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "6a2266177bd6393384fb233933c898e3fbe5d86b",
    "remote_name": "",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out 6a2266177bd6393384fb233933c898e3fbe5d86b

MR !16
2023-06-01 05:22:07 +00:00
Jon
3cc035721a Merge branch 'ansible-roles-restructure-ops-74' into 'development'
refactor: ansible roles

See merge request nofusscomputing/projects/ansible/execution_environment!15
2023-06-01 05:01:25 +00:00
Jon
e2852ebe29 refactor(build): other projects included as git submodule
this was done so that any rebuild due to submodule update
could be tracked and viewable within the history.

!15 nofusscomputing/ops#74
2023-06-01 14:20:51 +09:30
b713b3e6b7 Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!14
2023-06-01 03:11:48 +00:00
8379ecbf67 chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "2b57d0b1600025879bcf102d93cc476324b45f86",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "b3c84836771453744fa4bac9d739199fe0ec1160",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out b3c84836771453744fa4bac9d739199fe0ec1160

MR !14
2023-06-01 03:02:27 +00:00
2792f413c9 Merge branch 'automated-tasks' into 'development'
chore(git): Automated update of git sub-modules

See merge request nofusscomputing/projects/ansible/execution_environment!13
2023-06-01 02:54:38 +00:00
31f8fd0e0f chore(git): updated submodule gitlab-ci
Automation Data:
{
    "branch": "development",
    "current_commit": "e9713b31c8e5b30c27331eea23a690194f63394f",
    "name": "gitlab-ci",
    "path": "/builds/nofusscomputing/projects/ansible/execution_environment/_automation_/gitlab-ci",
    "remote_head": "2b57d0b1600025879bcf102d93cc476324b45f86",
    "remote_name": "origin",
    "url": "https://gitlab.com/nofusscomputing/projects/gitlab-ci.git"
}

Changes: Submodule path gitlab-ci: checked out 2b57d0b1600025879bcf102d93cc476324b45f86

MR !13
2023-06-01 02:45:22 +00:00
Jon
5bb4a209f3 Merge branch 'feat-ci-submodule' into 'development'
feat: ci submodule

See merge request nofusscomputing/projects/ansible/execution_environment!12
2023-06-01 02:44:32 +00:00
Jon
6b785d0c53 feat(ci): use project gitlab-ci automagic template
!12
2023-06-01 12:04:40 +09:30
Jon
6dfba719cc Merge branch 'fix-roles-git-submodules-not-included' into 'development'
feat(playbooks): add nfc ansible playbooks to image

Closes #7

See merge request nofusscomputing/projects/ansible/execution_environment!11
2023-05-27 04:33:23 +00:00
Jon
07cdde820a refactor(playbooks): seperated git clone to own run
!11 closes #7 nofusscomputing/projects/ansible/ansible_playbooks!1 nofusscomputing/projects/ansible/ansible_playbooks#1
2023-05-27 13:53:51 +09:30
Jon
c98427e00e chore(git): update to current HEAD
#11
2023-05-27 13:01:25 +09:30
Jon
1da35d5770 feat(playbooks): add nfc ansible playbooks to image
!11 #7 nofusscomputing/projects/ansible/ansible_playbooks!1 nofusscomputing/projects/ansible/ansible_playbooks#1
2023-05-27 13:00:52 +09:30
Jon
469b99b88d Merge branch 'fix-roles-git-submodules-not-included' into 'development'
feat(module): add collection community.general

See merge request nofusscomputing/projects/ansible/execution_environment!10
2023-05-26 09:49:55 +00:00
Jon
24a65b4d99 feat(module): add collection community.general
this is required for the use of the community.general.gitlab_* namespace

!10
2023-05-26 17:02:47 +09:30
Jon
eab21aad9e Merge branch 'fix-roles-git-submodules-not-included' into 'development'
fix(git_config): again! ensure cloned ansible-roles has submodules init

See merge request nofusscomputing/projects/ansible/execution_environment!9
2023-05-26 06:13:35 +00:00
Jon
318a91ce6d fix(git_config): again! ensure cloned ansible-roles has submodules init
!9
2023-05-26 15:34:57 +09:30
Jon
9b67f9aa8d Merge branch 'fix-roles-git-submodules-not-included' into 'development'
fix(git_config): ensure cloned ansible-roles has submodules init

See merge request nofusscomputing/projects/ansible/execution_environment!8
2023-05-26 05:45:48 +00:00
Jon
30797b4577 fix(git_config): ensure cloned ansible-roles has submodules init
!8
2023-05-26 15:06:54 +09:30
26dcc382b0 build(version): bump version 0.1.0 → 0.1.1rc0 2023-05-23 06:04:30 +00:00
Jon
0bf72f8945 Merge branch 'non-specific-development' into 'development'
chore: non specific development

See merge request nofusscomputing/projects/ansible/execution_environment!7
2023-05-23 05:53:47 +00:00
Jon
eaab0035ac chore: update to current head
!7
2023-05-23 15:14:06 +09:30
Jon
f93ef764ff fix(ci): ensure binfmt initialized
!7
2023-05-21 14:06:44 +09:30
Jon
f35259f796 fix(ci): update to new template path
!7
2023-05-21 14:06:02 +09:30
Jon
d9df60e27f fix(readme): typo in dev branch badge
!7
2023-05-15 13:51:02 +09:30
b76772d955 build(version): bump version 0.0.1 → 0.1.0 2023-05-15 02:08:53 +00:00
Jon
aa8804f887 Merge branch 'genesis' into 'development'
chore: add project

See merge request nofusscomputing/projects/ansible/execution_environment!3
2023-05-15 01:32:34 +00:00
Jon
b0f236d935 ci: update to current gitlab-ci project dev head
!3
2023-05-15 10:50:47 +09:30
Jon
5484d6315a chore: update submodule to current dev
!3
2023-05-14 16:15:11 +09:30
Jon
fb7db64235 docs: todo
!3
2023-05-13 14:37:15 +09:30
Jon
3e7094c243 feat(ci): use nfc gitlab-ci project for ci
!3
2023-05-13 14:33:24 +09:30
Jon
3f6e77b0ed feat(python_build): compile and cache pip packages
!3
2023-05-13 14:32:15 +09:30
Jon
0a367146bf ci(publish): default to dev tag for image
!3
2023-05-08 11:17:42 +09:30
Jon
42d2cb79df fix(ci): syntax error
!3
2023-05-08 10:50:46 +09:30
Jon
53e445d155 fix(ci): specify commitezen version
this is a temp fix so that the existing task scripts work

!3
2023-05-08 10:37:08 +09:30
Jon
e1ffb03ce4 fix(ci): use specified dind imge
!3
2023-05-08 10:29:20 +09:30
Jon
cd82c7c3d7 fix(ci): ensure submodules expanded
!3
2023-05-08 10:24:46 +09:30
Jon
f944a3c6ee chore: initial project files
!3
2023-05-08 10:20:02 +09:30
Jon
f43f265c7f ci: added initial ci jobs
!3
2023-05-08 10:19:40 +09:30
Jon
ea1c9ec676 Merge branch 'ansible-git-config' into 'development'
chore: Ansible Automated updates

See merge request nofusscomputing/projects/ansible/execution_environment!2
2023-05-07 04:02:34 +00:00
669689e8df docs(readme): Updated Repository README
Updated by ansible

MR !$MR_NUMBER
2023-05-07 12:52:26 +09:30
Jon
96b9cf0bbb Merge branch 'ansible-git-config' into 'development'
chore: Ansible Automated updates

See merge request nofusscomputing/projects/ansible/execution_environment!1
2023-05-07 03:18:03 +00:00
Jon
e6ce3f9581 ci: add dummy job
!1
2023-05-07 12:46:24 +09:30
2cbc4e11d9 docs(readme): Updated Repository README
Updated by ansible

MR !$MR_NUMBER
2023-05-07 12:19:13 +09:30
Jon
1c517d4157 ci(github): add github sync job
!1
2023-05-05 11:29:09 +09:30
26 changed files with 506 additions and 2 deletions

7
.cz.yaml Normal file
View File

@ -0,0 +1,7 @@
commitizen:
bump_message: "build(version): bump version $current_version \u2192 $new_version"
changelog_incremental: false
name: cz_conventional_commits
tag_format: $major.$minor.$patch$prerelease
update_changelog_on_bump: true
version: 0.1.1rc2

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.gitlab-ci.yml
README.md

61
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,61 @@
---
variables:
MY_PROJECT_ID: "45741845"
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_PUBLISH_NAME: 'ansible-ee'
DOCKER_IMAGE_PUBLISH_REGISTRY: docker.io/nofusscomputing
DOCKER_IMAGE_PUBLISH_URL: https://hub.docker.com/r/nofusscomputing/$DOCKER_IMAGE_PUBLISH_NAME
PAGES_ENVIRONMENT_PATH: projects/execution_environment/
include:
- project: nofusscomputing/projects/gitlab-ci
ref: development
file:
- template/automagic.gitlab-ci.yaml
#- 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:
stage: build
image: nofusscomputing/docker-buildx-qemu:dev
services:
- name: docker:23-dind
entrypoint: ["env", "-u", "DOCKER_HOST"]
command: ["dockerd-entrypoint.sh"]
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
before_script:
- docker info
#- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- pip3 install setuptools wheel
- pip3 install commitizen==2.21.0 # version specified so current build works.
- pip3 install gitlab-ci/gitlab_release/python-module/cz_nfc/.
# see: https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/1861
# on why this `docker run` is required. without it multiarch support doesnt work.
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- update-binfmts --enable # Important: Ensures execution of other binary formats is enabled in the kernel
- docker buildx create --driver=docker-container --driver-opt image=moby/buildkit:v0.11.6 --use
- docker buildx inspect --bootstrap
script: |
docker buildx build \
--file dockerfile-build_cache \
--platform=$DOCKER_IMAGE_BUILD_TARGET_PLATFORMS . \
--build-arg CI_JOB_TOKEN=$CI_JOB_TOKEN \
--build-arg CI_API_V4_URL=$CI_API_V4_URL \
--build-arg CI_PROJECT_ID=$CI_PROJECT_ID
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: $CI_COMMIT_TAG
when: never
- if: '$CI_COMMIT_BRANCH != "master"'
allow_failure: true
when: manual
- when: never

16
.gitmodules vendored Normal file
View File

@ -0,0 +1,16 @@
[submodule "gitlab-ci"]
path = gitlab-ci
url = https://gitlab.com/nofusscomputing/projects/gitlab-ci.git
branch = development
[submodule "ansible-roles"]
path = includes/etc/ansible/roles
url = https://gitlab.com/nofusscomputing/projects/ansible/ansible-roles.git
branch = development
[submodule "ansible_playbooks"]
path = includes/etc/ansible/playbooks
url = https://gitlab.com/nofusscomputing/projects/ansible/ansible_playbooks.git
branch = development
[submodule "website-template"]
path = website-template
url = https://gitlab.com/nofusscomputing/infrastructure/website-template.git
branch = development

8
.nfc_automation.yaml Normal file
View File

@ -0,0 +1,8 @@
---
role_git_conf:
gitlab:
submodule_branch: "development"
default_branch: development
mr_labels: ~"type::automation" ~"impact::0" ~"priority::0"
auto_merge: true

70
CHANGELOG.md Normal file
View File

@ -0,0 +1,70 @@
## 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)
### Bug Fixes
- **python**: [e82f96a4](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/e82f96a40269b42a5421360724e93768b2958bdb) - linked ansible used python to 3.11 [ [#9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9) [!24](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/24) [#22](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/22) [!27](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/27) [#9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/9) ]
- **git_config**: [318a91ce](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/318a91ce6d7bd08ff7bde514b33a13a01235afc6) - again! ensure cloned ansible-roles has submodules init [ [!9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/9) ]
- **git_config**: [30797b45](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/30797b4577589c39eed0ae63ce2df37f9920f2a8) - ensure cloned ansible-roles has submodules init [ [!8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/8) ]
### Code Refactor
- **build**: [e2852ebe](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/e2852ebe292bc838d95048515a8dca0d93ccbc24) - other projects included as git submodule [ [!15](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/15) [#74](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/74) ]
- **playbooks**: [07cdde82](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/07cdde820a6b42e607966257c373239bb1b20ccb) - seperated git clone to own run [ [!11](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/11) [#7](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/7) [!1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/1) [#1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/1) ]
### Features
- **ansible**: [a1e3a0c6](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/a1e3a0c656897c28c7d778ead46dac11e9edf5aa) - ansible.cfg added workdir roles [ [!28](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/28) ]
- **ansible**: [369987ea](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/369987eaf5755c193b9d1fd53f614799139acdd4) - add galaxy collection community.docker [ [!24](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/24) [#22](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/22) [!27](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/27) ]
- **ansible**: [e48800bf](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/e48800bf8ea2922a37992770a9b63ea6ca425cd4) - add galaxy collection ansible.posix [ [!24](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/24) [#22](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/22) [!27](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/27) ]
- **ci**: [6b785d0c](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/6b785d0c532d432c4f88387c13d12d3870a71d04) - use project gitlab-ci automagic template [ [!12](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/12) ]
- **playbooks**: [1da35d57](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/1da35d57709480ecde0573a33647f8dcb17ebffb) - add nfc ansible playbooks to image [ [!11](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/11) [#7](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/7) [!1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/1) [#1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues/1) ]
- **module**: [24a65b4d](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/24a65b4d99876c1bf09da81bab7a1942b32f2dd1) - add collection community.general [ [!10](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/10) ]
## 0.1.1rc0 (2023-05-23)
### Bug Fixes
- **ci**: [f93ef764](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/f93ef764ff07c4c8fa7582553a667eeb6d628de1) - ensure binfmt initialized [ [!7](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/7) ]
- **ci**: [f35259f7](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/f35259f796516e235bd8060c3ccfd058514343aa) - update to new template path [ [!7](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/7) ]
- **readme**: [d9df60e2](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/d9df60e27f75004ce05ccb495d970c32325cb712) - typo in dev branch badge [ [!7](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/7) ]
## 0.1.0 (2023-05-15)
### Bug Fixes
- **ci**: [42d2cb79](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/42d2cb79dfc9d1ecbdab9945b327d819f00631fe) - syntax error [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- **ci**: [53e445d1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/53e445d15511bb7691acc273d2e0c90c02da30d8) - specify commitezen version [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- **ci**: [e1ffb03c](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/e1ffb03ce4473b4ef8d56a56847fc27390df8bfd) - use specified dind imge [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- **ci**: [cd82c7c3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/cd82c7c3d7a81a27f10c15ec3a6aaedbe2712894) - ensure submodules expanded [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
### Continious Integration
- [b0f236d9](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/b0f236d93553f1301a8487092e0cb5105b7abccc) - update to current gitlab-ci project dev head [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- **publish**: [0a367146](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/0a367146bfa5b409273c0412fca8f4d33287068d) - default to dev tag for image [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- [f43f265c](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/f43f265c7f1691c58bcdf8bb4ec0a0bf8fb0be6f) - added initial ci jobs [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- [e6ce3f95](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/e6ce3f9581a90f5ce4d11eaf16e89b6956ec39c9) - add dummy job [ [!1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/1) ]
- **github**: [1c517d41](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/1c517d41575b838e61561f03fcf1d118df163f55) - add github sync job [ [!1](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/1) ]
### Documentaton / Guides
- [fb7db642](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/fb7db64235133aac3ff02331b14ae8131f9da9bf) - todo [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- **readme**: [669689e8](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/669689e8df76bc3d3225081db99918cbd4b51688) - Updated Repository README
- **readme**: [2cbc4e11](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/2cbc4e11d9e4e935db54ae1e3e319b1e4d813299) - Updated Repository README
### Features
- **ci**: [3e7094c2](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/3e7094c243e8a22bf3443bf8db176a4f0b69776c) - use nfc gitlab-ci project for ci [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
- **python_build**: [3f6e77b0](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/commit/3f6e77b0ed651a1f0418ada7d8849b5f048880f1) - compile and cache pip packages [ [!3](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests/3) ]
## 0.0.1 (2023-05-05)

View File

@ -1,3 +1,61 @@
# execution environment Repository.
<div align="center" width="100%">
This repository was created by ansible!!
# No Fuss Computing - Execution Environment
<br>
![Project Status - Active](https://img.shields.io/badge/Project%20Status-Active-green?logo=gitlab&style=plastic)
<br>
![Gitlab forks count](https://img.shields.io/badge/dynamic/json?label=Forks&query=%24.forks_count&url=https%3A%2F%2Fgitlab.com%2Fapi%2Fv4%2Fprojects%2F45741845%2F&color=ff782e&logo=gitlab&style=plastic) ![Gitlab stars](https://img.shields.io/badge/dynamic/json?label=Stars&query=%24.star_count&url=https%3A%2F%2Fgitlab.com%2Fapi%2Fv4%2Fprojects%2F45741845%2F&color=ff782e&logo=gitlab&style=plastic) [![Open Issues](https://img.shields.io/badge/dynamic/json?color=ff782e&logo=gitlab&style=plastic&label=Open%20Issues&query=%24.statistics.counts.opened&url=https%3A%2F%2Fgitlab.com%2Fapi%2Fv4%2Fprojects%2F45741845%2Fissues_statistics)](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues)
![GitHub forks](https://img.shields.io/github/forks/NofussComputing/execution_environment?logo=github&style=plastic&color=000000&labell=Forks) ![GitHub stars](https://img.shields.io/github/stars/NofussComputing/execution_environment?color=000000&logo=github&style=plastic) ![Github Watchers](https://img.shields.io/github/watchers/NofussComputing/execution_environment?color=000000&label=Watchers&logo=github&style=plastic)
<br>
This project is hosted on [gitlab](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment) and has a read-only copy hosted on [Github](https://github.com/NofussComputing/execution_environment).
----
**Stable Branch**
![Gitlab build status - stable](https://img.shields.io/badge/dynamic/json?color=ff782e&label=Build&query=0.status&url=https%3A%2F%2Fgitlab.com%2Fapi%2Fv4%2Fprojects%2F45741845%2Fpipelines%3Fref%3Dmaster&logo=gitlab&style=plastic) ![branch release version](https://img.shields.io/badge/dynamic/yaml?color=ff782e&logo=gitlab&style=plastic&label=Release&query=%24.commitizen.version&url=https%3A//gitlab.com/nofusscomputing/projects/ansible/execution_environment%2F-%2Fraw%2Fmaster%2F.cz.yaml)
----
**Development Branch**
![Gitlab build status - development](https://img.shields.io/badge/dynamic/json?color=ff782e&label=Build&query=0.status&url=https%3A%2F%2Fgitlab.com%2Fapi%2Fv4%2Fprojects%2F45741845%2Fpipelines%3Fref%3Ddevelopment&logo=gitlab&style=plastic) ![branch release version](https://img.shields.io/badge/dynamic/yaml?color=ff782e&logo=gitlab&style=plastic&label=Release&query=%24.commitizen.version&url=https%3A//gitlab.com/nofusscomputing/projects/ansible/execution_environment%2F-%2Fraw%2Fdevelopment%2F.cz.yaml)
----
<br>
</div>
links:
- [Issues](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/issues)
- [Merge Requests (Pull Requests)](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment/-/merge_requests)
## Documentation
**TO DO:**
point docs to gitlab-ci for docker build
## Contributing
All contributions for this project must conducted from [Gitlab](https://gitlab.com/nofusscomputing/projects/ansible/execution_environment).
For further details on contributing please refer to the [contribution guide](CONTRIBUTING.md).
## Other
This repo is release under this [license](LICENSE)

72
dockerfile Normal file
View File

@ -0,0 +1,72 @@
FROM --platform=$TARGETPLATFORM python:3.11-bullseye
# Ansible chucks a wobbler without. see: https://github.com/ansible/ansible/issues/78283
ENV LC_ALL en_US.UTF-8
ENV ANSIBLE_PLAYBOOK_DIR=/etc/ansible/playbooks
COPY includes /
# Ref: https://github.com/opencontainers/image-spec/blob/d86384efdb8c30770a92415c100f57a9bffbb64e/annotations.md
LABEL \
# org.opencontainers.image.authors="{contributor url}" \
org.opencontainers.image.vendor="No Fuss Computing" \
# org.opencontainers.image.url="{dockerhub url}" \
# org.opencontainers.image.documentation="{docs url}" \
# org.opencontainers.image.source="{repo url}" \
# org.opencontainers.image.revision="{git commit sha at time of build}" \
org.opencontainers.image.title="No Fuss Computings Ansible Execution Environment" \
org.opencontainers.image.description="An ansible execution environment for awx/tower and CI/CD pipelines" \
org.opencontainers.image.vendor="No Fuss Computing"
# org.opencontainers.image.version="{git tag}"
# This Black Magic exists as libc-bin was being a turd and returning errors when trying to install git, ssh.
# see: https://askubuntu.com/questions/1339558/cant-build-dockerfile-for-arm64-due-to-libc-bin-segmentation-fault
# see: https://github.com/dcycle/prepare-docker-buildx/blob/09057fe4879e31ee780b9e69b87f41327ca8cd8e/example/Dockerfile#L8-L10
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt update \
&& apt --fix-broken install \
&& apt install -y libc-bin locales-all \
&& apt update \
&& apt install --reinstall --no-install-recommends -yq \
openssh-client \
git || true \
&& dpkg --purge --force-all libc-bin \
&& apt-get install --no-install-recommends -y \
openssh-client \
git \
# End of Black Magic
&& rm -rf /var/lib/apt/lists/* \
&& 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
WORKDIR /workdir
COPY requirements.txt /tmp/requirements.txt
RUN pip install --upgrade pip
RUN pip install --index-url https://gitlab.com/api/v4/projects/45741845/packages/pypi/simple -r /tmp/requirements.txt
RUN ansible-galaxy collection install \
awx.awx \
kubernetes.core \
# community.general.gitlab_*
community.general \
# ansible.posix.authorized_key for SSH
ansible.posix \
# docker managment
community.docker

74
dockerfile-build_cache Normal file
View File

@ -0,0 +1,74 @@
FROM --platform=$TARGETPLATFORM python:3.11-bullseye as wheelbuild
ARG CI_JOB_TOKEN
ARG CI_API_V4_URL
ARG CI_PROJECT_ID
ENV LC_ALL en_US.UTF-8
ENV PATH /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin::~/.cargo/bin
RUN export DEBIAN_FRONTEND=noninteractive \
&& dpkg-reconfigure debconf -f noninteractive
RUN apt update \
&& apt install --reinstall -yq \
git \
curl \
rustc cargo || true
RUN mkdir -p /tmp/python_modules /tmp/python_builds
RUN rustc --version \
&& cargo --version
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt update \
&& apt --fix-broken install \
&& apt install -y libc-bin locales-all \
&& apt update \
&& apt install --reinstall -yq \
openssh-client \
git || true \
&& dpkg --purge --force-all libc-bin \
&& apt-get install -y \
openssh-client \
git
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt update \
&& apt install --no-install-recommends -yq libc-bin locales-all \
&& apt-get install --reinstall -yq \
build-essential \
libssl-dev \
libffi-dev \
python3-dev \
cargo \
pkg-config || true
RUN pip install --upgrade pip
RUN pip install --upgrade \
setuptools \
wheel \
setuptools-rust \
twine
COPY requirements.txt /tmp/requirements.txt
RUN cd /tmp/python_modules \
&& pip download --dest . --check-build-dependencies \
-r /tmp/requirements.txt
RUN cd /tmp/python_modules \
# && export PATH=$PATH:~/.cargo/bin \
&& echo "[DEBUG] PATH=$PATH" \
&& pip wheel --wheel-dir /tmp/python_builds --find-links . *.whl
RUN TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --verbose --skip-existing --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi /tmp/python_builds/*

0
docs/articles/index.md Normal file
View File

0
docs/contact.md Normal file
View File

0
docs/index.md Normal file
View File

0
docs/operations/index.md Normal file
View File

View File

View File

View 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"
```

View File

0
docs/projects/index.md Normal file
View File

0
docs/tags.md Normal file
View File

1
gitlab-ci Submodule

Submodule gitlab-ci added at ae8b936c5d

View File

@ -0,0 +1,4 @@
[defaults]
collections_path=/etc/ansible/collections
roles_path=/etc/ansible/roles:/workdir/roles:/workdir/ansible-roles
log_path=/ansible.log

31
mkdocs.yml Normal file
View 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

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
ansible-core==2.14.5
ansible-lint==6.15.0
# Required for community.general.gitlab_*
python_gitlab==3.14.0

1
website-template Submodule

Submodule website-template added at 992b54805b