mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-09 01:17:58 -05:00
lets get it working
This commit is contained in:
10
.github/workflows/relayer.yml
vendored
10
.github/workflows/relayer.yml
vendored
@@ -68,7 +68,7 @@ jobs:
|
||||
- name: Run tests with coverage
|
||||
run: yarn test:cov
|
||||
push-staging:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'refs/heads/setup-pipeline'
|
||||
name: Push Image to Staging
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
@@ -97,8 +97,8 @@ jobs:
|
||||
id: build-image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./requests
|
||||
file: ./requests/Dockerfile
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
@@ -106,7 +106,7 @@ jobs:
|
||||
us-central1-docker.pkg.dev/${{ vars.GCP_PROJECT }}/privacy-pools-core/staging/relayer:${{ github.sha }}
|
||||
us-central1-docker.pkg.dev/${{ vars.GCP_PROJECT }}/privacy-pools-core/staging/relayer:latest
|
||||
deploy-staging:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'refs/heads/setup-pipeline'
|
||||
name: Deploy to Staging
|
||||
runs-on: ubuntu-latest
|
||||
needs: [push-dw, unit]
|
||||
@@ -136,4 +136,4 @@ jobs:
|
||||
- name: 'Get cluster credentials'
|
||||
run: 'gcloud container clusters get-credentials ${{ vars.CLUSTER_NAME }} --region ${{ vars.REGION }}'
|
||||
- name: 'Deploy'
|
||||
run: 'helm upgrade --install ${{ vars.SERVICE_NAME }}-requests ./chart --set version=${{ github.sha }} --values ./chart/values.requests.yaml'
|
||||
run: 'helm upgrade --install ${{ vars.SERVICE_NAME }}-relayer ./chart --set version=${{ github.sha }} --values ./chart/values.requests.yaml'
|
||||
Reference in New Issue
Block a user