Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes 2.x pr devel 2.x #2258

Merged
merged 852 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
852 commits
Select commit Hold shift + click to select a range
7d1a0c5
Checking the specific path to galaxy roles in ce-provision.
gregharvey Dec 16, 2024
6538b0a
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
46656f0
Trying as controller user again.
gregharvey Dec 16, 2024
7b2fff3
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
b2392a0
Trying to make the roles dir.
gregharvey Dec 16, 2024
a0009b1
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
cd7cbcb
Being consistent about paths in bash.
gregharvey Dec 16, 2024
14847df
Removing debug lines for now.
gregharvey Dec 16, 2024
413791b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
de9b496
Allowing script to skip iptables.
gregharvey Dec 16, 2024
5356462
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Dec 16, 2024
5927cd5
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
4510117
Misnamed flag.
gregharvey Dec 16, 2024
7375868
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
78d6318
Adding user_provision role to configure controller user.
gregharvey Dec 16, 2024
3fe8e45
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
1343c7b
Wrapping cleanup so it doesn't break GitHub Actions.
gregharvey Dec 16, 2024
d06b020
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
5d5b95e
Completing variables for user_provisin.
gregharvey Dec 16, 2024
1738c61
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
3184d96
Missed the sudoers var.
gregharvey Dec 16, 2024
b457231
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
d56d1be
Quoting vars.
gregharvey Dec 16, 2024
35ff8fb
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
953a925
GitLab installer needs _domain_name.
gregharvey Dec 16, 2024
e1ed0c1
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
49643d3
Logic error in clean-up script.
gregharvey Dec 16, 2024
68261b5
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
b0f7731
Fixing paths to ce-provision in container.
gregharvey Dec 16, 2024
4968ee3
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
73fbf87
Trying to fix CI perms issues.
gregharvey Dec 16, 2024
facb1b1
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
dcd04c8
Git dubious ownership error.
gregharvey Dec 16, 2024
86feb24
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
cccda4c
Git dubious ownership error.
gregharvey Dec 16, 2024
89a957b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
f41b60d
Running the web server test as the controller user.
gregharvey Dec 16, 2024
79696fc
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
0c20f29
Missed a controller var.
gregharvey Dec 16, 2024
d57c41e
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
2401969
Commenting out the CE container to test.
gregharvey Dec 16, 2024
f60200d
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
6674206
Adding a separate step for Git actions.
gregharvey Dec 16, 2024
9978bc3
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
4d2e9f5
Need sudo for Ubuntu.
gregharvey Dec 16, 2024
e4cd865
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 16, 2024
e8b9b63
efs_version_fix_for_old_debian_workaround (#2151)
tymofiisobchenko Dec 17, 2024
7434274
Using a volume to persist data between steps.
gregharvey Dec 17, 2024
29dea00
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Dec 17, 2024
c38922d
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
eee31e7
Merge branch '2.x' into bug_fixes_2.x
gregharvey Dec 17, 2024
aa4bed8
Adding debug commands to test volumes.
gregharvey Dec 17, 2024
83688ef
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
75e27c3
Tweaking volumes.
gregharvey Dec 17, 2024
72a8cc4
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
c63f440
Adding the checkout command back in.
gregharvey Dec 17, 2024
0a04dc5
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
d9af7c3
Trying a different approach.
gregharvey Dec 17, 2024
3e3d6e9
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
cec85fb
ls command looks good, so putting web build back in.
gregharvey Dec 17, 2024
2f3a11e
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
8865958
More Ansible Galaxy debug.
gregharvey Dec 17, 2024
ca234d8
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
f5d3c45
Trying to make ansible-galaxy detect installed roles.
gregharvey Dec 17, 2024
0740140
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
8985c3d
Run galaxy command as controller.
gregharvey Dec 17, 2024
87efec9
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
85d091f
Trying galaxy command and cd wrapped in su.
gregharvey Dec 17, 2024
b158792
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
2f56b6a
Specifically checking the contents of galaxy/roles.
gregharvey Dec 17, 2024
657be8a
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
f3fff36
Trying a double-tap install process.
gregharvey Dec 17, 2024
c10a9ef
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
d16e169
Quick refactor and debug of SSH.
gregharvey Dec 17, 2024
4d09288
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
29c82cf
Adding OpenSSH server package.
gregharvey Dec 17, 2024
9e7c581
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
d3e72f1
Checking for a firewall.
gregharvey Dec 17, 2024
1f42163
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
031eeea
Checking listening packages.
gregharvey Dec 17, 2024
6aae82d
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
d75c8ef
Starting SSHD especially.
gregharvey Dec 17, 2024
0eba724
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
3d9f51e
Starting SSHD without systemd.
gregharvey Dec 17, 2024
19a3be9
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
db2dde6
Pre-empting config a bit more.
gregharvey Dec 17, 2024
aed7ad5
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
53c17cd
More galaxy path debug.
gregharvey Dec 17, 2024
1cfb750
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
653c23e
fix(duplicity): Fix file name of include/exclude list (#2152)
klausi Dec 17, 2024
a82ec29
Merge branch '2.x' into bug_fixes_2.x
gregharvey Dec 17, 2024
e77584f
Running a find to see if we can find the missing roles.
gregharvey Dec 17, 2024
f8fb880
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
73f0682
More verbosity.
gregharvey Dec 17, 2024
bd6f93f
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
b2f3fd4
Checking for missing requirements file.
gregharvey Dec 17, 2024
86c3228
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
77709be
Removing eroneous when clause.
gregharvey Dec 17, 2024
3eef9cf
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
e0cbd16
Tidying up redundant debug lines.
gregharvey Dec 17, 2024
3017d8e
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
704c912
Creating a separate ci.yml play targeting localhost.
gregharvey Dec 17, 2024
3ce84d5
Making sure sshd is running.
gregharvey Dec 17, 2024
0db4414
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
ebbb829
Tidying up GitLab CI file and installing SSHD.
gregharvey Dec 17, 2024
0ece559
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
6ddd208
Installing SSHD as a separate step.
gregharvey Dec 17, 2024
78a111b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
9f616ad
SSHD already installed, starting it instead.
gregharvey Dec 17, 2024
c9fd5b4
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
4d81918
Don't create systemd timers in containers.
gregharvey Dec 17, 2024
2392691
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
cfe0e2d
Preparing a test GitLab build.
gregharvey Dec 17, 2024
b9144f9
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
62c2bb1
Making builds nightly and fixing GitLab role bug.
gregharvey Dec 17, 2024
65b205b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 17, 2024
eeb5f74
Ensuring is_local var exists and making lock behaviour optional.
gregharvey Dec 18, 2024
d8f4984
Fixing location and owner of Blackfire config so it is configurable.
gregharvey Dec 18, 2024
66bd1e4
Documentation update.
gregharvey Dec 18, 2024
c6a4106
Removing all is defined checks for is_local since it is now always de…
gregharvey Dec 18, 2024
9a67b87
Letting GitLab know it's on Docker earlier.
gregharvey Dec 18, 2024
166eda7
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
a66eacc
Trying to run runsvdir-start to avoid container freezing.
gregharvey Dec 18, 2024
96eb995
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
94d118a
Temporarily skipping reconfigure of GitLab to test the rest.
gregharvey Dec 18, 2024
e64ecb6
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
e570972
Trying to move GitLab reconfigure commands to CI.
gregharvey Dec 18, 2024
8892ec5
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
8b101e6
Fixing service namespace for runner and reinstating GitLab tasks.
gregharvey Dec 18, 2024
d745768
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
3f2f078
Trying to get config script working for GitLab in CI.
gregharvey Dec 18, 2024
3f7f460
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
39e7e70
No systemd, do not try to restart gitlab-runner.
gregharvey Dec 18, 2024
a7ca68a
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
f3842a1
Removing firewall role from CI GitLab test, don't need it and it brea…
gregharvey Dec 18, 2024
b965a30
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
bea012f
Outputting PostGreSQL logs to see if there are errors.
gregharvey Dec 18, 2024
9bafd07
Outputting PostGreSQL logs to see if there are errors.
gregharvey Dec 18, 2024
9828a05
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
dd7e685
Trying the config script for GitLab again.
gregharvey Dec 18, 2024
e5f6886
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
bfdefea
Suppressing extra GitLab config for CI runs.
gregharvey Dec 18, 2024
040122e
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
e1dc0ac
Setting Blackfire CLI defaults to use ce-dev user.
gregharvey Dec 18, 2024
fefcffa
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Dec 18, 2024
af394a8
Bug fixes 2.x pr 2.x (#2120)
gregharvey Dec 18, 2024
ca98e15
Update .wikis2pages.yml
gregharvey Dec 18, 2024
7ee7f1c
Nightly builds (#2153)
gregharvey Dec 21, 2024
237a59a
Updating-wazuh-template (#2154)
drazenCE Dec 23, 2024
f41c496
Updating le template (#2156)
drazenCE Dec 31, 2024
123bced
Reworking-nodejs-for-older-versions (#2157)
drazenCE Jan 2, 2025
984c502
Reworking nodejs for older versions pr 2.x (#2159)
drazenCE Jan 3, 2025
d7f2a1b
Reworking nodejs for older versions pr 2.x (#2160)
drazenCE Jan 3, 2025
9c15d0e
Reworking nodejs for older versions pr 2.x (#2161)
drazenCE Jan 3, 2025
3cab7e3
Publish docs pr 2.x (#2164)
gregharvey Jan 6, 2025
7f05cf2
Merge branch 'devel-2.x' into 2.x
gregharvey Jan 6, 2025
2a8f937
Publish docs pr 2.x (#2166)
gregharvey Jan 7, 2025
1130f7a
Publish docs pr 2.x (#2168)
gregharvey Jan 7, 2025
ff7c0ac
Publish docs pr 2.x (#2171)
gregharvey Jan 7, 2025
7415e4c
Publish docs pr 2.x (#2174)
gregharvey Jan 8, 2025
bfc862b
Publish docs pr 2.x (#2177)
gregharvey Jan 8, 2025
9a12fcc
Publish docs pr 2.x (#2179)
gregharvey Jan 8, 2025
2a0d997
Publish docs pr 2.x (#2181)
gregharvey Jan 8, 2025
c55ba2c
Publish docs pr 2.x (#2184)
gregharvey Jan 8, 2025
63583d3
Publish docs pr 2.x (#2186)
gregharvey Jan 8, 2025
e3e122b
GitHub Actions - updating markdown docs - (#2187)
github-actions[bot] Jan 8, 2025
efb357c
Publish docs pr 2.x (#2189)
gregharvey Jan 8, 2025
66c6ed9
Publish docs pr 2.x (#2193)
gregharvey Jan 8, 2025
67ea50f
r71115-default-ldap-ca-cert (#2197)
nfawbert Jan 8, 2025
9893d68
Documentation update - 2.x (#2198)
github-actions[bot] Jan 8, 2025
8a4d8c5
Publish docs pr 2.x (#2203)
gregharvey Jan 8, 2025
4fada37
Publish docs pr 2.x (#2205)
gregharvey Jan 8, 2025
8ddb254
Documentation update - 2.x (#2200)
github-actions[bot] Jan 8, 2025
72137a4
Enhanced quick start pr 2.x (#2207)
gregharvey Jan 9, 2025
537b60e
Documentation update - 2.x (#2208)
github-actions[bot] Jan 13, 2025
bf90d80
Enhanced quick start pr 2.x (#2211)
gregharvey Jan 13, 2025
5de8638
Publish docs pr 2.x (#2216)
gregharvey Jan 13, 2025
fb03534
Publish docs pr 2.x (#2218)
gregharvey Jan 13, 2025
0986cb2
Documentation update - 2.x (#2213)
github-actions[bot] Jan 13, 2025
8de3b45
Publish docs pr 2.x (#2220)
gregharvey Jan 13, 2025
56a80f7
Merging 2.x.
gregharvey Jan 14, 2025
7133d72
Improving GitLab vars and adding force stop feature.
gregharvey Jan 14, 2025
fcbad7e
Not installed aws_credentials in meta roles if AWS support disabled.
gregharvey Jan 14, 2025
fd0a8ff
Merging devel
gregharvey Jan 14, 2025
1a1952d
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 14, 2025
e879264
Bug fixes 2.x pr 2.x (#2225)
gregharvey Jan 14, 2025
a701c4a
Most people will not want pam_ldap or pam_linotp, should not be in meta.
gregharvey Jan 14, 2025
5cdaf0f
If you don't create LDAP SSL certs you might not have a /etc/ldap dir…
gregharvey Jan 14, 2025
f131f55
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 14, 2025
42179e2
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 14, 2025
8bad73b
Merge branch '2.x' into bug_fixes_2.x
gregharvey Jan 14, 2025
2ad05bb
Bug fixes 2.x pr 2.x (#2229)
gregharvey Jan 14, 2025
858de79
Documentation update - 2.x (#2226)
github-actions[bot] Jan 14, 2025
253330a
Adding a merge of the main branch into the docs branch to CI.
gregharvey Jan 15, 2025
317a140
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 15, 2025
e8bd10b
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
2e4e634
Merge branch '2.x' into bug_fixes_2.x
gregharvey Jan 15, 2025
9e41783
Adding comment to not use hyphens in boto profile names.
gregharvey Jan 15, 2025
931f7cb
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
e091be9
Supporting different key types to publish to AWS.
gregharvey Jan 15, 2025
1ef2cf2
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
a81e2d1
Bug fixes 2.x pr 2.x (#2231)
gregharvey Jan 15, 2025
9319fac
Adding a git fetch before the merge in docs publishing.
gregharvey Jan 15, 2025
d58661b
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 15, 2025
7466bb4
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
748e29e
Merging 2.x
gregharvey Jan 15, 2025
11db615
Using the safer _ce_provision_username var in AWS key role.
gregharvey Jan 15, 2025
333d55c
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
5096fa9
Bug fixes 2.x pr 2.x (#2233)
gregharvey Jan 15, 2025
4883e4c
Merge branch '2.x' into bug_fixes_2.x
gregharvey Jan 15, 2025
a6ec32f
Adding the --allow-unrelated-histories flag to git merge in CI.
gregharvey Jan 15, 2025
9078f37
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 15, 2025
3f86518
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
ad125d8
Commenting out some of the AWS ACL rulesets to leave them as examples.
gregharvey Jan 15, 2025
2b5a89f
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
24b4a9b
Bug fixes 2.x pr 2.x (#2235)
gregharvey Jan 15, 2025
2469388
Trying to pull the docs branch to ensure it is up to date.
gregharvey Jan 15, 2025
c73b7a9
Adding keyserver.ubuntu.com to the key servers we publish to by defau…
gregharvey Jan 15, 2025
b8c7a59
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 15, 2025
ea9a63c
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
d84e55a
Merge branch '2.x' into bug_fixes_2.x
gregharvey Jan 15, 2025
13fd86a
Bug fixes 2.x pr 2.x (#2240)
gregharvey Jan 15, 2025
fdf1e22
Updating-descriptions (#2237)
matej5 Jan 15, 2025
d03a030
CI updates and improving SOPS role.
gregharvey Jan 15, 2025
347b166
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 15, 2025
e907872
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
5ff88c0
Merge branch '2.x' into bug_fixes_2.x
gregharvey Jan 15, 2025
6a2b262
Swapping hard coded branch names for vars in CI.
gregharvey Jan 15, 2025
74464aa
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
02d550c
Bug fixes 2.x pr 2.x (#2242)
gregharvey Jan 15, 2025
d2bf05d
Giving up on merging 2.x - will have to try another approach.
gregharvey Jan 15, 2025
452be9d
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 15, 2025
5f56803
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 15, 2025
9ef5312
Bug fixes 2.x pr 2.x (#2244)
gregharvey Jan 15, 2025
e1216b1
Merging 2.x
gregharvey Jan 15, 2025
344d9a3
Documentation update - 2.x (#2245)
github-actions[bot] Jan 15, 2025
9b6418f
Merging 2.x
gregharvey Jan 16, 2025
f3a8c9c
Merging 2.x
gregharvey Jan 16, 2025
5ea88d5
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 16, 2025
c814de9
Bug fixes 2.x pr 2.x (#2252)
gregharvey Jan 16, 2025
ca8ba7f
Change of approach to Packer plugin management.
gregharvey Jan 16, 2025
2098714
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 16, 2025
9078864
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 16, 2025
f068cc4
Brain fart on package names.
gregharvey Jan 16, 2025
805c278
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 16, 2025
e64148a
Renaming task.
gregharvey Jan 16, 2025
8343fc9
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 16, 2025
3bd6d8f
Reorganising the GitLab Runner role into blocks.
gregharvey Jan 17, 2025
3e10655
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jan 17, 2025
e7caf31
Merge branch 'bug_fixes_2.x' into bug_fixes_2.x-PR-devel-2.x
gregharvey Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 26 additions & 19 deletions roles/debian/gitlab_runner/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@
gitlab_runner:
apt_origin: "origin=packages.gitlab.com/runner/gitlab-runner,codename=${distro_codename},label=gitlab-runner" # used by apt_unattended_upgrades
apt_signed_by: https://packages.gitlab.com/runner/gitlab-runner/gpgkey
use_docker: false # set to true to install Docker and use the 'docker' executor
install_fargate: false
restart: true # set to false if you're applying settings to a server responsible for its own runners
username: "{{ ce_deploy.username }}"
docker_group: "docker"
runner_workingdir: "/home/{{ ce_deploy.username }}/build"
runner_config: "/etc/gitlab-runner/config.toml"
# see https://gitlab.com/gitlab-org/ci-cd/custom-executor-drivers/fargate/-/tree/master/docs
fargate:
cluster: "my-cluster" # ECS cluster name
profile: "example" # AWS boto profile name - can be substituted for "{{ _aws_profile }}" if set
region: "eu-west-1" # AWS region name - can be substituted for "{{ _aws_region }}" if set
subnet: "subnet-abcdef123456" # subnet ID
security_group: "my-security-group" # SG name
task_definition: "my-task:1" # task definition in format name:revision, if revision is not provided ECS will use latest
public_ip: "false" # if your containers need a public IP assigning
version: "1.4.0" # Fargate platform version
metadata_dir: "/opt/gitlab-runner/metadata"
ssh_user: "root"
ssh_port: 22
##################################################
# @TODO - these variables are not currently used #
##################################################
concurrent_jobs: 10
check_interval: 0
session_timeout: 1800
Expand All @@ -28,22 +51,6 @@ gitlab_runner:
# run_args: '["--config", "/etc/gitlab-runner/fargate.toml", "custom", "run"]'
# cleanup_exec: "/opt/gitlab-runner/fargate"
# cleanup_args: '["--config", "/etc/gitlab-runner/fargate.toml", "custom", "cleanup"]'
install_fargate: false
restart: true # set to false if you're applying settings to a server responsible for its own runners
username: "{{ ce_deploy.username }}"
docker_group: "docker"
runner_workingdir: "/home/{{ ce_deploy.username }}/build"
runner_config: "/etc/gitlab-runner/config.toml"
# see https://gitlab.com/gitlab-org/ci-cd/custom-executor-drivers/fargate/-/tree/master/docs
fargate:
cluster: "my-cluster" # ECS cluster name
profile: "example" # AWS boto profile name - can be substituted for "{{ _aws_profile }}" if set
region: "eu-west-1" # AWS region name - can be substituted for "{{ _aws_region }}" if set
subnet: "subnet-abcdef123456" # subnet ID
security_group: "my-security-group" # SG name
task_definition: "my-task:1" # task definition in format name:revision, if revision is not provided ECS will use latest
public_ip: "false" # if your containers need a public IP assigning
version: "1.4.0" # Fargate platform version
metadata_dir: "/opt/gitlab-runner/metadata"
ssh_user: "root"
ssh_port: 22
##################################################
# End @TODO #
##################################################
130 changes: 65 additions & 65 deletions roles/debian/gitlab_runner/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,61 +45,73 @@
# gitlab-runner register --url https://gitlab.com/ --registration-token TOKEN_HERE --name fargate-test-runner --run-untagged --executor custom -n
# This will automatically update /etc/gitlab-runner/config.toml

# Populates the _aws_security_group_list variable used in fargate.toml.j2
- name: Generate security group information.
ansible.builtin.include_role:
name: aws/aws_security_groups
apply:
delegate_to: localhost # this is how you delegate the include_role module
vars:
aws_security_groups:
profile: "{{ gitlab_runner.fargate.profile }}"
region: "{{ gitlab_runner.fargate.region }}"
group_names:
- "{{ gitlab_runner.fargate.security_group }}"
return_type: ids
when: gitlab_runner.install_fargate
# @TODO support different runner types - MPV custom (Fargate) and shell

- name: Create the Fargate driver directory if it does not exist.
ansible.builtin.file:
path: /opt/gitlab-runner
state: directory
mode: '0755'
owner: root
group: root
become: true
when: gitlab_runner.install_fargate

- name: Install the Fargate driver.
ansible.builtin.get_url:
url: https://gitlab-runner-custom-fargate-downloads.s3.amazonaws.com/latest/fargate-linux-amd64
dest: /opt/gitlab-runner/fargate
mode: 0755
become: true
# Populates the _aws_security_group_list variable used in fargate.toml.j2
- name: Install Fargate runner.
when: gitlab_runner.install_fargate

- name: Place the Fargate configuration file.
ansible.builtin.template:
src: fargate.toml.j2
dest: /etc/gitlab-runner/fargate.toml
owner: root
group: root
force: true
become: true
when:
- gitlab_runner.install_fargate
- gitlab_runner.fargate | length > 0

- name: Ensure the Fargate metadata directory exists.
ansible.builtin.file:
path: /opt/gitlab-runner/metadata
state: directory
mode: '0755'
owner: root
group: root
become: true
when:
- gitlab_runner.install_fargate
block:
- name: Generate security group information.
ansible.builtin.include_role:
name: aws/aws_security_groups
apply:
delegate_to: localhost # this is how you delegate the include_role module
vars:
aws_security_groups:
profile: "{{ gitlab_runner.fargate.profile }}"
region: "{{ gitlab_runner.fargate.region }}"
group_names:
- "{{ gitlab_runner.fargate.security_group }}"
return_type: ids

- name: Create the Fargate driver directory if it does not exist.
ansible.builtin.file:
path: /opt/gitlab-runner
state: directory
mode: '0755'
owner: root
group: root
become: true

- name: Install the Fargate driver.
ansible.builtin.get_url:
url: https://gitlab-runner-custom-fargate-downloads.s3.amazonaws.com/latest/fargate-linux-amd64
dest: /opt/gitlab-runner/fargate
mode: 0755
become: true

- name: Place the Fargate configuration file.
ansible.builtin.template:
src: fargate.toml.j2
dest: /etc/gitlab-runner/fargate.toml
owner: root
group: root
force: true
become: true
when:
- gitlab_runner.fargate | length > 0

- name: Ensure the Fargate metadata directory exists.
ansible.builtin.file:
path: /opt/gitlab-runner/metadata
state: directory
mode: '0755'
owner: root
group: root
become: true

- name: Install Docker.
when: gitlab_runner.install_fargate or gitlab_runner.use_docker
block:
- name: Run docker_ce role to install Docker.
ansible.builtin.include_role:
name: debian/docker_ce

- name: Add the GitLab Runner user (usually the controller) to the docker group.
ansible.builtin.user:
name: "{{ gitlab_runner.username }}"
groups: "{{ gitlab_runner.docker_group }}"
append: true

# @TODO inject the executor lines after any Fargate services in config.toml

Expand Down Expand Up @@ -145,18 +157,6 @@
become: true
when: gitlab_runner.restart

- name: Run docker_ce role when Fargate driver to be installed.
ansible.builtin.include_role:
name: debian/docker_ce
when: gitlab_runner.install_fargate

- name: Add the ce-provision user to the docker group.
ansible.builtin.user:
name: "{{ gitlab_runner.username }}"
groups: "{{ gitlab_runner.docker_group }}"
append: true
when: gitlab_runner.install_fargate

# See https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading
- name: Delete $HOME/.bash_logout for the runner user if it exists.
ansible.builtin.file:
Expand Down
Loading