disable CI
This commit is contained in:
parent
a1815ed7e7
commit
035395f5a5
1 changed files with 2 additions and 52 deletions
|
|
@ -59,13 +59,13 @@ jobs:
|
||||||
dockerfile: ./BMA.EHR.Leave/Dockerfile
|
dockerfile: ./BMA.EHR.Leave/Dockerfile
|
||||||
output: !RegistryOutput
|
output: !RegistryOutput
|
||||||
tags: hrms-git.chin.in.th/bma-hrms/hrms-api-leave:@build_version@ hrms-git.chin.in.th/bma-hrms/hrms-api-leave:latest
|
tags: hrms-git.chin.in.th/bma-hrms/hrms-api-leave:@build_version@ hrms-git.chin.in.th/bma-hrms/hrms-api-leave:latest
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: NEVER
|
||||||
- !BuildImageStep
|
- !BuildImageStep
|
||||||
name: build docker image - Checkin
|
name: build docker image - Checkin
|
||||||
dockerfile: ./BMA.EHR.CheckInConsumer/Dockerfile
|
dockerfile: ./BMA.EHR.CheckInConsumer/Dockerfile
|
||||||
output: !RegistryOutput
|
output: !RegistryOutput
|
||||||
tags: hrms-git.chin.in.th/bma-hrms/hrms-api-checkin:@build_version@ hrms-git.chin.in.th/bma-hrms/hrms-api-checkin:latest
|
tags: hrms-git.chin.in.th/bma-hrms/hrms-api-checkin:@build_version@ hrms-git.chin.in.th/bma-hrms/hrms-api-checkin:latest
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: NEVER
|
||||||
triggers:
|
triggers:
|
||||||
- !TagCreateTrigger
|
- !TagCreateTrigger
|
||||||
tags: uat-*
|
tags: uat-*
|
||||||
|
|
@ -74,53 +74,3 @@ jobs:
|
||||||
maxRetries: 3
|
maxRetries: 3
|
||||||
retryDelay: 30
|
retryDelay: 30
|
||||||
timeout: 14400
|
timeout: 14400
|
||||||
- name: CI for PROD
|
|
||||||
steps:
|
|
||||||
- !CheckoutStep
|
|
||||||
name: checkout code
|
|
||||||
cloneCredential: !DefaultCredential {}
|
|
||||||
withLfs: false
|
|
||||||
withSubmodules: false
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !GenerateChecksumStep
|
|
||||||
name: generate package checksum
|
|
||||||
files: package-lock.json yarn.lock
|
|
||||||
targetFile: checksum
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !SetupCacheStep
|
|
||||||
name: set up npm cache
|
|
||||||
key: node_modules_@file:checksum@
|
|
||||||
loadKeys:
|
|
||||||
- node_modules
|
|
||||||
paths:
|
|
||||||
- node_modules
|
|
||||||
uploadStrategy: UPLOAD_IF_NOT_HIT
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !SetBuildVersionStep
|
|
||||||
name: set build version
|
|
||||||
buildVersion: '@tag@'
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !CommandStep
|
|
||||||
name: build & test
|
|
||||||
runInContainer: true
|
|
||||||
image: node
|
|
||||||
interpreter: !DefaultInterpreter
|
|
||||||
commands: |
|
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
useTTY: true
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: build docker image
|
|
||||||
dockerfile: ./docker/Dockerfile
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: hrms-git.bangkok.go.th/bma-hrms/hrms-api-checkin:@build_version@ hrms-git.bangkok.go.th/bma-hrms/hrms-api-checkin:latest
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
triggers:
|
|
||||||
- !TagCreateTrigger
|
|
||||||
tags: prod-*
|
|
||||||
branches: main
|
|
||||||
retryCondition: never
|
|
||||||
maxRetries: 3
|
|
||||||
retryDelay: 30
|
|
||||||
timeout: 14400
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue