Skip to content

Commit

Permalink
Merge pull request #321 from Scalr/SCALRCORE-28542
Browse files Browse the repository at this point in the history
SCALRCORE-30933: SRE: Terraformize Variable Definitions in terraform-…
  • Loading branch information
vmotso committed Jun 20, 2024
2 parents 63e7336 + 3d91ebd commit d677ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
group: ${{ github.workflow }}-${{ inputs.pr-id }}
cancel-in-progress: true
env:
ORG_ADMIN_TOKEN: ${{ secrets.ORG_ADMIN_TOKEN }}
SCALR_TOKEN: ${{ secrets.SCALR_TOKEN }}
API_BRANCH: ${{ github.event.inputs.api-branch }}
PY_REQ: ${{ github.event.inputs.py-req }}
Expand All @@ -49,7 +48,7 @@ jobs:
private_key: ${{secrets.SUDO_GHA_APP_PRIVATE_KEY}}
- uses: actions/checkout@v4
- name: Notify Upstream about Pending
run: make notify-upstream upstream_sha=${{ github.event.inputs.upstream-sha }} state=pending run_id=${{ github.run_id }}
run: make notify-upstream org_admin_token=${{steps.generate_token.outputs.token}} upstream_sha=${{ github.event.inputs.upstream-sha }} state=pending run_id=${{ github.run_id }}
- uses: actions/setup-go@v5
with:
go-version: "1.19"
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ testacc:
notify-upstream:
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $(ORG_ADMIN_TOKEN)" \
-H "Authorization: token $(org_admin_token)" \
https://api.github.com/repos/Scalr/fatmouse/statuses/$(upstream_sha) \
-d '{"context":"downstream/provider", "state":"$(state)", "description": $(UPSTREAM_COMMIT_DESCRIPTION), "target_url": $(UPSTREAM_COMMIT_TARGET_URL)}'

Expand Down

0 comments on commit d677ef1

Please sign in to comment.