generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update .gitignore * chore: add .gitattributes * chore: add .editorconfig * feat: add prototype codes application * feat: replace sample frontend, backend, and tests with prototype
- Loading branch information
1 parent
4f63de5
commit bcb2ed9
Showing
217 changed files
with
63,794 additions
and
34,037 deletions.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto eol=lf |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,24 @@ jobs: | |
builds: | ||
name: Builds | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
package: [backend, frontend, migrations] | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
keep_versions: 50 | ||
package: ${{ matrix.package }} | ||
package: migrations | ||
tag: ${{ github.event.number }} | ||
tag_fallback: latest | ||
triggers: ('${{ matrix.package }}/') | ||
triggers: ('migrations/') | ||
- uses: bcgov-nr/[email protected] | ||
with: | ||
keep_versions: 50 | ||
package: backend | ||
build_context: apps | ||
build_file: apps/Codes/Codes.Server/Dockerfile | ||
tag: ${{ github.event.number }} | ||
tag_fallback: latest | ||
triggers: ('apps/') | ||
|
||
# https://github.com/bcgov/quickstart-openshift-helpers | ||
deploys: | ||
|
@@ -35,18 +41,10 @@ jobs: | |
oc_namespace: ${{ secrets.OC_NAMESPACE }} | ||
oc_token: ${{ secrets.OC_TOKEN }} | ||
with: | ||
triggers: ('backend/' 'frontend/' 'migrations/' 'charts/') | ||
triggers: ('apps/' 'migrations/' 'charts/') | ||
db_user: app-${{github.event.number}} | ||
params: --set global.secrets.persist=false | ||
|
||
# tests: | ||
# name: Tests | ||
# if: needs.deploys.outputs.triggered == 'true' | ||
# needs: [deploys] | ||
# uses: ./.github/workflows/.tests.yml | ||
# with: | ||
# target: ${{ github.event.number }} | ||
|
||
results: | ||
name: PR Results | ||
needs: [builds, deploys] | ||
|
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 |
---|---|---|
|
@@ -15,8 +15,7 @@ jobs: | |
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected] | ||
with: | ||
markdown_links: | | ||
- [Frontend](https://${{ github.event.repository.name }}-${{ github.event.number }}-frontend.apps.silver.devops.gov.bc.ca) | ||
- [Backend](https://${{ github.event.repository.name }}-${{ github.event.number }}-frontend.apps.silver.devops.gov.bc.ca/api) | ||
- [Codes](https://${{ github.event.repository.name }}-${{ github.event.number }}-backend.apps.silver.devops.gov.bc.ca) | ||
results: | ||
name: Validate Results | ||
|
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 |
---|---|---|
|
@@ -81,13 +81,4 @@ jobs: | |
# artifact_name: "zap_backend" | ||
# cmd_options: "-a" | ||
# issue_title: "ZAP: Backend" | ||
# target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}/api | ||
|
||
# - name: ZAP Scan - Frontend | ||
# uses: zaproxy/[email protected] | ||
# with: | ||
# allow_issue_writing: true | ||
# artifact_name: "zap_frontend" | ||
# cmd_options: "-a" | ||
# issue_title: "ZAP: Frontend" | ||
# target: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }} | ||
# target: https://${{ env.PREFIX }}-backend.${{ env.DOMAIN }} |
Oops, something went wrong.