Skip to content
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5071736
Merge pull request #2654 from codeenigma/Gitlab-stop-fix-PR-2.x
drazenCE Sep 2, 2025
a8ba8e4
Fixing-email-title-for-backup-validation (#2657)
matej5 Sep 4, 2025
057138d
Adding-task-to-create-aurora-cluster (#2659)
matej5 Sep 8, 2025
2b30a78
Fixing truthy variable mistakes. (#2662)
gregharvey Sep 10, 2025
cb63668
feat(php): Add FPM slow logrotate (#2625)
klausi Sep 10, 2025
9f05b90
r73458-install-php-gmp-by-default2 (#2667)
nfawbert Sep 10, 2025
a89ae45
Wazuh-mitre-report-setup (#2588)
drazenCE Sep 11, 2025
71278e9
Wazuh mitre report setup pr 2.x (#2669)
drazenCE Sep 11, 2025
65a6a0d
pin_ansible_version (#2671)
tymofiisobchenko Sep 12, 2025
854a245
Fixing-ce-provision-vars (#2678)
drazenCE Sep 16, 2025
1850230
Updating-string (#2507)
matej5 Sep 17, 2025
d62d4e6
Added-tasks-to-backup-Aurora-and-copy-AMI-to-safe-region (#2682)
matej5 Sep 18, 2025
6717286
SG-creation-update (#2605)
matej5 Sep 18, 2025
3bcee17
Fixing-copy-AMI-to-backup-region (#2684)
matej5 Sep 18, 2025
7bd773f
Fixing-ami-copy-task (#2686)
matej5 Sep 19, 2025
88851ce
Bug fixes pr 2.x (#2690)
gregharvey Sep 22, 2025
cf6129b
73569 allowing webp nginx pr 2.x (#2692)
filiprupic Sep 22, 2025
72021af
extending provision.sh to support tags in plays (#2431)
filiprupic Sep 24, 2025
e783690
Adding-option-for-Aurora-RDS-for-backup-validation (#2635)
matej5 Sep 24, 2025
572f4b0
Fixing-aws_vpc-override (#2688)
matej5 Sep 24, 2025
ef10642
Updating-pam-ldap-condition (#2695)
drazenCE Sep 24, 2025
e630bcb
Nslcd-nscd-restart (#2693)
drazenCE Sep 30, 2025
3a2b4b3
Fixing-varnish-pinning (#2710)
drazenCE Oct 1, 2025
6657bcc
Bug fixes pr 2.x (#2698)
gregharvey Oct 1, 2025
3986a6f
Adding-cyphers-nginx-template (#2679)
drazenCE Oct 1, 2025
dd4c3c9
Fixing-when-statement (#2700)
matej5 Oct 1, 2025
7cb9bae
Bug fixes pr 2.x (#2714)
gregharvey Oct 1, 2025
60a1d39
Bug fixes pr 2.x (#2717)
gregharvey Oct 1, 2025
6a4b3a5
Fixing python venv vars. (#2724)
gregharvey Oct 2, 2025
976485a
Updating-aws-iam-tasks (#2727)
matej5 Oct 2, 2025
a391435
Wazuh mitre report setup pr 2.x (#2676)
drazenCE Oct 3, 2025
6610923
r73510-apt-reboot-alerts (#2730)
nfawbert Oct 3, 2025
027a587
Avoiding-backup-validation-plan-due-to-IAM-issues (#2731)
matej5 Oct 3, 2025
e55b532
Ansible12 pr 2.x (#2734)
gregharvey Oct 3, 2025
53677fc
Trying an ansible-lint container for GitLab.
gregharvey Oct 6, 2025
813747a
Merging devel.
gregharvey Oct 6, 2025
b4b29e7
Trying an ansible-lint container for GitLab. (#2736)
gregharvey Oct 6, 2025
3400a4d
Preparing GitLab CI config for ce-provision tests.
gregharvey Oct 6, 2025
54af529
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into g…
gregharvey Oct 6, 2025
e7d429a
Merge branch 'gitlab_migration' into gitlab_migration-PR-devel-2.x
gregharvey Oct 6, 2025
18c14b9
Merging 2.x,
gregharvey Oct 6, 2025
67a2ed8
Run linters unless merging to 2.x.
gregharvey Oct 6, 2025
bf9b15d
Merge branch 'gitlab_migration' into gitlab_migration-PR-devel-2.x
gregharvey Oct 6, 2025
829e7ec
Fixed the CI rules for linting.
gregharvey Oct 6, 2025
ed70046
Merge branch 'gitlab_migration' into gitlab_migration-PR-devel-2.x
gregharvey Oct 6, 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
56 changes: 56 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,68 @@
---
variables:
FF_SCRIPT_SECTIONS: "true"

before_script:
- export $BASH_VARS

stages:
- linting
- builds

ansible-lint:
stage: linting
image: registry.gitlab.com/pipeline-components/ansible-lint:latest
script:
- ansible-lint --show-relpath roles
rules:
- if: $CI_COMMIT_BRANCH != "$CI_DEFAULT_BRANCH"
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never

yamllint:
stage: linting
image: registry.gitlab.com/pipeline-components/yamllint:latest
script:
- yamllint roles
rules:
- if: $CI_COMMIT_BRANCH != "$CI_DEFAULT_BRANCH"
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never

webserver:
stage: builds
image: debian:bookworm
script:
- |
/usr/bin/apt-get update
/usr/bin/apt-get install -y curl sudo
/usr/bin/curl -LO ${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}/-/raw/${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}/install.sh
/usr/bin/chmod +x ./install.sh
/usr/bin/sudo ./install.sh --version ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} --config-branch ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} --docker --no-firewall
/usr/bin/git config --global --add safe.directory /home/controller/ce-provision
/usr/bin/git config --global --add safe.directory /home/controller/ce-provision/config
/usr/sbin/sshd&
/usr/bin/su - controller -c "cd /home/controller/ce-provision && /bin/sh /home/controller/ce-provision/scripts/provision.sh --python-interpreter /home/controller/ce-python/bin/python3 --repo dummy --branch dummy --workspace /home/controller/ce-provision/ce-dev/ansible --playbook plays/web/ci.yml --own-branch ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} --config-branch ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} --force"
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always

gitlabserver:
stage: builds
image: debian:bookworm
script:
- |
/usr/bin/apt-get update
/usr/bin/apt-get install -y curl sudo
/usr/bin/curl -LO ${CI_MERGE_REQUEST_SOURCE_PROJECT_URL}/-/raw/${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}/install.sh
/usr/bin/chmod +x ./install.sh
/usr/bin/sudo ./install.sh --version ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} --config-branch ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} --docker --no-firewall
/usr/bin/git config --global --add safe.directory /home/controller/ce-provision
/usr/bin/git config --global --add safe.directory /home/controller/ce-provision/config
/usr/sbin/sshd&
/usr/bin/su - controller -c "cd /home/controller/ce-provision && /bin/sh /home/controller/ce-provision/scripts/provision.sh --python-interpreter /home/controller/ce-python/bin/python3 --repo dummy --branch dummy --workspace /home/controller/ce-provision/ce-dev/ansible --playbook plays/gitlab/ci.yml --own-branch ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME} --config-branch ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} --force"
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_PIPELINE_SOURCE == "schedule"
when: always