Skip to content

Commit

Permalink
remove commented out code and debugging setting
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Jun 14, 2024
1 parent 4bc767f commit 5615168
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-outpost-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Publish outpost image to github container registry

on:
push:
branches: [develop, staging, production, feature/disable-multi-platform]
branches: [develop, staging, production]

# multi platform builds are disabled until we upgrade to a newer version of heroku stack
jobs:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
echo "tag=default" >> $GITHUB_ENV
fi
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3

# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

- name: Build Docker image
uses: docker/build-push-action@v5
with:
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/test-in-herokuish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# @TODO fix static files not generating in this image

# RAILS_ENV: test
# NODE_ENV: development
# test_mongo_local_db_uri="mongodb://$(test_mongo_db_user):$(test_mongo_db_password)@localhost:$(test_mongo_port)/$(test_mongo_db_name)"
Expand Down Expand Up @@ -66,26 +64,10 @@ jobs:
-e POSTGRES_USER=$test_postgres_db_user \
postgres:13.7-alpine
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

# - name: "Login to GitHub Container Registry"
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{github.actor}}
# password: ${{secrets.GITHUB_TOKEN}}

# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3

# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
# tags: ghcr.io/wearefuturegov/outpost:test
tags: outpost:test
file: Dockerfile.test
load: true
Expand All @@ -101,10 +83,6 @@ jobs:
NODE_ENV=test
NODE_MODULES_CACHE=true
# - name: Test
# run: |
# docker run --rm outpost:test

- name: Run the image and tests
run: |
docker run --rm --name test_container \
Expand Down

0 comments on commit 5615168

Please sign in to comment.