Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Mar 28, 2024
1 parent 7549b37 commit 62f6154
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/outpost-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

name: Deploy outpost image to github container registry

# on:
# push:
# branches: [feature/refine-docker-approach]
on:
push:
branches: [develop]

jobs:
push-outpost-image:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-in-herokuish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
run: |
docker run --rm --name outpost_test \
--network host \
-e GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }} \
-e "DATABASE_URL=postgresql://outpost:password@localhost:5432/outpost?" \
-e "DB_URI=mongodb://root:password@localhost:27017/outpost_development?authSource=admin" \
-e OFSTED_FEED_API_ENDPOINT=https://test-ofsted-feed.stub \
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ tests-built: ## Run the tests from your local code on the prebuilt image
outpost:test

tests-local: ## Run the tests from your local code
# ./.docker/bin/make-buildpacks-test-file.sh
docker run --rm --name outpost_test \
--platform linux/amd64 \
--network outpost-test-network \
Expand All @@ -185,7 +184,6 @@ tests-local: ## Run the tests from your local code
-e RAILS_ENV=test \
-v .:/tmp/app \
gliderlabs/herokuish:latest-20 /bin/herokuish buildpack test
# rm .buildpacks

tests-build: ## build the test image
docker build \
Expand Down

0 comments on commit 62f6154

Please sign in to comment.