File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ pipeline :
2+ name : javascript-client
3+ identifier : javascriptclient
4+ projectIdentifier : Harness_Split
5+ orgIdentifier : PROD
6+ tags : {}
7+ properties :
8+ ci :
9+ codebase :
10+ connectorRef : fmegithubharnessgitops
11+ repoName : javascript-client
12+ build : <+input>
13+ stages :
14+ - stage :
15+ name : Check-Test-Build-Upload
16+ identifier : Checkout_code
17+ description : " "
18+ type : CI
19+ spec :
20+ cloneCodebase : true
21+ caching :
22+ enabled : true
23+ override : true
24+ paths : []
25+ platform :
26+ os : Linux
27+ arch : Amd64
28+ runtime :
29+ type : Cloud
30+ spec :
31+ size : small
32+ imageSpec :
33+ imageName : ubuntu-latest
34+ buildIntelligence :
35+ enabled : false
36+ execution :
37+ steps :
38+ - step :
39+ type : Action
40+ name : Set up Node.js
41+ identifier : Set_up_Nodejs
42+ spec :
43+ uses : dcodeIO/setup-node-nvm@master
44+ with :
45+ node-version : lts/*
46+ - step :
47+ type : Run
48+ name : npm ci
49+ identifier : npm_ci
50+ spec :
51+ shell : Sh
52+ command : npm ci
53+ - step :
54+ type : Run
55+ name : npm run check
56+ identifier : npm_run_check
57+ spec :
58+ shell : Sh
59+ command : npm run check
60+ - step :
61+ type : Run
62+ name : npm run build
63+ identifier : npm_run_build
64+ spec :
65+ shell : Sh
66+ command : npm run build
67+ - parallel :
68+ - step :
69+ type : Run
70+ name : upload dev assets to CDN
71+ identifier : upload_dev_assets_to_CDN
72+ spec :
73+ shell : Sh
74+ command : |-
75+ # aws configure set region us-east-1
76+ aws s3 sync ./umd s3://split-public-stage/sdk --acl public-read --follow-symlinks --cache-control max-age=31536000,public
77+ connectorRef : artifacts
78+ when :
79+ stageStatus : Success
80+ - step :
81+ type : Run
82+ name : upload prod assets to CDN
83+ identifier : upload_prod_assets_to_CDN
84+ spec :
85+ shell : Sh
86+ when :
87+ stageStatus : Success
88+ condition : <+trigger.event> == "push" && <+trigger.branch> == "refs/heads/main"
Original file line number Diff line number Diff line change 1+ inputSet :
2+ name : javascript-client
3+ identifier : javascriptclient
4+ orgIdentifier : PROD
5+ projectIdentifier : Harness_Split
6+ pipeline :
7+ identifier : javascriptclient
8+ properties :
9+ ci :
10+ codebase :
11+ build :
12+ type : branch
13+ spec :
14+ branch : <+trigger.branch>
You can’t perform that action at this time.
0 commit comments