Compare commits

...

2 Commits

Author SHA1 Message Date
Mingchen Dai
6464c81443 Update scripts
All checks were successful
DevStar DevContainer Operator CI Pipeline - main branch / build-and-push-devstar-devcontainer-operator (push) Successful in 10s
2024-10-14 08:25:16 +00:00
Mingchen Dai
15e6f043f1 Updated CI Prompt of how to deploy to k8s 2024-10-14 06:55:25 +00:00
3 changed files with 3 additions and 4 deletions

View File

@@ -37,6 +37,8 @@ jobs:
run: | run: |
echo "🍏 This job's status is ${{ job.status }}." echo "🍏 This job's status is ${{ job.status }}."
echo "Output Artifact: ${{ vars.DOCKER_REGISTRY_ADDRESS }}/${{ vars.DOCKER_REPOSITORY_ARTIFACT }}-${{ gitea.sha }}" echo "Output Artifact: ${{ vars.DOCKER_REGISTRY_ADDRESS }}/${{ vars.DOCKER_REPOSITORY_ARTIFACT }}-${{ gitea.sha }}"
echo ""
echo "Please deploy this version of k8s Operator by: make deploy IMG=${{ vars.DOCKER_REGISTRY_ADDRESS }}/${{ vars.DOCKER_REPOSITORY_ARTIFACT }}-${{ gitea.sha }}"
# #

View File

@@ -6,7 +6,7 @@
make install make install
## 2. Deploy controller to the K8s cluster specified in ~/.kube/config. ## 2. Deploy controller to the K8s cluster specified in ~/.kube/config.
make deploy IMG=devstar.cn/devstar/devcontainer-operator:build-15c626593b1d94944ed6515b0ed6c32c939c6efc make deploy IMG=devstar.cn/devstar/devcontainer-operator:build-f42c51cbef59584977e74f4fa100e350b8ca3c9d
# 部署效果: # 部署效果:
# kubectl get deployment -n devcontainer-operator-system devcontainer-operator-controller-manager # kubectl get deployment -n devcontainer-operator-system devcontainer-operator-controller-manager

View File

@@ -4,6 +4,3 @@
## 1. Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion. ## 1. Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
make undeploy make undeploy
## 2. Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
make uninstall