generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): backend docker #232
Open
fergmac
wants to merge
53
commits into
main
Choose a base branch
from
ci/backendDocker
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
97ab7ac
Revise backend build and compose
DerekRoberts 285d645
Format workflow include.
fergmac 78821cb
Update django whitenoise.
fergmac af0000d
Update vue frontend to include /gwells/ in URL. Remove docker compose…
fergmac 8f5b940
Update docker compose.
fergmac 84f6512
Build context
DerekRoberts 132cc00
Build file
DerekRoberts b2c554d
Set Compose container names
DerekRoberts e698c6d
Remove generated staticfiles folder.
fergmac c389ccb
Update deployment yaml.
fergmac d7f186a
Update database deployment.
fergmac 41f4d4a
Var consistency
DerekRoberts b8cc9f5
Var consistency
DerekRoberts 524d846
Temporarily beef up deployment image
DerekRoberts 01afa6c
Resolve merge conflicts.
fergmac b41d5cc
Update report default value.
fergmac 5010604
Change image tag param to tag.
fergmac ec283cb
Remove deploy paramters not referenced in database deployment.
fergmac 7a5bc1b
Update db container name.
fergmac 90ec0ae
Update django secret object name from init deployment.
fergmac f3609e0
🙃
fergmac 1a14627
Update secret name convention.
fergmac e6aaf58
Uncomment parameters.
fergmac 90bf822
Try minimized python manage command in backend dockerfile.
fergmac 4bb49e5
Uncomment params.
fergmac 68bdd74
Revert backend dockerfile.
fergmac f87ad6a
Comment out dockerfile env vars.
fergmac 690dbf1
Add gwells service host and port.
fergmac 52044ac
Revert env var update.
fergmac 215238b
Comment out route.
fergmac 49d19cf
Update dockerfile env vars.
fergmac f188df0
Comment further env vars.
fergmac 78c3b3f
Remove reference to CUSTOM_GDAL_GEOS.
fergmac f2dd483
Remove env vars from Dockerfile.
fergmac 1f38f94
Add CUSTOM_GDAL_GEOS to backend deployment.
fergmac 38314bb
Add init container.
fergmac db0dd6b
Update database service selector name.
fergmac 922b840
Remove backend deployment volume.
fergmac 617a626
Comment out init deployment database service name.
fergmac 7e01f32
Update deployment.
fergmac ec8874c
Test database host update.
fergmac 5e9b5a6
Update env var setting.
fergmac 74776fe
Update network policy name.
fergmac e1dfa94
Add static files to Git ignore file.
fergmac c43e0d2
🙃
fergmac f4c84a9
🙃
fergmac 9980eb0
Move git ignore file location.
fergmac bc2d96b
Try git ignore again.
fergmac c09d7bb
Remove backend static files.
fergmac fce5c04
Update backend resources.
fergmac f9c1840
Update Django database config.
fergmac 0872016
Add readiness and liveness probe to backend and update ports.
fergmac 3276ef4
Add psql client to backend docker image.
fergmac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,17 @@ jobs: | |
strategy: | ||
matrix: | ||
package: [database, backend, frontend, minio] | ||
include: | ||
- package: backend | ||
build_context: ./ | ||
build_file: ./backend/Dockerfile | ||
timeout-minutes: 20 | ||
steps: | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
keep_versions: 50 | ||
build_context: ${{ matrix.build_context }} | ||
build_file: ${{ matrix.build_file }} | ||
package: ${{ matrix.package }} | ||
tag: ${{ github.event.number }} | ||
tag_fallback: latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check failure
Code scanning / Trivy
Image user should not be 'root' High