-
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.
- Loading branch information
0 parents
commit 49bf9c1
Showing
154 changed files
with
23,716 additions
and
0 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,57 @@ | ||
version: "2" | ||
exclude_patterns: | ||
- config/ | ||
- db/ | ||
- dist/ | ||
- features/ | ||
- "**/node_modules/" | ||
- script/ | ||
- "**/spec/" | ||
- "**/test/" | ||
- "**/tests/" | ||
- Tests/ | ||
- "**/vendor/" | ||
- "**/*_test.go" | ||
- "**/*.d.ts" | ||
plugins: | ||
csslint: | ||
enabled: true | ||
editorconfig: | ||
enabled: true | ||
checks: | ||
END_OF_LINE: | ||
enabled: false | ||
INDENTATION_SPACES: | ||
enabled: false | ||
INDENTATION_SPACES_AMOUNT: | ||
enabled: false | ||
TRAILINGSPACES: | ||
enabled: false | ||
eslint: | ||
enabled: true | ||
channel: "eslint-7" | ||
config: | ||
config: app/.eslintrc.js | ||
fixme: | ||
enabled: true | ||
git-legal: | ||
enabled: true | ||
markdownlint: | ||
enabled: true | ||
checks: | ||
MD002: | ||
enabled: false | ||
MD013: | ||
enabled: false | ||
MD029: | ||
enabled: false | ||
MD046: | ||
enabled: false | ||
nodesecurity: | ||
enabled: true | ||
sass-lint: | ||
enabled: true | ||
rules: | ||
nesting-depth: | ||
- 2 | ||
- max-depth: 5 |
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,42 @@ | ||
# Editor directories and files | ||
.DS_Store | ||
.gradle | ||
.nyc_output | ||
.scannerwork | ||
build | ||
coverage | ||
dist | ||
files | ||
**/e2e/videos | ||
node_modules | ||
# Ignore only top-level package-lock.json | ||
/package-lock.json | ||
|
||
# Ignore Helm subcharts | ||
charts/**/charts | ||
Chart.lock | ||
|
||
# local env files | ||
local.* | ||
local-*.* | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.iml | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
*.mp4 | ||
|
||
# temp office files | ||
~$* |
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,23 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.html] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{css,js,json,jsx,scss,ts,tsx,vue}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[.{babelrc,eslintrc}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[Jenkinsfile*] | ||
indent_style = space | ||
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,8 @@ | ||
# Autodetect text files and forces unix eols, so Windows does not break them | ||
* text=auto eol=lf | ||
|
||
# Force images/fonts to be handled as binaries | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.png binary |
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 @@ | ||
# These users will be the default owners for everything in the repo. | ||
# Unless a later match takes precedence, the following users will be | ||
# requested for review when someone opens a pull request. | ||
* @jujaga @norrisng-bc @TimCsaky @jatindersingh93 @kyle1morel @wilwong89 |
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,47 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
#### Describe the bug | ||
<!-- A clear and concise description of what the bug is. --> | ||
|
||
#### Version Number | ||
<!-- The specific application version you are currently using. --> | ||
<!-- This can be found by visiting the root of the application. --> | ||
<!-- Please include the `app.gitRev` and the `app.version`. --> | ||
|
||
#### To Reproduce | ||
|
||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
#### Expected behavior | ||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
#### Screenshots | ||
<!-- If applicable, add screenshots to help explain your problem. --> | ||
|
||
#### Desktop (please complete the following information): | ||
|
||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
#### Smartphone (please complete the following information): | ||
|
||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
#### Additional context | ||
<!-- Add any other context about the problem here. --> |
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,8 @@ | ||
--- | ||
name: Custom issue template | ||
about: Describe this issue template's purpose here. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- |
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,25 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
#### Is your feature request related to a problem? Please describe. | ||
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> | ||
|
||
#### Version Number | ||
<!-- The specific application version you are currently using. --> | ||
<!-- This can be found by visiting the root of the application. --> | ||
<!-- Please include the `app.gitRev` and the `app.version`. --> | ||
|
||
#### Describe the solution you'd like | ||
<!-- A clear and concise description of what you want to happen. --> | ||
|
||
#### Describe alternatives you've considered | ||
<!-- A clear and concise description of any alternative solutions or features you've considered. --> | ||
|
||
#### Additional context | ||
<!-- Add any other context or screenshots about the feature request here. --> |
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,87 @@ | ||
name: Build & Push Container | ||
description: Builds a container from a Dockerfile and pushes to registry | ||
|
||
inputs: | ||
context: | ||
description: Effective Working Directory | ||
required: true | ||
default: "./" | ||
image_name: | ||
description: Image Name | ||
required: true | ||
github_username: | ||
description: Github Container Registry Username | ||
required: true | ||
github_token: | ||
description: Github Container Registry Authorization Token | ||
required: true | ||
dockerhub_username: | ||
description: Dockerhub Container Registry Username | ||
required: false | ||
dockerhub_organization: | ||
description: Dockerhub Container Registry Organization | ||
required: false | ||
default: bcgovimages | ||
dockerhub_token: | ||
description: Dockerhub Container Registry Authorization Token | ||
required: false | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Parse Input Values | ||
shell: bash | ||
run: | | ||
echo "GH_USERNAME=$(tr '[:upper:]' '[:lower:]' <<< '${{ inputs.github_username }}')" >> $GITHUB_ENV | ||
echo "HAS_DOCKERHUB=${{ fromJson(inputs.dockerhub_username != '' && inputs.dockerhub_token != '') }}" >> $GITHUB_ENV | ||
- name: Login to Github Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ env.GH_USERNAME }} | ||
password: ${{ inputs.github_token }} | ||
|
||
- name: Login to Dockerhub Container Registry | ||
if: env.HAS_DOCKERHUB == 'true' | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: docker.io | ||
username: ${{ inputs.dockerhub_username }} | ||
password: ${{ inputs.dockerhub_token }} | ||
|
||
- name: Prepare Container Metadata tags | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: | | ||
ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }} | ||
docker.io/${{ inputs.dockerhub_organization }}/${{ inputs.image_name }},enable=${{ env.HAS_DOCKERHUB }} | ||
# Always updates the 'latest' tag | ||
flavor: | | ||
latest=true | ||
# Creates tags based off of branch names and semver tags | ||
tags: | | ||
type=ref,event=branch | ||
type=ref,event=pr | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
type=semver,pattern={{major}} | ||
type=sha | ||
- name: Build and Push to Container Registry | ||
id: builder | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: ${{ inputs.context }} | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
||
- name: Inspect Docker Image | ||
shell: bash | ||
run: | | ||
docker image inspect ghcr.io/${{ env.GH_USERNAME }}/${{ inputs.image_name }}: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- Provide a general summary of your changes in the Title above --> | ||
# Description | ||
|
||
<!-- Describe your changes in detail --> | ||
<!-- Why is this change required? What problem does it solve? --> | ||
<!-- If it fixes an open issue, please link to the issue here. --> | ||
|
||
## Types of changes | ||
|
||
<!-- What types of changes does your code introduce? Uncomment all that apply: --> | ||
|
||
<!-- Bug fix (non-breaking change which fixes an issue) --> | ||
<!-- New feature (non-breaking change which adds functionality) --> | ||
<!-- Documentation (non-breaking change with enhancements to documentation) --> | ||
<!-- Breaking change (fix or feature that would cause existing functionality to change) --> | ||
|
||
## Checklist | ||
|
||
<!-- Go over all the following points, and put an `x` in all the boxes that apply. --> | ||
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> | ||
|
||
- [ ] I have read the [CONTRIBUTING](CONTRIBUTING.md) doc | ||
- [ ] I have checked that unit tests pass locally with my changes | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] I have added necessary documentation (if appropriate) | ||
|
||
## Further comments | ||
|
||
<!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... --> |
Oops, something went wrong.