Skip to content

Commit a4212f3

Browse files
committed
2.x: Just using ce-dev:{version} and mariadb|mysql. Removed the creation of pre-built images like drupal10-web
1 parent 8955fda commit a4212f3

File tree

4 files changed

+6
-27
lines changed

4 files changed

+6
-27
lines changed

.github/workflows/ubuntu-linux.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ jobs:
4343
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
4444
/bin/sh docker-images/export.sh --version 2.x --image-name ce-dev --dockerfile-path base --push
4545
/bin/sh docker-images/export.sh --version 2.x --image-name ce-dev-controller --dockerfile-path controller --push
46-
- name: Test templates and push Drupal images to Docker
46+
- name: Test templates with the previous images created
4747
run: |
4848
sudo chmod +x bin/run.js
49-
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
50-
/bin/sh templates/prebuild.sh --template ce-dev.compose.yml --push
49+
/bin/sh templates/prebuild.sh --template ce-dev.compose.yml
5150
- name: Publish new ce-dev binaries
5251
uses: softprops/action-gh-release@v1
5352
with:

templates/drupal10/ce-dev/ce-dev.compose.prebuilt.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ x-ce_dev:
1111
- 'https://www.{{ project_name }}.local'
1212
services:
1313
web:
14-
image: 'codeenigma/drupal10-web:2.x'
14+
image: 'codeenigma/ce-dev:2.x'
1515
platform: linux/amd64
1616
cgroup: host
1717
expose:
@@ -36,7 +36,7 @@ services:
3636
cap_add:
3737
- NET_ADMIN
3838
db:
39-
image: 'codeenigma/drupal10-db:2.x'
39+
image: 'mariadb'
4040
platform: linux/amd64
4141
environment:
4242
MYSQL_ROOT_PASSWORD: ce-dev

templates/localgov/ce-dev/ce-dev.compose.prebuilt.yml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ x-ce_dev:
1111
- 'https://www.{{ project_name }}.local'
1212
services:
1313
web:
14-
image: 'codeenigma/drupal10-web:2.x'
14+
image: 'codeenigma/ce-dev:2.x'
1515
platform: linux/amd64
1616
cgroup: host
1717
expose:
@@ -36,7 +36,7 @@ services:
3636
cap_add:
3737
- NET_ADMIN
3838
db:
39-
image: 'codeenigma/drupal10-db:2.x'
39+
image: 'mariadb'
4040
platform: linux/amd64
4141
environment:
4242
MYSQL_ROOT_PASSWORD: ce-dev

templates/prebuild.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -76,27 +76,7 @@ test_project(){
7676
echo "$1"
7777
}
7878

79-
# Build a project.
80-
# @param $1
81-
# Project name.
82-
build_project(){
83-
cd "$WORK_DIR/$1"
84-
$CE_DEV_BIN build --registry codeenigma
85-
}
86-
87-
# Build a project.
88-
# @param $1
89-
# Project name.
90-
push_project(){
91-
cd "$WORK_DIR/$1"
92-
$CE_DEV_BIN push --anonymous --registry codeenigma
93-
}
94-
9579
for PROJECT in $PROJECTS; do
9680
create_project "$PROJECT"
9781
test_project "$PROJECT"
98-
build_project "$PROJECT"
99-
if [ $PUSH = "yes" ]; then
100-
push_project "$PROJECT"
101-
fi
10282
done

0 commit comments

Comments
 (0)