Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
5bee26c
Fix docker-compose v2 issue and re-release to include clamav role (#68)
nfawbert Jan 28, 2022
e42ebd1
Killing old ce-dev container when updating (#70)
nfawbert Feb 2, 2022
b0dc9d9
Added Drupal9 and Localgov templates (#73)
DionisioFG Mar 9, 2022
34ce84c
New release 1.1.19 (#75)
DionisioFG Mar 10, 2022
cae50ba
Updated package.json version: 1.1.19 (#77)
DionisioFG Mar 10, 2022
79372e7
New tag to fix repo key for Chrome (#83)
DionisioFG Jul 1, 2022
4fa738c
#CE-62820: Added support for composer '2.x' in Drupal 9 provision tem…
davids4 Sep 8, 2022
70954a3
REL 1.1.21: Using composer 2 with Drupal 9 by default (#92)
DionisioFG Sep 8, 2022
62e753e
Drupal template fixes pr 1.x (#94)
gregharvey Sep 9, 2022
710a4e3
CE-DEV: some updates and tweaks (#96)
DionisioFG Sep 14, 2022
6046092
Release 1.1.23 (#97)
DionisioFG Sep 14, 2022
2dc8b59
Bump minimist from 1.2.5 to 1.2.6 (#79)
dependabot[bot] Sep 15, 2022
dd597b8
Bump ansi-regex from 3.0.0 to 3.0.1 (#84)
dependabot[bot] Sep 15, 2022
4f0e659
Bump moment from 2.27.0 to 2.29.4 (#85)
dependabot[bot] Sep 15, 2022
2dc648c
Changing 'set-current' choice to a valid one.
gregharvey Sep 15, 2022
8434c0d
Fixing ce_provision vars in container builds. (#102)
gregharvey Apr 14, 2023
0581ade
Adding variables pr 1.x (#104)
gregharvey Apr 14, 2023
fdc01d0
Adding variables pr 1.x (#106)
gregharvey Apr 14, 2023
dd3d9fc
Adding variables pr 1.x (#109)
gregharvey Apr 14, 2023
cd1345b
Adding variables pr 1.x (#111)
gregharvey Apr 14, 2023
7c9e1bc
Fix setup on a Mac: use Docker Compose V2 with the new 'cgroup' param…
iKristjan May 17, 2023
2c8d2ff
Bump minimatch from 3.0.4 to 3.1.2 (#107)
dependabot[bot] May 18, 2023
8325116
Merge branch '1.x' of github.com:codeenigma/ce-dev into 1.x
gregharvey May 18, 2023
c884a4f
Cgroup fixes pr 1.x (#115)
gregharvey May 18, 2023
d4b8b37
Merge branch '1.x' of github.com:codeenigma/ce-dev into 1.x
gregharvey May 18, 2023
6578ae9
Adding new required ce-provision rkhunter variable. (#119)
gregharvey May 22, 2023
fd04f9c
Issue 120: docker ps change, can no longer use --format *and* --quiet…
galooph Jul 10, 2023
0d25cfe
REL 1.2.1: Fix --quiet and --format use (#123)
DionisioFG Jul 10, 2023
6ddcb4d
Drupal template fixes pr 1.x (#126)
gregharvey Jul 18, 2023
45cdf89
Bump semver from 5.7.1 to 5.7.2 (#124)
dependabot[bot] Jul 18, 2023
f347208
Updating docs URL for CI to https. (#131)
gregharvey Jul 18, 2023
9e6df79
Drupal template fixes pr 1.x (#133)
gregharvey Jul 18, 2023
2746cd5
Drupal template fixes pr 1.x (#135)
gregharvey Jul 18, 2023
06bf830
Drupal template fixes pr 1.x (#138)
gregharvey Jul 19, 2023
0ae2dc6
Packaging 1.2.2 with new Drupal templates.
gregharvey Jul 19, 2023
57de3cd
Drupal template fixes pr 1.x (#140)
gregharvey Jul 19, 2023
6e51555
Upgrading base container to bullseye-slim. (#141)
gregharvey Jul 20, 2023
c56b900
Adding release info.
gregharvey Jul 20, 2023
845c62f
66912: Added Drupal10 template (#144)
DionisioFG Aug 29, 2023
a45f96f
Bump word-wrap from 1.2.3 to 1.2.4 (#136)
dependabot[bot] Oct 25, 2023
6f89931
Update Troubleshooting.md to include more information around cgroup. …
philipnorton42 Oct 25, 2023
dc14dbd
Bump debug from 4.1.1 to 4.3.4 (#146)
dependabot[bot] Oct 25, 2023
bf4fd05
#60168: Documentation: Updated Troubleshooting information for 'Ubunt…
davids4 Oct 25, 2023
6dbf2bb
Adding build for testing images from devel.
gregharvey Nov 8, 2023
cb2caae
Merging devel.
gregharvey Nov 8, 2023
d06dfbc
Merge branch 'test_images' into test_images-PR-devel
gregharvey Nov 8, 2023
a5ace2c
Bullseye upgrade pr 1.x (#147)
gregharvey Nov 8, 2023
cb72b14
Adding build for testing images from devel. (#149)
gregharvey Nov 8, 2023
400fffb
Allow branch switching pr 1.x (#167)
gregharvey Jan 29, 2024
2bfd699
Merging 1.x. (#172)
gregharvey Jan 29, 2024
6eb6b95
Add ansible verbose pr 1.x (#174)
gregharvey Jan 29, 2024
d3393a3
Fixing vars formatting and adding PHP-FPM support for xdebug.
gregharvey Jul 2, 2024
6da8d14
Bump braces from 3.0.2 to 3.0.3 (#180)
dependabot[bot] Jul 2, 2024
d5cfef2
Supporting ability to pass a string of project types to build.
gregharvey Aug 9, 2024
278ec29
Updating GitHub Actions to split Drupal tests over two jobs.
gregharvey Aug 9, 2024
3c3dadf
Merging 1.x
gregharvey Aug 9, 2024
ea56c55
Merging devel
gregharvey Aug 9, 2024
9fa3363
Merge branch 'improved_defaults' into test_images
gregharvey Aug 9, 2024
f6f6d88
Merging devel.
gregharvey Aug 9, 2024
915d06b
Fixing vars formatting and adding PHP-FPM support for xdebug. (#182)
gregharvey Aug 9, 2024
7515031
Merge branch '1.x' into test_images
gregharvey Aug 9, 2024
9c7ce46
Merge branch 'devel' of github.com:codeenigma/ce-dev into test_images…
gregharvey Aug 9, 2024
848c708
Merge branch 'test_images' into test_images-PR-devel
gregharvey Aug 9, 2024
a3e4db4
Upgrading GitHub Actions Ubuntu version.
gregharvey Aug 9, 2024
d2f85f6
Merge branch 'test_images' into test_images-PR-devel
gregharvey Aug 9, 2024
f862650
Fixing EOF.
gregharvey Aug 9, 2024
7afda29
Merge branch 'test_images' into test_images-PR-devel
gregharvey Aug 9, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ce-dev-PR-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: pull_request

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ce-dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ce-dev-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Name the Job
name: Publish documentation
# Set the type of machine to run on
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
# Configures global Git variables for committing
Expand Down
38 changes: 35 additions & 3 deletions .github/workflows/ce-dev-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- cron: '30 3 * * *'

jobs:
build:
runs-on: ubuntu-20.04
build-drupal9:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -36,4 +36,36 @@ jobs:
run: |
/bin/sh docker-images/export.sh --version latest --image-name ce-dev --dockerfile-path base
/bin/sh docker-images/export.sh --version latest --image-name ce-dev-controller --dockerfile-path controller
/bin/sh templates/prebuild.sh
/bin/sh templates/prebuild.sh --projects "blank drupal9"

build-drupal10:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: '1.x'
- name: Install modules
run: yarn
# Uses https://oclif.io/
# Not strictly necessary here, but ensures the packing works
- name: Pack the JS
run: yarn oclif-dev pack
# We build mkcert from source because releases are broken
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full libnss3-tools wget
cd /tmp
wget https://golang.org/dl/go1.16.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
git clone https://github.com/FiloSottile/mkcert && cd mkcert
go build -ldflags "-X main.Version=$(git describe --tags)"
sudo mv ./mkcert /usr/local/bin && cd ../
sudo chmod +x /usr/local/bin/mkcert
rm -Rf mkcert
- name: Build and test
run: |
/bin/sh docker-images/export.sh --version latest --image-name ce-dev --dockerfile-path base
/bin/sh docker-images/export.sh --version latest --image-name ce-dev-controller --dockerfile-path controller
/bin/sh templates/prebuild.sh --projects drupal10
38 changes: 37 additions & 1 deletion templates/prebuild.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
#!/bin/sh
# Test project creation and pre-build image.
set -e

usage(){
echo 'prebuild.sh [OPTIONS]'
echo 'Test project creation and pre-build Docker images.'
echo ''
echo 'Available options:'
echo '--projects: space separated string of project types to build, defaults to all'
echo '--push: push images to the Docker registry'
echo ''
}

# Parse options arguments.
parse_options(){
while [ "${1:-}" ]; do
case "$1" in
"--projects")
shift
PROJECTS="$1"
;;
"--push")
PUSH="true"
;;
*)
usage
exit 1
;;
esac
shift
done
}

# Set default variables.
PROJECTS="blank drupal8 drupal9 drupal10"
PUSH="false"

# Parse options.
parse_options "$@"

# Common processing.
OWN_DIR=$(dirname "$0")
Expand Down Expand Up @@ -55,7 +91,7 @@ for PROJECT in $PROJECTS; do
create_project "$PROJECT"
test_project "$PROJECT"
build_project "$PROJECT"
if [ -n "$1" ] && [ "$1" = "--push" ]; then
if [ "$PUSH" = "true" ]; then
push_project "$PROJECT"
fi
done
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -446,11 +446,11 @@ brace-expansion@^1.1.7:
concat-map "0.0.1"

braces@^3.0.1:
version "3.0.2"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
version "3.0.3"
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
dependencies:
fill-range "^7.0.1"
fill-range "^7.1.1"

buffer-from@^1.0.0:
version "1.1.1"
Expand Down Expand Up @@ -1027,10 +1027,10 @@ file-entry-cache@^5.0.1:
dependencies:
flat-cache "^2.0.1"

fill-range@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
fill-range@^7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
dependencies:
to-regex-range "^5.0.1"

Expand Down
Loading