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

Fixing ci pr devel 1.x #588

Merged
merged 224 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
3ccfe51
Defer nightly backups, disable ASG processes during syncs and run syn…
EmlynK Jan 20, 2022
a54c09c
Added deploy.yml examples for Drupal 9 and Localgov. Updated tests (#97)
DionisioFG Mar 10, 2022
223a3b5
Adding a new SimpleSAMLphp meta role. (#100)
gregharvey Mar 31, 2022
32843d5
Allowing users to set cachetool version properly. (#102)
gregharvey Apr 13, 2022
91ea64e
Deploy ami pr 1.x (#106)
gregharvey Apr 14, 2022
371b6b9
Making the MySQL dump command for routine back-ups less aggressive. (…
gregharvey Apr 20, 2022
a9cc7ad
Fix database backups pr 1.x (#109)
gregharvey Apr 20, 2022
4c4c3ad
Fix MySQL backup deferral. (#110)
EmlynK Apr 22, 2022
029848d
Files recurse fix pr 1.x (#112)
EmlynK Apr 26, 2022
b71fa83
Improve multisite support (#115)
EmlynK Apr 29, 2022
c933dc8
Static credentials handling fix pr 1.x (#119)
EmlynK May 23, 2022
b6ea020
Making contents of deploy tar 'ownerless'. (#117)
gregharvey May 31, 2022
1c2b206
Implement file syncing (#124)
EmlynK Jun 7, 2022
1cd0ed0
Create Drupal-specific sync roles (#128)
EmlynK Jun 8, 2022
904033f
Fixing GRANT query for MySQL > 8.0. (#131)
gregharvey Jun 10, 2022
94715d8
Use IF NOT EXISTS when creating database user as that command fails i…
EmlynK Jun 13, 2022
42f12c8
Attempt to fix syncs whenever the 'dump' type is used for source or t…
EmlynK Jun 16, 2022
a9c6abf
Squashfs pr 1.x (#150)
gregharvey Jun 20, 2022
a4de771
Check deploy_code.mount_type is defined when setting facts in init ro…
EmlynK Jun 24, 2022
fe2aaf1
Make config imports during syncs optional (#157)
EmlynK Jun 28, 2022
451227d
Squashfs pr 1.x (#153)
gregharvey Jun 29, 2022
c7aae71
Add cache clears to Drupal deployments, before DB updates and stuff (…
EmlynK Aug 16, 2022
15b8daa
Avoid leaving exponentially growing sqsh files in build locations! (#…
gregharvey Sep 5, 2022
5cab4ae
Exclude sqsh file pr 1.x (#167)
gregharvey Oct 6, 2022
459faba
Removing unnecessary lines in Drupal config generation. (#169)
gregharvey Oct 7, 2022
200f590
Ensuring dump directory exists on backup step. (#172)
gregharvey Oct 10, 2022
2c74432
Allowing Drupal 7 jobs to disable cron. (#174)
gregharvey Oct 14, 2022
0385211
Suppress db revert pr 1.x (#177)
gregharvey Oct 14, 2022
86f138a
Fixing bad assumption that databases will have TCP connections. (#179)
gregharvey Nov 18, 2022
b236540
Handling the 'drush deploy' command more elegantly for Drupal 8+. (#180)
gregharvey Dec 9, 2022
58069b6
Attempt to clear the opcache during Drupal deployments. (#182)
gregharvey Dec 9, 2022
3ea0bfe
Better drush deploy support pr 1.x (#185)
gregharvey Dec 9, 2022
b835344
Cron job schedule params pr 1.x (#190)
tymofiisobchenko Dec 30, 2022
e97e852
Adding option to stop services that might interfere with a squashfs m…
gregharvey Jan 23, 2023
7bbb77f
Drush refactor pr 1.x (#197)
gregharvey Jan 25, 2023
cc31f6a
Better deploy_code role docs. (#213)
gregharvey Jan 27, 2023
f6a3cb3
Cachetool settings and drupal7 tasks fix pr 1.x (#211)
tymofiisobchenko Jan 27, 2023
44fef49
previous_cachetool_remove_before_install_new (#224)
tymofiisobchenko Jan 31, 2023
f1b2b90
Fix cachetool removal pr 1.x (#227)
tymofiisobchenko Jan 31, 2023
de6d80b
Fix cachetool removal pr 1.x (#229)
tymofiisobchenko Feb 1, 2023
1eda678
Documentation enhancements pr 1.x (#218)
gregharvey Feb 3, 2023
09e8639
Drush refactor pr 1.x (#231)
gregharvey Feb 3, 2023
3ba2fe0
Drush refactor pr 1.x (#234)
gregharvey Feb 17, 2023
75ff9ee
Drush refactor pr 1.x (#236)
gregharvey Feb 17, 2023
8d02260
Change php detection for fastcgi and cachetool pr 1.x (#238)
tymofiisobchenko Mar 6, 2023
7971ce7
Cachetool bin per site pr 1.x (#243)
tymofiisobchenko Mar 14, 2023
31c3197
apcu no longer has an 'all' option. (#245)
gregharvey Mar 14, 2023
b5fed24
Refactoring cachetool path setting to match other squashfs vars. (#247)
gregharvey Mar 15, 2023
459689f
Cachetool pr 1.x (#249)
gregharvey Mar 15, 2023
0b39b64
Ensuring we can prevent features and ctools deployments in Drupal 7. …
gregharvey Mar 15, 2023
3d6172a
Cachetool pr 1.x (#251)
gregharvey Mar 15, 2023
1f2e3b6
improving_old_builds_cleanup (#254)
tymofiisobchenko Mar 20, 2023
dd1f5ce
Adding escaped backticks to db names to be safe. (#256)
gregharvey Apr 12, 2023
df74ac6
Mysql db name pr 1.x (#258)
gregharvey Apr 12, 2023
3b49dc9
Mysql db name pr 1.x (#260)
gregharvey Apr 12, 2023
8c30320
Mysql db name pr 1.x (#262)
gregharvey Apr 13, 2023
15ae901
Mysql db name pr 1.x (#264)
gregharvey Apr 14, 2023
c7e4a47
Bug fixes pr 1.x (#266)
gregharvey Apr 14, 2023
5b28bdd
Bug fixes pr 1.x (#268)
gregharvey Apr 19, 2023
ce46e32
Making sync paths build unique.
gregharvey Apr 20, 2023
6245af8
Merge branch 'devel' into 1.x
gregharvey Apr 20, 2023
aa9d3b0
Adding --host parameter to build.sh for pre-deploy host checking with…
gregharvey Apr 21, 2023
fd7c17d
Making syncs safer and more efficient. (#273)
gregharvey Apr 25, 2023
ac8b114
Bug fixes pr 1.x (#278)
gregharvey May 11, 2023
430b731
Bug fixes pr 1.x (#282)
gregharvey May 12, 2023
4d211b5
Bug fixes pr 1.x (#284)
gregharvey May 17, 2023
7dbc30c
Bug fixes pr 1.x (#287)
gregharvey May 25, 2023
1e540b4
Adding verbose output for drush. (#289)
gregharvey Jun 21, 2023
008a1e0
Adding container push and build code. (#300)
gregharvey Jun 22, 2023
1fa7eb4
Ecs deployments pr 1.x (#314)
gregharvey Jun 27, 2023
49a3087
db_import_speed_up (#291)
tymofiisobchenko Jun 27, 2023
fc3b544
Ecs deployments pr 1.x (#317)
gregharvey Jun 27, 2023
014874b
fix_typo (#320)
tymofiisobchenko Jun 27, 2023
9b5d56b
Ecs deployments pr 1.x (#322)
gregharvey Jun 27, 2023
77087ed
Ecs deployments pr 1.x (#325)
gregharvey Jun 29, 2023
443fdf5
Ecs deployments pr 1.x (#329)
gregharvey Jun 29, 2023
0859ebf
Ecs deployments pr 1.x (#331)
gregharvey Jun 30, 2023
ace4578
Bug fixes pr 1.x (#334)
gregharvey Jul 10, 2023
0df95e0
Bug fixes pr 1.x (#336)
gregharvey Jul 19, 2023
e304792
default_to_gzip (#338)
tymofiisobchenko Jul 21, 2023
a8c29c6
update_for_database_names_handling (#340)
tymofiisobchenko Aug 4, 2023
27d7588
update_for_database_names_handling_fix (#342)
tymofiisobchenko Aug 4, 2023
84488a8
Adding syncing for feature branches. (#346)
gregharvey Aug 10, 2023
5023238
Feature branching pr 1.x (#348)
gregharvey Aug 10, 2023
aea9803
Feature branching pr 1.x (#350)
gregharvey Aug 11, 2023
bff8a40
Improving db handling and fixing adding databases later. (#358)
gregharvey Sep 22, 2023
0ed0378
Bug fixes pr 1.x (#366)
gregharvey Sep 22, 2023
f8a7eae
Bug fixes pr 1.x (#368)
gregharvey Sep 25, 2023
df327b4
Bug fixes pr 1.x (#372)
gregharvey Sep 25, 2023
7b775ee
Bug fixes pr 1.x (#374)
gregharvey Sep 27, 2023
00a636c
Bug fixes pr 1.x (#375)
gregharvey Sep 27, 2023
b033cdd
r66858-adding-variable-to-skip-long-running-tasks (#352)
matej5 Oct 4, 2023
bcfa95a
Fixing documentation for opcache role. (#354)
gregharvey Oct 4, 2023
fb43059
r67016-changing-path-for-database_backup-task (#356)
matej5 Oct 4, 2023
a4c04f6
67412 callback plugin fail no hosts pr 1.x (#377)
gregharvey Oct 31, 2023
d651f84
Bug fixes pr 1.x (#379)
gregharvey Oct 31, 2023
6c9213a
Bug fixes pr 1.x (#381)
gregharvey Nov 2, 2023
7729a2e
Bug fixes pr 1.x (#383)
gregharvey Nov 7, 2023
3132c69
Bug fixes pr 1.x (#386)
gregharvey Nov 9, 2023
5c44c3c
Bug fixes pr 1.x (#388)
gregharvey Nov 13, 2023
66dee82
Bug fixes pr 1.x (#391)
gregharvey Nov 16, 2023
58f9526
Bug fixes pr 1.x (#393)
gregharvey Nov 24, 2023
0b5d060
Ecs deployments pr 1.x (#397)
gregharvey Dec 21, 2023
31a95fd
Bug fixes pr 1.x (#400)
gregharvey Jan 11, 2024
b711953
Bug fixes pr 1.x (#402)
gregharvey Jan 15, 2024
6a89c54
r67637-terminate-sessions-keeping-loop-device-busy (#405)
tymofiisobchenko Jan 19, 2024
4a777a4
Avoiding-cache-clear-warning-for-site-variable (#415)
matej5 Jan 19, 2024
27a7160
additional check and debug task (#417)
tymofiisobchenko Jan 22, 2024
8408634
r65896-cache-clear-path (#422)
tymofiisobchenko Jan 24, 2024
53d1f9c
r65896-cache-container-table-truncate (#434)
tymofiisobchenko Jan 30, 2024
575b0cc
r65896-cache-container-table-truncate-change-tasks-order (#439)
tymofiisobchenko Jan 31, 2024
4c9ab4e
Bug fixes pr 1.x (#441)
gregharvey Jan 31, 2024
3df0030
Adding a pause if a replica is declared, so the replica can catch up …
gregharvey Feb 8, 2024
ddab8aa
Db replica support pr 1.x (#445)
gregharvey Feb 22, 2024
df0e68a
Db replica support pr 1.x (#447)
gregharvey Feb 23, 2024
5b2204e
448: Drupal 10 default.settings.php for multi-site MR 1.x (#449)
philipnorton42 Mar 8, 2024
8777987
New StatusCake check handling role. (#454)
gregharvey Apr 4, 2024
4f52908
Statuscake maintenance role pr 1.x (#456)
gregharvey Apr 4, 2024
95dc960
Statuscake maintenance role pr 1.x (#458)
gregharvey Apr 5, 2024
f417838
Adding extra healthcheck options for ECS services. (#463)
gregharvey Apr 26, 2024
8e01d77
Adding behaviour to suspend autoscaling on deploy. (#465)
gregharvey Apr 26, 2024
61471fd
Ecs healthcheck vars pr 1.x (#467)
gregharvey Apr 26, 2024
c9897f8
Fixing MySQL servers with unix socket.
gregharvey May 20, 2024
70192ad
Bad var name.
gregharvey May 20, 2024
ce9b24a
Extending MySQL Unix socket support.
gregharvey May 20, 2024
e8e571f
Bug fixes pr 1.x (#469)
gregharvey May 23, 2024
a236c59
Lock file pr 1.x (#471)
gregharvey May 24, 2024
202e5be
Bug fixes pr 1.x (#476)
gregharvey May 27, 2024
9d7dbf7
Adding a new Drupal 10 meta role. (#478)
gregharvey May 27, 2024
1e0cbe0
r69347-db-import-from-deploy-server (#480)
tymofiisobchenko May 31, 2024
207be4a
Bug fixes pr 1.x (#486)
gregharvey Jun 5, 2024
2ea17bc
472 Cache clearing for Symfony based projects (#473)
matason Jun 6, 2024
2ed8f45
Feature branching pr 1.x (#488)
gregharvey Jul 19, 2024
04f8c1c
additional_symlink_task_fix_for_squashfs (#494)
tymofiisobchenko Aug 6, 2024
19e815c
fix cachetool url (#500)
tymofiisobchenko Aug 20, 2024
747ec29
strip sandbox mode line from sqldump (#502)
nfawbert Sep 26, 2024
ad3165c
Updating-crons-mailto (#506)
drazenCE Nov 28, 2024
dd530bb
Updating-cron-path-fixing-mailto (#508)
drazenCE Dec 19, 2024
279bc0b
Bug fixes pr 1.x (#530)
gregharvey Dec 30, 2024
5240df5
Mautic updates pr 1.x (#531)
gregharvey Dec 30, 2024
6c71c5f
Mautic updates pr 1.x (#534)
gregharvey Dec 30, 2024
22dd914
Publish docs pr 1.x (#536)
gregharvey Jan 7, 2025
e065834
Publish docs pr 1.x (#538)
gregharvey Jan 7, 2025
114c883
lockfile_behavior_bugfix (#540)
tymofiisobchenko Jan 8, 2025
2a05043
Publish docs pr 1.x (#542)
gregharvey Jan 8, 2025
0f20e8e
Publish docs pr 1.x (#545)
gregharvey Jan 8, 2025
dcd9437
GitHub Actions - updating markdown docs - (#543)
github-actions[bot] Jan 8, 2025
44edb01
Documentation update - 1.x (#546)
github-actions[bot] Jan 8, 2025
7819b16
Publish docs pr 1.x (#551)
gregharvey Jan 8, 2025
ddfa265
Documentation update - 1.x (#548)
github-actions[bot] Jan 8, 2025
3cd3e01
Publish docs pr 1.x (#554)
gregharvey Jan 13, 2025
868eebf
Documentation update - 1.x (#555)
github-actions[bot] Jan 13, 2025
33c8958
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 13, 2025
383b7da
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 14, 2025
4f5aa82
Publish docs pr 1.x (#558)
gregharvey Jan 14, 2025
0b0a307
Publish docs pr 1.x (#563)
gregharvey Jan 14, 2025
0598eb4
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 16, 2025
8c7a015
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 16, 2025
8ad6a4c
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 16, 2025
5a16f84
Feature branching pr 1.x (#528)
gregharvey Jan 17, 2025
5de9c41
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 20, 2025
b829e4d
Feature branching pr 1.x (#567)
gregharvey Jan 20, 2025
f223b19
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 21, 2025
717aec6
Bug fixes pr 1.x (#569)
gregharvey Jan 21, 2025
866ff26
Documentation update - 1.x (#560)
github-actions[bot] Jan 21, 2025
6518e64
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 21, 2025
013e5fc
Bug fixes pr 1.x (#571)
gregharvey Jan 21, 2025
e25afcf
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Jan 24, 2025
4a05e96
Bug fixes pr 1.x (#575)
gregharvey Jan 24, 2025
9a875d5
Drupal-cron-mail-setup (#577)
drazenCE Feb 3, 2025
48c6a7a
Fixing-drush-email-cron (#579)
drazenCE Feb 4, 2025
a1552e9
Fixing-cron-output-emails (#580)
drazenCE Feb 4, 2025
6edb15f
Merge branch 'devel-1.x' of https://github.com/codeenigma/ce-deploy i…
gregharvey Feb 4, 2025
8583023
Adding composer validate feature. (#583)
gregharvey Feb 4, 2025
b059931
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Feb 4, 2025
638304c
Composer validation pr 1.x (#585)
gregharvey Feb 4, 2025
8e7b755
Working on Drupal 10 test deploy.
gregharvey Feb 5, 2025
97a6de2
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into deve…
gregharvey Feb 5, 2025
8404fe5
Merging 1.x.
gregharvey Feb 5, 2025
161ff80
Updating APT.
gregharvey Feb 5, 2025
7b2e823
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
908dc3f
Using the controller container.
gregharvey Feb 5, 2025
3a1c1b9
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
4466686
Fetching branches from github.
gregharvey Feb 5, 2025
4f6de8e
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
d14522d
Fetched the wrong project.
gregharvey Feb 5, 2025
a6964d9
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
d97b9f0
Going for floating head approach.
gregharvey Feb 5, 2025
8ebd767
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
ad1478b
Making the build dir.
gregharvey Feb 5, 2025
ac34d18
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
6bf99f1
Moving gawk.csh out of the way.
gregharvey Feb 5, 2025
d119c4f
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 5, 2025
1c25d1e
Updating-unmount-retries-delays (#587)
drazenCE Feb 6, 2025
ae4d7cd
Fixing-statuscake-api-key-hidden (#591)
drazenCE Feb 6, 2025
23d3327
Moving hosts entry to ce-deploy.
gregharvey Feb 6, 2025
8de4e31
Merge branch 'devel-1.x' of github.com:codeenigma/ce-deploy into fixi…
gregharvey Feb 6, 2025
f05bc0d
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
b42b8ae
Merge branch '1.x' into fixing_ci
gregharvey Feb 6, 2025
d3a81e0
Trying the ce-dev approach again.
gregharvey Feb 6, 2025
3a5d82b
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
a0f9312
Configuring Git on the controller container.
gregharvey Feb 6, 2025
ad1726e
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
52f3324
Trying full path to git.
gregharvey Feb 6, 2025
b0da1e4
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
924ce87
Trying an API call to ce-deploy1.
gregharvey Feb 6, 2025
6638af5
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
82da701
Adding a git fetch to the ce-deploy self-update function.
gregharvey Feb 6, 2025
c8f8600
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
05ffd82
Removing obsolete builds.
gregharvey Feb 6, 2025
03e3779
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
f40957a
Making linting job have clearer steps.
gregharvey Feb 6, 2025
4eb1bac
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
ffce2ab
Linter does need sudo to install.
gregharvey Feb 6, 2025
8fcbba9
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
4121641
Adding a dist-upgrade.
gregharvey Feb 6, 2025
e076ac7
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
fcc429e
Adding new lines for visual tidiness.
gregharvey Feb 6, 2025
6f76ff6
Moving ansible-lint to previous step.
gregharvey Feb 6, 2025
94a4846
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
7d8c0a0
Latest ubuntu seems broken.
gregharvey Feb 6, 2025
4c970f6
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 6, 2025
33b4700
Finalising lint job.
gregharvey Feb 6, 2025
08a0beb
Merge branch 'fixing_ci' into fixing_ci-PR-devel-1.x
gregharvey Feb 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
27 changes: 15 additions & 12 deletions .github/workflows/ce-deploy-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,28 @@ name: Linting
on: pull_request

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
run-linting:
# Name the Job
if: ${{ always() }}
name: Linting
# Set the type of machine to run on
runs-on: ubuntu-20.04
runs-on: ubuntu-20.04 # at time of writing ubuntu-latest has broken ansible

steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout code.
uses: actions/checkout@v4

# Linter checks.
- name: Run linters.
if: ${{ always() }}
- name: Install linters.
run: |
sudo apt-get update
sudo apt-get dist-upgrade -y -o Dpkg::Options::="--force-confnew"
sudo apt-get install -y ansible-lint yamllint shellcheck
find ./roles -name "*.yml" | xargs ansible-lint
yamllint ./roles
cd scripts && shellcheck *.sh

- name: Run ansible-lint.
run: find ./roles -name "*.yml" | xargs ansible-lint

- name: Run yamllint.
run: yamllint ./roles

- name: Run shellcheck.
run: cd scripts && shellcheck *.sh
31 changes: 31 additions & 0 deletions .github/workflows/ce-deploy-test-cewww.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run test on ce-deploy1

# Run this workflow when a PR to 1.x is raised
on:
pull_request:
branches:
- 1.x

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
run-tests:
if: ${{ github.event.pull_request.head.ref != 'documentation' }}
# Name the Job
name: Run Drupal test build
# Set the type of machine to run on
runs-on: ubuntu-latest

steps:
# Call the GitLab API to trigger a test build
- name: Call the GitLab API on ce-deploy1
env:
GITLAB_TOKEN: ${{ secrets.CEWWW_DEV_TOKEN }}
run: |
curl --request POST \
--form token=$GITLAB_TOKEN \
--form ref=dev \
--form "variables[CE_DEPLOY_BRANCH]=${{ github.event.pull_request.head.ref }}" \
"https://gitlab.ce-deploy1.codeenigma.net/api/v4/projects/4/trigger/pipeline"
echo -e "\n\n"
echo "### Request sent - see https://gitlab.ce-deploy1.codeenigma.net/web/ce-www/-/pipelines for results"
55 changes: 0 additions & 55 deletions .github/workflows/ce-deploy-test-drupal8.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/ce-deploy-test-drupal9.yml

This file was deleted.

6 changes: 4 additions & 2 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ parse_options(){
"--config-branch")
shift
git_checkout_config_dir "$1"
;;
;;
"--boto-profile")
shift
BOTO_PROFILE="$1"
Expand All @@ -116,7 +116,7 @@ parse_options(){
"--build-id")
shift
BUILD_ID="$1"
;;
;;
*)
usage
exit 1
Expand Down Expand Up @@ -229,6 +229,8 @@ ansible_play(){
# @param $1 absolute path to local repo.
# @param $2 branch to checkout.
git_checkout(){
# We need to fetch first for new branches.
git -C "$1" fetch origin "$2"
git -C "$1" checkout "$2"
git -C "$1" pull origin "$2"
}
Expand Down