Skip to content

Commit

Permalink
chore: Uncomment backend build job (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac committed Aug 8, 2024
1 parent 63120c2 commit 6043c2c
Show file tree
Hide file tree
Showing 74 changed files with 47 additions and 598 deletions.
Binary file modified .DS_Store
Binary file not shown.
32 changes: 16 additions & 16 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ concurrency:
cancel-in-progress: true

jobs:
# # https://github.com/bcgov-nr/action-builder-ghcr
# builds:
# name: Builds
# runs-on: ubuntu-22.04
# strategy:
# matrix:
# package: [backend, frontend, migrations]
# timeout-minutes: 10
# steps:
# - uses: bcgov-nr/action-builder-ghcr@v2.0.2
# with:
# keep_versions: 50
# package: ${{ matrix.package }}
# tag: ${{ github.event.number }}
# tag_fallback: latest
# triggers: ('${{ matrix.package }}/')
# https://github.com/bcgov-nr/action-builder-ghcr
builds:
name: Builds
runs-on: ubuntu-22.04
strategy:
matrix:
package: [backend]
timeout-minutes: 10
steps:
- uses: bcgov-nr/action-builder-ghcr@v2.0.2
with:
keep_versions: 50
package: ${{ matrix.package }}
tag: ${{ github.event.number }}
tag_fallback: latest
triggers: ('${{ matrix.package }}/')

# # https://github.com/bcgov/quickstart-openshift-helpers
# deploys:
Expand Down
24 changes: 24 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Standard exclusions
*.md
.git
.github
.idea
.vscode
Dockerfile
CODE_OF_CONDUCT*
CONTRIBUTING*
LICENSE*
SECURITY*

# Node exclusions
dist
node_modules
npm-debug.log

# App-specific exclusions
# coverage
# e2e
# migrations
# output
# test
# tests
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:
volumes:
- pgdata-volume:/pgdata:z
- type: bind
source: ./app/database/scripts/local_dev/setup.sql
source: ./database/scripts/local_dev/setup.sql
target: /pgconf/setup.sql
consistency: cached
healthcheck:
Expand Down Expand Up @@ -141,8 +141,8 @@ services:
backend:
platform: linux/x86_64
build:
context: ./openshift/docker/backend
dockerfile: Dockerfile.dev
context: ./backend
dockerfile: Dockerfile
hostname: backend
env_file:
- path: ./.env.test
Expand Down Expand Up @@ -197,12 +197,12 @@ services:
command: ./scripts/backend-command-script.sh
volumes:
- type: bind
source: ./app/backend
target: /app/backend
source: ./backend
target: /backend
consistency: cached
- type: bind
source: ./app/scripts/backend-command-script.sh
target: /app/scripts/backend-command-script.sh
source: ./scripts/backend-command-script.sh
target: /scripts/backend-command-script.sh
consistency: cached
ports:
- "8000:8000"
Expand Down
Binary file removed gwells/tests/api-tests/files/square-shapefile.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
140 changes: 0 additions & 140 deletions tests/integration/package-lock.json

This file was deleted.

15 changes: 0 additions & 15 deletions tests/integration/package.json

This file was deleted.

94 changes: 0 additions & 94 deletions tests/integration/src/main.js

This file was deleted.

Loading

0 comments on commit 6043c2c

Please sign in to comment.