lets get it working

This commit is contained in:
n8wb
2025-02-18 15:02:11 -08:00
parent c976e67672
commit babf4a2fad

View File

@@ -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'