codefresh 0.85.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mocks__/codefresh.yml +40 -0
- package/docs/index.js +19 -18
- package/lib/interface/cli/commands/root/assign.cmd.js +18 -0
- package/lib/interface/cli/commands/root/root.sdk.spec.js +1 -1
- package/lib/interface/cli/commands/root/unassign.cmd.js +18 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/apply.cmd.js +44 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/assign.cmd.js +51 -0
- package/lib/interface/cli/commands/systemRuntimeEnvironments/unassign.cmd.js +51 -0
- package/lib/interface/cli/completion/tree.json +1 -1
- package/openapi.json +116 -2
- package/package.json +2 -2
- package/codefresh-arm.yml +0 -261
- package/codefresh-release.yml +0 -482
- package/codefresh.yml +0 -385
package/codefresh-arm.yml
DELETED
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
mode: parallel
|
|
3
|
-
stages:
|
|
4
|
-
- prepare
|
|
5
|
-
- build
|
|
6
|
-
- push-dev
|
|
7
|
-
- push-master
|
|
8
|
-
steps:
|
|
9
|
-
main_clone:
|
|
10
|
-
stage: prepare
|
|
11
|
-
title: 'Cloning main repository...'
|
|
12
|
-
type: git-clone
|
|
13
|
-
repo: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
|
|
14
|
-
revision: ${{CF_REVISION}}
|
|
15
|
-
git: ${{GIT_CONTEXT}}
|
|
16
|
-
|
|
17
|
-
build_image:
|
|
18
|
-
stage: build
|
|
19
|
-
type: parallel
|
|
20
|
-
steps:
|
|
21
|
-
|
|
22
|
-
build_image_alpine:
|
|
23
|
-
title: "Building the alpine image..."
|
|
24
|
-
type: build
|
|
25
|
-
working_directory: ${{WORKDIR}}
|
|
26
|
-
disable_push: true
|
|
27
|
-
dockerfile: ./Dockerfile
|
|
28
|
-
image_name: ${{IMAGE_NAME}}
|
|
29
|
-
tag: ${{CF_BRANCH_TAG_NORMALIZED}}
|
|
30
|
-
|
|
31
|
-
build_image_debian:
|
|
32
|
-
title: "Building the debian image..."
|
|
33
|
-
type: build
|
|
34
|
-
working_directory: ${{WORKDIR}}
|
|
35
|
-
disable_push: true
|
|
36
|
-
dockerfile: ./Dockerfile-debian
|
|
37
|
-
image_name: ${{IMAGE_NAME}}
|
|
38
|
-
tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}
|
|
39
|
-
|
|
40
|
-
build_image_alpine_rootless:
|
|
41
|
-
title: "Building the alpine image..."
|
|
42
|
-
type: build
|
|
43
|
-
working_directory: ${{WORKDIR}}
|
|
44
|
-
disable_push: true
|
|
45
|
-
dockerfile: ./Dockerfile-rootless
|
|
46
|
-
image_name: ${{IMAGE_NAME}}
|
|
47
|
-
tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{ROOTLESS_TAG_POSTFIX}}
|
|
48
|
-
|
|
49
|
-
build_image_debian_rootless:
|
|
50
|
-
title: "Building the debian image..."
|
|
51
|
-
type: build
|
|
52
|
-
working_directory: ${{WORKDIR}}
|
|
53
|
-
disable_push: true
|
|
54
|
-
dockerfile: ./Dockerfile-debian-rootless
|
|
55
|
-
image_name: ${{IMAGE_NAME}}
|
|
56
|
-
tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
|
|
57
|
-
when:
|
|
58
|
-
steps:
|
|
59
|
-
- name: main_clone
|
|
60
|
-
on:
|
|
61
|
-
- success
|
|
62
|
-
|
|
63
|
-
push_dev_alpine:
|
|
64
|
-
stage: push-dev
|
|
65
|
-
type: push
|
|
66
|
-
candidate: ${{build_image_alpine}}
|
|
67
|
-
title: "Pushing alpine image to registry with revision tag"
|
|
68
|
-
tags:
|
|
69
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{ARM_TAG_POSTFIX}}
|
|
70
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{ARM_TAG_POSTFIX}}-${{CF_SHORT_REVISION}}
|
|
71
|
-
scale:
|
|
72
|
-
push_quay_dev:
|
|
73
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
74
|
-
title: "Pushing image to quay.io registry with revision tag"
|
|
75
|
-
push_dockerhub_dev:
|
|
76
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
77
|
-
title: "Pushing image to dockerhub registry with revision tag"
|
|
78
|
-
push_gcr_enterprise_dev:
|
|
79
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
80
|
-
title: "Pushing image to gcr.io registry with revision tag"
|
|
81
|
-
when:
|
|
82
|
-
steps:
|
|
83
|
-
- name: build_image
|
|
84
|
-
on:
|
|
85
|
-
- success
|
|
86
|
-
|
|
87
|
-
push_dev_debian:
|
|
88
|
-
stage: push-dev
|
|
89
|
-
type: push
|
|
90
|
-
candidate: ${{build_image_debian}}
|
|
91
|
-
title: "Pushing debian image to registry with revision tag"
|
|
92
|
-
tags:
|
|
93
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}
|
|
94
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}-${{CF_SHORT_REVISION}}
|
|
95
|
-
scale:
|
|
96
|
-
push_quay_dev_debian:
|
|
97
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
98
|
-
title: "Pushing image to quay.io registry with revision tag"
|
|
99
|
-
push_dockerhub_dev_debian:
|
|
100
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
101
|
-
title: "Pushing image to dockerhub registry with revision tag"
|
|
102
|
-
push_gcr_enterprise_dev_debian:
|
|
103
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
104
|
-
title: "Pushing image to gcr.io registry with revision tag"
|
|
105
|
-
when:
|
|
106
|
-
steps:
|
|
107
|
-
- name: build_image
|
|
108
|
-
on:
|
|
109
|
-
- success
|
|
110
|
-
|
|
111
|
-
push_dev_alpine_rootless:
|
|
112
|
-
stage: push-dev
|
|
113
|
-
type: push
|
|
114
|
-
candidate: ${{build_image_alpine_rootless}}
|
|
115
|
-
title: "Pushing rootless alpine image to registry with revision tag"
|
|
116
|
-
tags:
|
|
117
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}
|
|
118
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}-${{CF_SHORT_REVISION}}
|
|
119
|
-
scale:
|
|
120
|
-
push_quay_dev_rootless:
|
|
121
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
122
|
-
title: "Pushing image to quay.io registry with revision tag"
|
|
123
|
-
push_dockerhub_dev_rootless:
|
|
124
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
125
|
-
title: "Pushing image to dockerhub registry with revision tag"
|
|
126
|
-
push_gcr_enterprise_dev_rootless:
|
|
127
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
128
|
-
title: "Pushing image to gcr.io registry with revision tag"
|
|
129
|
-
when:
|
|
130
|
-
steps:
|
|
131
|
-
- name: build_image
|
|
132
|
-
on:
|
|
133
|
-
- success
|
|
134
|
-
|
|
135
|
-
push_dev_debian_rootless:
|
|
136
|
-
stage: push-dev
|
|
137
|
-
type: push
|
|
138
|
-
candidate: ${{build_image_debian_rootless}}
|
|
139
|
-
title: "Pushing rootless debian image to registry with revision tag"
|
|
140
|
-
tags:
|
|
141
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}
|
|
142
|
-
- ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}-${{CF_SHORT_REVISION}}
|
|
143
|
-
scale:
|
|
144
|
-
push_quay_dev_debian_rootless:
|
|
145
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
146
|
-
title: "Pushing image to quay.io registry with revision tag"
|
|
147
|
-
push_dockerhub_dev_debian_rootless:
|
|
148
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
149
|
-
title: "Pushing image to dockerhub registry with revision tag"
|
|
150
|
-
push_gcr_enterprise_dev_debian_rootless:
|
|
151
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
152
|
-
title: "Pushing image to gcr.io registry with revision tag"
|
|
153
|
-
when:
|
|
154
|
-
steps:
|
|
155
|
-
- name: build_image
|
|
156
|
-
on:
|
|
157
|
-
- success
|
|
158
|
-
|
|
159
|
-
push_master_alpine:
|
|
160
|
-
stage: push-master
|
|
161
|
-
type: push
|
|
162
|
-
candidate: ${{build_image_alpine}}
|
|
163
|
-
title: "Pushing alpine image with release tag"
|
|
164
|
-
when:
|
|
165
|
-
branch:
|
|
166
|
-
only: [ master ]
|
|
167
|
-
steps:
|
|
168
|
-
- name: build_image
|
|
169
|
-
on:
|
|
170
|
-
- success
|
|
171
|
-
tags:
|
|
172
|
-
- "${{PACKAGE_VERSION}}${{ARM_TAG_POSTFIX}}"
|
|
173
|
-
- "latest${{ARM_TAG_POSTFIX}}"
|
|
174
|
-
scale:
|
|
175
|
-
push_quay_prod:
|
|
176
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
177
|
-
title: "Pushing alpine image to quay.io registry with release tag"
|
|
178
|
-
push_dockerhub_prod:
|
|
179
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
180
|
-
title: "Pushing image to dockerhub registry with release tag"
|
|
181
|
-
push_gcr_enterprise_prod:
|
|
182
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
183
|
-
title: "Pushing image to gcr.io registry with release tag"
|
|
184
|
-
|
|
185
|
-
push_master_debian:
|
|
186
|
-
stage: push-master
|
|
187
|
-
type: push
|
|
188
|
-
candidate: ${{build_image_debian}}
|
|
189
|
-
title: "Pushing debian image with release tag"
|
|
190
|
-
when:
|
|
191
|
-
branch:
|
|
192
|
-
only: [ master ]
|
|
193
|
-
steps:
|
|
194
|
-
- name: build_image
|
|
195
|
-
on:
|
|
196
|
-
- success
|
|
197
|
-
tags:
|
|
198
|
-
- "${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
|
|
199
|
-
- "latest${{DEBIAN_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
|
|
200
|
-
scale:
|
|
201
|
-
push_quay_prod_debian:
|
|
202
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
203
|
-
title: "Pushing image to quay.io registry with release tag"
|
|
204
|
-
push_dockerhub_prod_debian:
|
|
205
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
206
|
-
title: "Pushing image to dockerhub registry with release tag"
|
|
207
|
-
push_gcr_enterprise_prod_debian:
|
|
208
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
209
|
-
title: "Pushing image to gcr.io registry with release tag"
|
|
210
|
-
|
|
211
|
-
push_master_alpine_rootless:
|
|
212
|
-
stage: push-master
|
|
213
|
-
type: push
|
|
214
|
-
candidate: ${{build_image_alpine_rootless}}
|
|
215
|
-
title: "Pushing rootless alpine image with release tag"
|
|
216
|
-
when:
|
|
217
|
-
branch:
|
|
218
|
-
only: [ master ]
|
|
219
|
-
steps:
|
|
220
|
-
- name: build_image
|
|
221
|
-
on:
|
|
222
|
-
- success
|
|
223
|
-
tags:
|
|
224
|
-
- "${{PACKAGE_VERSION}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
|
|
225
|
-
- "latest${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
|
|
226
|
-
scale:
|
|
227
|
-
push_quay_prod_rootless:
|
|
228
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
229
|
-
title: "Pushing alpine image to quay.io registry with release tag"
|
|
230
|
-
push_dockerhub_prod_rootless:
|
|
231
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
232
|
-
title: "Pushing image to dockerhub registry with release tag"
|
|
233
|
-
push_gcr_enterprise_prod_rootless:
|
|
234
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
235
|
-
title: "Pushing image to gcr.io registry with release tag"
|
|
236
|
-
|
|
237
|
-
push_master_debian_rootless:
|
|
238
|
-
stage: push-master
|
|
239
|
-
type: push
|
|
240
|
-
candidate: ${{build_image_debian_rootless}}
|
|
241
|
-
title: "Pushing rootless debian image with release tag"
|
|
242
|
-
when:
|
|
243
|
-
branch:
|
|
244
|
-
only: [ master ]
|
|
245
|
-
steps:
|
|
246
|
-
- name: build_image
|
|
247
|
-
on:
|
|
248
|
-
- success
|
|
249
|
-
tags:
|
|
250
|
-
- "${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
|
|
251
|
-
- "latest${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
|
|
252
|
-
scale:
|
|
253
|
-
push_quay_prod_debian_rootless:
|
|
254
|
-
registry: "${{REGISTRY_INTEGRATION_QUAY}}"
|
|
255
|
-
title: "Pushing image to quay.io registry with release tag"
|
|
256
|
-
push_dockerhub_prod_debian_rootless:
|
|
257
|
-
registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
|
|
258
|
-
title: "Pushing image to dockerhub registry with release tag"
|
|
259
|
-
push_gcr_enterprise_prod_debian_rootless:
|
|
260
|
-
registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
|
|
261
|
-
title: "Pushing image to gcr.io registry with release tag"
|