-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ECLK/results-tabulation i…
…nto gh-858
- Loading branch information
Showing
15 changed files
with
205 additions
and
249 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
38 changes: 38 additions & 0 deletions
38
.github/workflows/platformer-47b61be7-b630-4637-aaa2-4bb7bdc6e7da.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Platformer Generated ui-stag-tag-push Build | ||
on: | ||
push: | ||
tags: | ||
- 'stag-**' | ||
jobs: | ||
build: | ||
runs-on: | ||
- ubuntu-latest | ||
env: | ||
SERVICE_NAME: ghcr.io/eclk/results-tabulation | ||
CONTAINER_REGISTRY: ghcr.io | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Version | ||
id: event-version | ||
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ${{ env.CONTAINER_REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build the Docker image | ||
run: docker build --tag | ||
${SERVICE_NAME}:ui-${{steps.event-version.outputs.SOURCE_TAG }} --file | ||
./results-tabulation-ui/Staging.Dockerfile ./results-tabulation-ui/ | ||
- name: GitHub Image Push | ||
run: docker push $SERVICE_NAME:ui-${{steps.event-version.outputs.SOURCE_TAG }} | ||
- name: Platformer Deploy | ||
uses: platformer-com/build-deploy-action@v1 | ||
with: | ||
org-id: ${{secrets.ORG_ID_FCB1AEBE_71DB_4911_9067_F5FA9BA73D4D}} | ||
project-id: ${{secrets.PROJECT_ID_FCB1AEBE_71DB_4911_9067_F5FA9BA73D4D}} | ||
token: ${{secrets.AUTOGENERATED_CICD_FCB1AEBE_71DB_4911_9067_F5FA9BA73D4D}} | ||
image-name: ${{env.SERVICE_NAME}} | ||
tag: ui-${{steps.event-version.outputs.SOURCE_TAG }} | ||
container-id: d5978be8-fb29-4f53-b951-acf8995587f3 |
38 changes: 38 additions & 0 deletions
38
.github/workflows/platformer-e20889a8-1e86-4980-9e02-3359975f6dc4.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Platformer Generated stag-api-tag-push Build | ||
on: | ||
push: | ||
tags: | ||
- 'stag-**' | ||
jobs: | ||
build: | ||
runs-on: | ||
- ubuntu-latest | ||
env: | ||
SERVICE_NAME: ghcr.io/eclk/results-tabulation | ||
CONTAINER_REGISTRY: ghcr.io | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set Version | ||
id: event-version | ||
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/} | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ${{ env.CONTAINER_REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build the Docker image | ||
run: docker build --tag | ||
${SERVICE_NAME}:api-${{steps.event-version.outputs.SOURCE_TAG }} --file | ||
./results-tabulation-api/Dockerfile ./results-tabulation-api/ | ||
- name: GitHub Image Push | ||
run: docker push $SERVICE_NAME:api-${{steps.event-version.outputs.SOURCE_TAG }} | ||
- name: Platformer Deploy | ||
uses: platformer-com/build-deploy-action@v1 | ||
with: | ||
org-id: ${{secrets.ORG_ID_BCBDC02D_6FBA_4B10_9603_D19453632123}} | ||
project-id: ${{secrets.PROJECT_ID_BCBDC02D_6FBA_4B10_9603_D19453632123}} | ||
token: ${{secrets.AUTOGENERATED_CICD_BCBDC02D_6FBA_4B10_9603_D19453632123}} | ||
image-name: ${{env.SERVICE_NAME}} | ||
tag: api-${{steps.event-version.outputs.SOURCE_TAG }} | ||
container-id: 017c3bee-7f08-49fd-b82a-f4b6f3504eee |
2 changes: 1 addition & 1 deletion
2
...-026bf287-7c35-4b12-a573-befed717518f.yml → ...-ee05fbca-9628-41e6-ab7b-a53befd32976.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
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
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
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
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
Oops, something went wrong.