You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
# - name: init
|
|
|
|
# image: node:16-alpine
|
|
|
|
# commands:
|
|
|
|
# - "npm install"
|
|
|
|
# - name: start
|
|
|
|
# image: node:16-alpine
|
|
|
|
# commands:
|
|
|
|
# # - "npm run build"
|
|
|
|
# - "npm test -- --watchAll=false"
|
|
|
|
# - "npm test -- --watchAll=false"
|
|
|
|
- name: notify
|
|
|
|
image: curlimages/curl:7.80.0
|
|
|
|
environment:
|
|
|
|
GCHAT_WH:
|
|
|
|
from_secret: GCHAT_WH
|
|
|
|
commands:
|
|
|
|
- "curl -X 'POST' $GCHAT_WH -H 'Content-type:application/json' -d '{\"text\":\"Yes I am a CICD AI, i have just become sentient\"}' "
|