-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update all gh workflows --> 2.0.7 for CVE skip option
- Loading branch information
1 parent
aa45d43
commit 35f688a
Showing
9 changed files
with
21 additions
and
21 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ on: | |
|
||
jobs: | ||
backend-test: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
image_name: ghcr.io/${{ github.repository }}/backend | ||
build_context: src/backend | ||
|
@@ -29,12 +29,12 @@ jobs: | |
secrets: inherit | ||
|
||
frontend-unit-test: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
working_dir: src/frontend | ||
|
||
frontend-e2e-test: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
playwright: true | ||
cache_image: false | ||
|
@@ -47,15 +47,15 @@ jobs: | |
secrets: inherit | ||
|
||
backend-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
needs: [backend-test] | ||
with: | ||
context: src/backend | ||
build_target: prod | ||
image_name: ghcr.io/${{ github.repository }}/backend | ||
|
||
frontend-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
needs: [frontend-unit-test, frontend-e2e-test] | ||
with: | ||
context: src | ||
|
@@ -165,7 +165,7 @@ jobs: | |
needs: | ||
- smoke-test-backend | ||
- smoke-test-frontend | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
environment: ${{ github.ref_name }} | ||
docker_compose_file: "docker-compose.${{ github.ref_name }}.yml" | ||
|
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,7 +16,7 @@ on: | |
|
||
jobs: | ||
backend-ci-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: src/backend | ||
build_target: ci | ||
|
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,7 +13,7 @@ on: | |
|
||
jobs: | ||
build-odkcentral: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: odkcentral/api | ||
image_tags: | | ||
|
@@ -26,7 +26,7 @@ jobs: | |
# multi_arch: true | ||
|
||
build-odkcentral-ui: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: odkcentral/ui | ||
image_tags: | | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ on: | |
|
||
jobs: | ||
build-cert-init-main: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: nginx | ||
build_target: certs-init-main | ||
|
@@ -21,7 +21,7 @@ jobs: | |
multi_arch: true | ||
|
||
build-cert-init-dev: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: nginx | ||
build_target: certs-init-development | ||
|
@@ -33,7 +33,7 @@ jobs: | |
multi_arch: true | ||
|
||
build-proxy-main: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: nginx | ||
build_target: main | ||
|
@@ -44,7 +44,7 @@ jobs: | |
multi_arch: true | ||
|
||
build-proxy-dev: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: nginx | ||
build_target: development | ||
|
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 |
---|---|---|
|
@@ -12,19 +12,19 @@ on: | |
|
||
jobs: | ||
build_doxygen: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
output_path: docs/apidocs | ||
|
||
build_openapi_json: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
image: ghcr.io/${{ github.repository }}/backend:ci-${{ github.ref_name }} | ||
example_env_file_path: ".env.example" | ||
output_path: docs/openapi.json | ||
|
||
publish_docs: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
needs: | ||
- build_doxygen | ||
- build_openapi_json | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ on: | |
|
||
jobs: | ||
pytest: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
image_name: ghcr.io/${{ github.repository }}/backend | ||
build_context: src/backend | ||
|
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 |
---|---|---|
|
@@ -14,12 +14,12 @@ on: | |
|
||
jobs: | ||
unit-tests: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
working_dir: src/frontend | ||
|
||
e2e-tests: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
playwright: true | ||
cache_image: false | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
|
||
jobs: | ||
backend-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
context: src/backend | ||
build_target: prod | ||
|
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 |
---|---|---|
|
@@ -10,6 +10,6 @@ on: | |
|
||
jobs: | ||
publish-docs-to-wiki: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].6 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].7 | ||
with: | ||
homepage_path: "wiki_redirect.md" |