Skip to content

Commit 5a85f64

Browse files
committed
refactor: rename workflows
1 parent 9d723fd commit 5a85f64

16 files changed

+20
-202
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,15 @@ jobs:
3737
file: ${{ env.DOCKERFILE }}
3838
tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ matrix.platform}}
3939
push: true
40-
build-args: |
41-
platform=linux/${{ matrix.platform}}
40+
build-args: platform=linux/${{ matrix.platform}}
4241

43-
- name: Build & Push - Replace branch
44-
if: ${{ github.ref != github.repository.default_branch }}
45-
uses: docker/build-push-action@v5
46-
with:
47-
cache-from: type=gha
48-
cache-to: type=gha,mode=max
49-
file: ${{ env.DOCKERFILE }}
50-
tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ matrix.platform}}-${{ github.ref_name }}
51-
push: true
52-
build-args: |
53-
platform=linux/${{ matrix.platform}}
42+
# - name: Build & Push - Replace branch
43+
# if: ${{ github.ref != github.repository.default_branch }}
44+
# uses: docker/build-push-action@v5
45+
# with:
46+
# push: true
47+
# file: ${{ env.DOCKERFILE }}
48+
# tags: ${{ env.AZURE_CONTAINER_REGISTRY }}/${{ github.event.repository.name }}:${{ matrix.platform}}-${{ github.ref_name }}
49+
# cache-from: type=gha
50+
# cache-to: type=gha,mode=max
51+
# build-args: platform=linux/${{ matrix.platform}}

.github/workflows/k8_cluster_restart.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/k8_cluster_run_migration.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/k8_cluster_apply.yml renamed to .github/workflows/k8s_deploy.yml

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

33
on:
44
workflow_call:
@@ -10,14 +10,13 @@ permissions:
1010
actions: read
1111

1212
jobs:
13-
k8-cluster-apply:
14-
name: 'K8: Apply Cluster'
13+
k8-cluster-deploy:
14+
name: 'K8: Deploy Cluster'
1515
runs-on: ubuntu-latest
1616
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
1717
environment: ${{ github.ref_name }}
1818
env:
1919
KUBELOGIN_VERSION: "v0.0.25"
20-
KUSTOMIZE_VERSION: "5.3.0"
2120
AZURE_RESOURCE_GROUP: "${{ vars.AZURE_RESOURCE_GROUP }}"
2221
KUBERNETES_CLUSTER_NAME: "${{ vars.KUBERNETES_CLUSTER_NAME }}"
2322
KUBERNETES_NAMESPACE: "${{ vars.KUBERNETES_NAMESPACE }}"
@@ -56,7 +55,9 @@ jobs:
5655

5756
- name: Generate Kustomization
5857
shell: bash
59-
run: bash cicd-deployment-scripts/k8-cluster/kustomize.sh -n ${{ env.KUBERNETES_NAMESPACE }} -p ${{ env.KUBERNETES_MANIFEST_PATH }}
58+
run: |
59+
kubectl kustomize ${{ env.KUBERNETES_MANIFEST_PATH }} --output apply.yml
60+
cat apply.yml
6061
6162
- name: Generate Deployment
6263
uses: Azure/k8s-deploy@v5

.github/workflows/k8_cluster_destroy.yml renamed to .github/workflows/k8s_destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Destroy Cluster Namespace
5858
shell: bash
5959
run: |
60-
bash cicd-deployment-scripts/k8-cluster/destroy.sh \
60+
bash cicd-deployment-scripts/k8s/destroy.sh \
6161
-n ${{ env.KUBERNETES_NAMESPACE }} \
6262
-s ${{ env.AZURE_STORAGE_ACCOUNT }} \
6363
-f ${{ env.AZURE_STORAGE_FILE_SHARE }}

.github/workflows/k8_docker_pulls.yml renamed to .github/workflows/k8s_exec_env_pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
shell: bash
5555
run: |
5656
git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git
57-
bash cicd-deployment-scripts/k8-cluster/docker_pulls.sh \
57+
bash cicd-deployment-scripts/k8s/exec_env_pull.sh \
5858
-n ${{ env.KUBERNETES_NAMESPACE }} \
5959
-r ${{ env.AZURE_CONTAINER_REGISTRY }} \
6060
-t ${{ env.AZURE_IMAGE_TAG }}

.github/workflows/k8_inference_reload_config.yml renamed to .github/workflows/k8s_inference_reload_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
shell: bash
5353
run: |
5454
git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git
55-
bash cicd-deployment-scripts/k8-cluster/inference_reload_config.sh -n ${{ env.KUBERNETES_NAMESPACE }}
55+
bash cicd-deployment-scripts/k8s/inference_reload_config.sh -n ${{ env.KUBERNETES_NAMESPACE }}
5656
File renamed without changes.

k8-cluster/install_kustomize.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

k8-cluster/restart.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

k8-cluster/run_migration.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)