Skip to content

Commit d38ab4e

Browse files
committed
test staging
1 parent 843c7a0 commit d38ab4e

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/prod.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66
types:
77
- released
88
- prereleased
9-
push:
10-
branches:
11-
- ch-add-releases-workflow
9+
1210

1311
jobs:
1412
build:
@@ -22,7 +20,7 @@ jobs:
2220
- name: Checkout
2321
uses: actions/checkout@v4
2422
with:
25-
ref: ch-add-releases-workflow
23+
ref: master # reference branch
2624

2725
- name: Install (Buildx)
2826
uses: docker/setup-buildx-action@v3

.github/workflows/staging.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- develop
8+
- ch-add-releases-workflow
89

910
workflow_dispatch:
1011

@@ -77,7 +78,7 @@ jobs:
7778

7879
runs-on: ubuntu-latest
7980
env:
80-
namespace: cranecloud-microservice
81+
namespace: cranecloud
8182
image: cranecloud/database-api
8283

8384
steps:
@@ -88,10 +89,14 @@ jobs:
8889
with:
8990
kubeconfig: ${{ secrets.RENU_KUBECONFIG}}
9091

92+
- name: Add Repo (cranecloud)
93+
run: |
94+
helm repo add cranecloud https://crane-cloud.github.io/helm-charts/
95+
9196
- name: Helm Release
9297
run: |
9398
helm upgrade --install \
94-
database-api ./helm/chart \
99+
database-api cranecloud/cranecloud \
95100
--values helm/values.staging.yaml \
96101
--namespace $namespace \
97102
--set image.tag="${{ needs.build.outputs.tag }}" \

0 commit comments

Comments
 (0)