-
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 b8f9e01
Showing
11 changed files
with
476 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,7 @@ | ||
|
||
!build/*-runner | ||
!build/*-runner.jar | ||
!build/lib/* | ||
!build/quarkus-app/* | ||
|
||
**/node_modules |
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,26 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
indent_style = space | ||
|
||
[*.{yml,yaml}] | ||
indent_style = space | ||
|
||
[*.{cmd,bat}] | ||
end_of_line = crlf | ||
|
||
[*.gradle] | ||
indent_size = 4 |
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,6 @@ | ||
# Description | ||
|
||
* Include a summary of the changes and the related issue. | ||
* Include relevant motivation and context. | ||
|
||
Resolves #(issue) |
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 @@ | ||
--- | ||
# Automatically adds issues to the Integration Github project | ||
# if the issue is tagged with `integration` | ||
|
||
name: Add integration tasks to Integration project | ||
|
||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
- labeled | ||
- edited | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add integration issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/add-to-project@16678f07cc736f4fe688569f2d1df41efd2fcefe | ||
with: | ||
project-url: https://github.com/orgs/DARPA-ASKEM/projects/5 | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | ||
labeled: integration | ||
label-operator: OR |
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,35 @@ | ||
--- | ||
# This workflow will lint all YAML and Docker files | ||
name: Global File Linting | ||
# yamllint disable-line rule:truthy | ||
on: | ||
workflow_call: | ||
push: | ||
paths: | ||
- '**.yaml' | ||
- '**.yml' | ||
- '**/Dockerfile*' | ||
branches: ['main'] | ||
pull_request: | ||
paths: | ||
- '**.yaml' | ||
- '**.yml' | ||
- '**/Dockerfile*' | ||
branches: ['main'] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lintYaml: | ||
name: Lint YAML Files | ||
uses: darpa-askem/.github/.github/workflows/lint-yaml.yaml@main | ||
with: | ||
strict: false | ||
|
||
lintDocker: | ||
name: Lint Docker Files | ||
uses: darpa-askem/.github/.github/workflows/lint-docker.yaml@main | ||
with: | ||
failure-threshold: 'error' |
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,36 @@ | ||
--- | ||
# Automatically build Docker images on changes to main and push them to a | ||
# Container Registry using HCL Bake file. | ||
|
||
name: Build Docker Images | ||
# yamllint disable-line rule:truthy | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ['main'] | ||
tags: ['*'] | ||
|
||
jobs: | ||
# Call the Lint & Format workflow before publishing | ||
verify: | ||
uses: ./.github/workflows/lint.yaml | ||
|
||
# Call the Tag Generator to generate an image tag to use | ||
tag-generator: | ||
uses: darpa-askem/.github/.github/workflows/tag-generator.yaml@main | ||
|
||
# Build and Publish all targets associated with specified group | ||
bake: | ||
needs: | ||
- verify | ||
- tag-generator | ||
uses: darpa-askem/.github/.github/workflows/bake-publish.yml@main | ||
with: | ||
file: 'docker-bake.hcl' | ||
group: 'prod' | ||
registry: 'ghcr.io' | ||
organization: ${{ github.repository_owner }} | ||
tag: ${{ needs.tag-generator.outputs.tag }} | ||
secrets: | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} |
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,73 @@ | ||
# Gradle | ||
.gradle/ | ||
build/ | ||
|
||
# Eclipse | ||
.project | ||
.classpath | ||
.settings/ | ||
bin/ | ||
|
||
# IntelliJ | ||
.idea/* | ||
*.ipr | ||
*.iml | ||
*.iws | ||
|
||
# NetBeans | ||
nb-configuration.xml | ||
|
||
# Visual Studio Code | ||
.vscode/* | ||
.factorypath | ||
|
||
# Nova | ||
.nova/* | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Vim | ||
*.swp | ||
*.swo | ||
|
||
# patch | ||
*.orig | ||
*.rej | ||
|
||
# Local environment | ||
.env | ||
|
||
# Python | ||
__pycache__ | ||
.mypy_cache | ||
.pytest_cache | ||
dist | ||
.venv | ||
.tmp | ||
.vscode | ||
.cache | ||
.sqlite | ||
experiments-main | ||
api.env | ||
|
||
# Minio | ||
.minio.sys | ||
|
||
# Yarn | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.pnp.* | ||
|
||
# NPM | ||
node_modules | ||
dist | ||
build | ||
|
||
# MISC | ||
create.sql | ||
.eslintcache |
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,5 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
line-length: disable |
Oops, something went wrong.