-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make push rdev use happy go client (#336)
* fix push rdev with happy go client * resolve suggestions Co-authored-by: atarashansky <[email protected]>
- Loading branch information
1 parent
c238e99
commit 1b10f5e
Showing
2 changed files
with
7 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,6 @@ env: | |
jobs: | ||
build-push-images: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
component: ['explorer'] | ||
steps: | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
|
@@ -38,13 +35,15 @@ jobs: | |
with: | ||
registry: ${{ secrets.ECR_REPO }} | ||
- uses: actions/checkout@v2 | ||
- name: Install happy | ||
uses: chanzuckerberg/github-actions/.github/actions/[email protected] | ||
with: | ||
happy_version: "0.25.0" | ||
- name: Build component | ||
shell: bash | ||
run: | | ||
pip install -r .happy/requirements.txt | ||
# set tag from GITHUB_REF, but removing `refs/heads/` prefix | ||
DOCKER_TAG=${GITHUB_REF#refs/heads/} | ||
DOCKER_TAG=${DOCKER_TAG#refs/tags/} | ||
# replace `/` with `_` | ||
DOCKER_TAG=${DOCKER_TAG//\//-} | ||
scripts/happy --profile="" push --stack-name ${DOCKER_TAG} --extra-tag sha-${GITHUB_SHA:0:8} --extra-tag build-${GITHUB_RUN_NUMBER} ${{ matrix.component }} | ||
# replace `/` with `_` | ||
DOCKER_TAG=${DOCKER_TAG//\//-} | ||
happy push --aws-profile "" --tag sha-${GITHUB_SHA:0:8} --tag ${DOCKER_TAG} |
This file was deleted.
Oops, something went wrong.