Skip to content

Commit

Permalink
build: use latest gh-workflows, v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 26, 2023
1 parent 9c9be14 commit 0d49feb
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ jobs:
secrets: inherit

frontend-tests:
uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.1.1
with:
working_dir: src/frontend

backend-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.1
needs: [pytest]
with:
context: src/backend
build_target: prod
image_name: ghcr.io/${{ github.repository }}/backend

frontend-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.1
needs: [frontend-tests]
with:
context: src/frontend
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
needs:
- smoke-test-backend
- smoke-test-frontend
uses: hotosm/gh-workflows/.github/workflows/remote_deploy.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/remote_deploy.yml@1.1.1
with:
environment: ${{ github.ref_name }}
docker_compose_file: "docker-compose.${{ github.ref_name }}.yml"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_ci_img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
backend-ci-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.1
with:
context: src/backend
build_target: ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_odk_imgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build-odkcentral:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.1
with:
context: odkcentral/api
image_tags: |
Expand All @@ -23,7 +23,7 @@ jobs:
ODK_CENTRAL_TAG=${{ vars.ODK_CENTRAL_TAG }}
build-proxy:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.1
with:
context: odkcentral/proxy
image_tags: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ on:

jobs:
build_doxygen:
uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@1.1.1
with:
output_path: docs/apidocs

build_openapi_json:
uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.1.1
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/mkdocs_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@1.1.1
needs:
- build_doxygen
- build_openapi_json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_test_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ on:

jobs:
frontend-tests:
uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/test_pnpm.yml@1.1.1
with:
working_dir: src/frontend
2 changes: 1 addition & 1 deletion .github/workflows/tag_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
backend-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.1.1
with:
context: src/backend
build_target: prod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ on:

jobs:
publish-docs-to-wiki:
uses: hotosm/gh-workflows/.github/workflows/wiki.yml@1.0.1
uses: hotosm/gh-workflows/.github/workflows/wiki.yml@1.1.1
with:
homepage_path: "index.md"

0 comments on commit 0d49feb

Please sign in to comment.