Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowe committed Jan 23, 2022
1 parent 4e5b313 commit 511e69a
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/cellxgene-gateway-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Run changed-files
id: changed-docker
Expand Down Expand Up @@ -42,4 +44,15 @@ jobs:
build-args: |
CELLXGENE_GATEWAY_VERSION=${{ steps.yq.outputs.result }}
tags: |
dabbleofdevops/cellxgene-gateway:${{ steps.yq.outputs.result }},dabbleofdevops/cellxgene-gateway:${{env.SHA7}}
dabbleofdevops/cellxgene-gateway:${{ steps.yq.outputs.result }},dabbleofdevops/cellxgene-gateway:${{env.SHA7}}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
19 changes: 18 additions & 1 deletion .github/workflows/chart-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ jobs:
helm dep build
# "arn:aws:ecr:us-east-1:018835827632:repository/shinyproxy"
# 018835827632.dkr.ecr.us-east-1.amazonaws.com/shinyproxy
# "018835827632.dkr.ecr.us-east-1.amazonaws.com/helm-shinyproxy"
# 018835827632.dkr.ecr.us-east-1.amazonaws.com/helm-cellxgene-gateway
# Helm chart name must be the same as the repo name
# 018835827632.dkr.ecr.us-east-1.amazonaws.com/cellxgene-gateway
# 018835827632.dkr.ecr.us-east-1.amazonaws.com/shinyproxy
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
env:
Expand All @@ -52,4 +54,19 @@ jobs:
run: |-
ls -lah .cr-release-packages
# Helm chart name must be the same as the repo name
# 018835827632.dkr.ecr.us-east-1.amazonaws.com/cellxgene-gateway
# 018835827632.dkr.ecr.us-east-1.amazonaws.com/shinyproxy
- name: Upload to ECR
run: |-
export HELM_EXPERIMENTAL_OCI=1
find .cr-release-packages -name 'shinyproxy*.tgz' | xargs -I {} helm push {} oci://018835827632.dkr.ecr.us-east-1.amazonaws.com/
find .cr-release-packages -name 'cellxgene-gateway*.tgz' | xargs -I {} helm push {} oci://018835827632.dkr.ecr.us-east-1.amazonaws.com/
aws ecr describe-images \
--repository-name shinyproxy \
--region us-east-1
aws ecr describe-images \
--repository-name cellxgene-gateway \
--region us-east-1
5 changes: 4 additions & 1 deletion .github/workflows/shinyproxy-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run changed-files
id: changed-docker
uses: tj-actions/changed-files@v13.1
with:
path: images/cellxgene-gateway
path: images/shinyproxy
- name: Set Job Environment Variables
run: |-
CALVER="$( date -u '+%Y.%m.%d' )"
Expand All @@ -37,3 +39,4 @@ jobs:
SHINYPROXY_VERSION=${{ steps.yq.outputs.result }}
tags: |
dabbleofdevops/shinyproxy:${{ steps.yq.outputs.result }},dabbleofdevops/shinyproxy:${{env.SHA7}}
2 changes: 1 addition & 1 deletion charts/cellxgene-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ sources:
- https://github.com/Novartis/cellxgene-gateway
- https://github.com/remche/zero-to-shinyproxy
- https://www.shinyproxy.io/documentation
version: 0.1.9
version: 0.2.0

0 comments on commit 511e69a

Please sign in to comment.