-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feature/SCALRCORE-…
…19437 [API_BRANCH]
- Loading branch information
Showing
27 changed files
with
882 additions
and
112 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
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,54 @@ | ||
name: upstream | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
upstream-sha: | ||
description: "Upstream commit SHA" | ||
required: true | ||
api-branch: | ||
description: "API Branch" | ||
required: true | ||
db-branch: | ||
description: "DB Branch" | ||
required: false | ||
default: "master" | ||
|
||
jobs: | ||
acc-tests: | ||
runs-on: ubuntu-latest | ||
name: acc-tests | ||
env: | ||
REVIZOR_URL: ${{ secrets.REVIZOR_URL }} | ||
REVIZOR_TOKEN: ${{ secrets.REVIZOR_TOKEN }} | ||
ORG_ADMIN_TOKEN: ${{ secrets.ORG_ADMIN_TOKEN }} | ||
SCALR_TOKEN: ${{ secrets.SCALR_TOKEN }} | ||
API_BRANCH: ${{ github.event.inputs.api-branch }} | ||
DB_BRANCH: ${{ github.event.inputs.db-branch }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.13" | ||
- name: Create container | ||
id: create | ||
uses: Scalr/gh-action-revizor@master | ||
with: | ||
command: create | ||
- name: Run acceptance tests | ||
env: | ||
SCALR_HOSTNAME: ${{ steps.create.outputs.hostname }} | ||
run: make testacc | ||
- name: Delete container | ||
id: delete | ||
if: ${{ always() && steps.create.outputs.container_id }} | ||
uses: Scalr/gh-action-revizor@master | ||
with: | ||
command: delete | ||
container_id: ${{ steps.create.outputs.container_id }} | ||
- name: Notify upstream about success | ||
if: ${{ success() }} | ||
run: make notify-upstream upstream_sha=${{ github.event.inputs.upstream-sha }} state=success | ||
- name: Notify upstream about failure | ||
if: ${{ failure() }} | ||
run: make notify-upstream upstream_sha=${{ github.event.inputs.upstream-sha }} state=failure |
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
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.