Skip to content

Commit ad9ee2e

Browse files
committed
Test custom buildstep image
1 parent 21afafc commit ad9ee2e

7 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎circle.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ test:
2424
- make docker_tests TESTS=apps/php-multi
2525
- make docker_tests TESTS=apps/postgresql
2626
- make docker_tests TESTS=apps/python-flask
27-
- make docker_tests TESTS=apps/static
27+
- make docker_tests TESTS=apps/buildstep-image

‎plugins/dokku-rebuild/commands‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ dokku_build_app_from_git() {
7474
fi
7575

7676
find -name .git -prune -exec rm -rf {} \; > /dev/null
77-
tar c . | docker run -i -a stdin "$BUILDSTEP_IMAGE" /bin/bash \
77+
tar c . | docker run -i -a stdin "$DOKKU_BUILDSTEP_IMAGE" /bin/bash \
7878
-c "mkdir -p /app && tar -xC /app" | commit_image "$IMAGE"
7979

8080
pluginhook pre-build "$APP" "$REV" "buildstep"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
ssh $1 create $2
4+
ssh $1 config:set $2 DOKKU_BUILDSTEP_IMAGE=ayufan/dokku-alt-buildstep:foreman || true

‎wercker.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ build:
5858
name: run python-flask tests
5959
code: make docker_tests TESTS=apps/python-flask
6060
- script:
61-
name: run static tests
62-
code: make docker_tests TESTS=apps/static
61+
name: run buildstep-image tests
62+
code: make docker_tests TESTS=apps/buildstep-image
6363

0 commit comments

Comments
 (0)