Skip to content

Commit ac6e181

Browse files
authored
Merge pull request #40 from mlibrary/add-hathifiles-to-ci
adds hathifiles to continuous integration
2 parents 60c1c90 + 5478fcb commit ac6e181

4 files changed

+36
-8
lines changed

.github/workflows/build-deploy-on-release.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
with:
2222
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.release.tag_name }}
2323
file: environments/digifeeds/production/app-image.txt
24-
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
25-
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
24+
secrets: inherit
25+
26+
deploy-production-hathifiles:
27+
needs: build-production
28+
name: Deploy to production - hathifiles
29+
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
30+
with:
31+
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.release.tag_name }}
32+
file: environments/hathifiles/production/cli-image.txt
2633
secrets: inherit

.github/workflows/build-main.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
with:
2424
image: ${{ needs.build-unstable.outputs.image }}
2525
file: environments/digifeeds/workshop/app-image.txt
26-
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
27-
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
26+
secrets: inherit
27+
28+
deploy-workshop-hathifiles:
29+
needs: build-unstable
30+
name: "Deploy to workshop - hathifiles"
31+
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
32+
with:
33+
image: ${{ needs.build-unstable.outputs.image }}
34+
file: environments/hathifiles/workshop/cli-image.txt
2835
secrets: inherit

.github/workflows/manual-deploy-production.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ jobs:
2424
with:
2525
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.inputs.tag }}
2626
file: environments/digifeeds/production/app-image.txt
27-
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
28-
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
27+
secrets: inherit
28+
29+
deploy-production-hathifiles:
30+
needs: build-production
31+
name: Deploy to production - hathifiles
32+
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
33+
with:
34+
image: ghcr.io/mlibrary/${{ vars.IMAGE_NAME }}:${{ github.event.inputs.tag }}
35+
file: environments/hathifiles/production/cli-image.txt
2936
secrets: inherit

.github/workflows/manual-deploy-workshop.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ jobs:
2323
with:
2424
image: ${{ needs.build-unstable.outputs.image }}
2525
file: environments/digifeeds/workshop/app-image.txt
26-
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
27-
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
2826
secrets: inherit
27+
28+
deploy-workshop-hathifiles:
29+
needs: build-unstable
30+
name: Deploy to workshop - hathifiles
31+
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
32+
with:
33+
image: ${{ needs.build-unstable.outputs.image }}
34+
file: environments/hathifiles/workshop/cli-image.txt
35+
secrets: inherit

0 commit comments

Comments
 (0)