Skip to content

Commit 3bddc71

Browse files
committed
fix: k8s deploy and test
1 parent df53926 commit 3bddc71

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/k8s_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ permissions:
1010
actions: read
1111

1212
jobs:
13-
k8-cluster-deploy:
14-
name: 'K8: Deploy Cluster'
13+
k8-deploy:
14+
name: 'K8: Deploy'
1515
runs-on: ubuntu-latest
1616
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
1717
environment: ${{ github.ref_name }}

.github/workflows/k8s_test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'K8: Deploy'
1+
name: 'K8: Test'
22

33
on:
44
workflow_call:
@@ -14,14 +14,13 @@ permissions:
1414
actions: read
1515

1616
jobs:
17-
k8-cluster-deploy:
18-
name: 'K8: Deploy Cluster'
17+
k8-test:
18+
name: 'K8: Test'
1919
runs-on: ubuntu-latest
20-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
21-
environment: ${{ github.ref_name }}
20+
environment: dev
2221
env:
2322
KUBELOGIN_VERSION: "v0.0.25"
24-
KUBERNETES_CLUSTER_REPO_NAME: "k8s-cluster-freeapi"
23+
KUBERNETES_CLUSTER_REPO_NAME: ${{ vars.KUBERNETES_CLUSTER_REPO_NAME }}
2524
KUBERNETES_CLUSTER_NAME: "${{ vars.KUBERNETES_CLUSTER_NAME }}"
2625
KUBERNETES_NAMESPACE: "${{ vars.KUBERNETES_NAMESPACE }}"
2726
KUBERNETES_MANIFEST_PATH: "${{ vars.KUBERNETES_MANIFEST_PATH }}"

0 commit comments

Comments
 (0)