ci: 模板
This commit is contained in:
@@ -5,11 +5,6 @@ platform:
|
|||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
template:
|
|
||||||
path: notify_template.yaml
|
|
||||||
vars:
|
|
||||||
NOTIFY_WX_URL:
|
|
||||||
from_secret: notify_wx_url
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-jar
|
- name: build-jar
|
||||||
image: 10.7.127.190:38080/maven:3.8.5-openjdk-17
|
image: 10.7.127.190:38080/maven:3.8.5-openjdk-17
|
||||||
@@ -49,7 +44,9 @@ steps:
|
|||||||
- kubectl apply -f deployment.yml -n metis --kubeconfig=/app/config/base-taishan-kubectl.yml
|
- kubectl apply -f deployment.yml -n metis --kubeconfig=/app/config/base-taishan-kubectl.yml
|
||||||
|
|
||||||
|
|
||||||
# - name: notify
|
- name: notify
|
||||||
|
kind: template
|
||||||
|
load: notify_template.yaml
|
||||||
# image: 10.7.127.190:38080/plugins/webhook:latest
|
# image: 10.7.127.190:38080/plugins/webhook:latest
|
||||||
# environment:
|
# environment:
|
||||||
# NOTIFY_WX_URL:
|
# NOTIFY_WX_URL:
|
||||||
|
|||||||
Reference in New Issue
Block a user