codefresh 0.82.0 → 0.82.1

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/Dockerfile CHANGED
@@ -35,15 +35,4 @@ RUN yarn generate-completion
35
35
  RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh
36
36
 
37
37
  RUN codefresh components update --location components
38
-
39
- # we keep /root as home directory because cli by default looks for $HOME/.cfconfig
40
- # and we do not want to break user automation if he used to bind his .cfconfig
41
- # to the /root/.cfconfig
42
- RUN adduser -D -h /root -s /bin/sh cfu \
43
- && chown -R $(id -g cfu) /root /cf-cli \
44
- && chgrp -R $(id -g cfu) /root /cf-cli \
45
- && chmod -R g+rwX /root
46
-
47
- USER cfu
48
-
49
38
  ENTRYPOINT ["codefresh"]
package/Dockerfile-debian CHANGED
@@ -37,14 +37,4 @@ RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh
37
37
 
38
38
  RUN codefresh components update --location components
39
39
 
40
- # we keep /root as home directory because cli by default looks for $HOME/.cfconfig
41
- # and we do not want to break user automation if he used to bind his .cfconfig
42
- # to the /root/.cfconfig
43
- RUN useradd -m -d /root -s /bin/sh cfu \
44
- && chown -R $(id -g cfu) /root /cf-cli \
45
- && chgrp -R $(id -g cfu) /root /cf-cli \
46
- && chmod -R g+rwX /root
47
-
48
- USER cfu
49
-
50
40
  ENTRYPOINT ["codefresh"]
@@ -0,0 +1,50 @@
1
+ # go hub binary
2
+ FROM golang:alpine as go
3
+ RUN apk --update add ca-certificates git
4
+ RUN go install github.com/github/hub@latest
5
+
6
+ # python yq binary
7
+ FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
8
+ ARG YQ_VERSION=2.10.0
9
+ ENV PATH="/pyinstaller:$PATH"
10
+ RUN pip install yq==${YQ_VERSION}
11
+ RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
12
+
13
+ # Main
14
+ FROM node:18.12.1-bullseye-slim
15
+
16
+ RUN apt update
17
+ RUN apt -y install ca-certificates git curl bash jq busybox && ln -s /bin/busybox /usr/bin/[[
18
+
19
+ COPY --from=go /go/bin/hub /usr/local/bin/hub
20
+ COPY --from=yq /tmp/yq /usr/local/bin/yq
21
+
22
+ WORKDIR /cf-cli
23
+
24
+ COPY package.json /cf-cli
25
+ COPY yarn.lock /cf-cli
26
+ COPY check-version.js /cf-cli
27
+ COPY run-check-version.js /cf-cli
28
+
29
+ RUN yarn install --prod --frozen-lockfile && \
30
+ yarn cache clean
31
+
32
+ COPY . /cf-cli
33
+
34
+ RUN yarn generate-completion
35
+
36
+ RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh
37
+
38
+ RUN codefresh components update --location components
39
+
40
+ # we keep /root as home directory because cli by default looks for $HOME/.cfconfig
41
+ # and we do not want to break user automation if he used to bind his .cfconfig
42
+ # to the /root/.cfconfig
43
+ RUN useradd -m -d /root -s /bin/sh cfu \
44
+ && chown -R $(id -g cfu) /root /cf-cli \
45
+ && chgrp -R $(id -g cfu) /root /cf-cli \
46
+ && chmod -R g+rwX /root
47
+
48
+ USER cfu
49
+
50
+ ENTRYPOINT ["codefresh"]
@@ -0,0 +1,49 @@
1
+ # go hub binary
2
+ FROM golang:alpine as go
3
+ RUN apk --update add ca-certificates git
4
+ RUN go install github.com/github/hub@latest
5
+
6
+ # python yq binary
7
+ FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
8
+ ARG YQ_VERSION=2.10.0
9
+ ENV PATH="/pyinstaller:$PATH"
10
+ RUN pip install yq==${YQ_VERSION}
11
+ RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
12
+
13
+ # Main
14
+ FROM node:18.12.1-alpine3.15
15
+
16
+ RUN apk --update add --no-cache ca-certificates git curl bash jq
17
+
18
+ COPY --from=go /go/bin/hub /usr/local/bin/hub
19
+ COPY --from=yq /tmp/yq /usr/local/bin/yq
20
+
21
+ WORKDIR /cf-cli
22
+
23
+ COPY package.json /cf-cli
24
+ COPY yarn.lock /cf-cli
25
+ COPY check-version.js /cf-cli
26
+ COPY run-check-version.js /cf-cli
27
+
28
+ RUN yarn install --prod --frozen-lockfile && \
29
+ yarn cache clean
30
+
31
+ COPY . /cf-cli
32
+
33
+ RUN yarn generate-completion
34
+
35
+ RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh
36
+
37
+ RUN codefresh components update --location components
38
+
39
+ # we keep /root as home directory because cli by default looks for $HOME/.cfconfig
40
+ # and we do not want to break user automation if he used to bind his .cfconfig
41
+ # to the /root/.cfconfig
42
+ RUN adduser -D -h /root -s /bin/sh cfu \
43
+ && chown -R $(id -g cfu) /root /cf-cli \
44
+ && chgrp -R $(id -g cfu) /root /cf-cli \
45
+ && chmod -R g+rwX /root
46
+
47
+ USER cfu
48
+
49
+ ENTRYPOINT ["codefresh"]
package/codefresh-arm.yml CHANGED
@@ -1,6 +1,13 @@
1
1
  version: "1.0"
2
+ mode: parallel
3
+ stages:
4
+ - prepare
5
+ - build
6
+ - push-dev
7
+ - push-master
2
8
  steps:
3
9
  main_clone:
10
+ stage: prepare
4
11
  title: 'Cloning main repository...'
5
12
  type: git-clone
6
13
  repo: ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
@@ -8,6 +15,7 @@ steps:
8
15
  git: ${{GIT_CONTEXT}}
9
16
 
10
17
  build_image:
18
+ stage: build
11
19
  type: parallel
12
20
  steps:
13
21
 
@@ -29,7 +37,31 @@ steps:
29
37
  image_name: ${{IMAGE_NAME}}
30
38
  tag: ${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}
31
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_SHORT_REVISION}}${{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_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
57
+ when:
58
+ steps:
59
+ - name: main_clone
60
+ on:
61
+ - success
62
+
32
63
  push_dev_alpine:
64
+ stage: push-dev
33
65
  type: push
34
66
  candidate: ${{build_image_alpine}}
35
67
  title: "Pushing alpine image to registry with revision tag"
@@ -44,8 +76,14 @@ steps:
44
76
  push_gcr_enterprise_dev:
45
77
  registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
46
78
  title: "Pushing image to gcr.io registry with revision tag"
79
+ when:
80
+ steps:
81
+ - name: build_image
82
+ on:
83
+ - success
47
84
 
48
85
  push_dev_debian:
86
+ stage: push-dev
49
87
  type: push
50
88
  candidate: ${{build_image_debian}}
51
89
  title: "Pushing debian image to registry with revision tag"
@@ -60,14 +98,68 @@ steps:
60
98
  push_gcr_enterprise_dev_debian:
61
99
  registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
62
100
  title: "Pushing image to gcr.io registry with revision tag"
101
+ when:
102
+ steps:
103
+ - name: build_image
104
+ on:
105
+ - success
106
+
107
+ push_dev_alpine_rootless:
108
+ stage: push-dev
109
+ type: push
110
+ candidate: ${{build_image_alpine_rootless}}
111
+ title: "Pushing rootless alpine image to registry with revision tag"
112
+ tag: ${{CF_SHORT_REVISION}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}
113
+ scale:
114
+ push_quay_dev_rootless:
115
+ registry: "${{REGISTRY_INTEGRATION_QUAY}}"
116
+ title: "Pushing image to quay.io registry with revision tag"
117
+ push_dockerhub_dev_rootless:
118
+ registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
119
+ title: "Pushing image to dockerhub registry with revision tag"
120
+ push_gcr_enterprise_dev_rootless:
121
+ registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
122
+ title: "Pushing image to gcr.io registry with revision tag"
123
+ when:
124
+ steps:
125
+ - name: build_image
126
+ on:
127
+ - success
128
+
129
+ push_dev_debian_rootless:
130
+ stage: push-dev
131
+ type: push
132
+ candidate: ${{build_image_debian_rootless}}
133
+ title: "Pushing rootless debian image to registry with revision tag"
134
+ tag: ${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}
135
+ scale:
136
+ push_quay_dev_debian_rootless:
137
+ registry: "${{REGISTRY_INTEGRATION_QUAY}}"
138
+ title: "Pushing image to quay.io registry with revision tag"
139
+ push_dockerhub_dev_debian_rootless:
140
+ registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
141
+ title: "Pushing image to dockerhub registry with revision tag"
142
+ push_gcr_enterprise_dev_debian_rootless:
143
+ registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
144
+ title: "Pushing image to gcr.io registry with revision tag"
145
+ when:
146
+ steps:
147
+ - name: build_image
148
+ on:
149
+ - success
63
150
 
64
151
  push_master_alpine:
152
+ stage: push-master
65
153
  type: push
66
154
  candidate: ${{build_image_alpine}}
67
155
  title: "Pushing alpine image with release tag"
68
156
  when:
69
157
  branch:
70
158
  only: [ master ]
159
+ steps:
160
+ - name: build_image
161
+ on:
162
+ - success
71
163
  tags:
72
164
  - "${{PACKAGE_VERSION}}${{ARM_TAG_POSTFIX}}"
73
165
  - "latest${{ARM_TAG_POSTFIX}}"
@@ -83,12 +175,17 @@ steps:
83
175
  title: "Pushing image to gcr.io registry with release tag"
84
176
 
85
177
  push_master_debian:
178
+ stage: push-master
86
179
  type: push
87
180
  candidate: ${{build_image_debian}}
88
181
  title: "Pushing debian image with release tag"
89
182
  when:
90
183
  branch:
91
184
  only: [ master ]
185
+ steps:
186
+ - name: build_image
187
+ on:
188
+ - success
92
189
  tags:
93
190
  - "${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
94
191
  - "latest${{DEBIAN_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
@@ -102,3 +199,55 @@ steps:
102
199
  push_gcr_enterprise_prod_debian:
103
200
  registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
104
201
  title: "Pushing image to gcr.io registry with release tag"
202
+
203
+ push_master_alpine_rootless:
204
+ stage: push-master
205
+ type: push
206
+ candidate: ${{build_image_alpine_rootless}}
207
+ title: "Pushing rootless alpine image with release tag"
208
+ when:
209
+ branch:
210
+ only: [ master ]
211
+ steps:
212
+ - name: build_image
213
+ on:
214
+ - success
215
+ tags:
216
+ - "${{PACKAGE_VERSION}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
217
+ - "latest${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
218
+ scale:
219
+ push_quay_prod_rootless:
220
+ registry: "${{REGISTRY_INTEGRATION_QUAY}}"
221
+ title: "Pushing alpine image to quay.io registry with release tag"
222
+ push_dockerhub_prod_rootless:
223
+ registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
224
+ title: "Pushing image to dockerhub registry with release tag"
225
+ push_gcr_enterprise_prod_rootless:
226
+ registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
227
+ title: "Pushing image to gcr.io registry with release tag"
228
+
229
+ push_master_debian_rootless:
230
+ stage: push-master
231
+ type: push
232
+ candidate: ${{build_image_debian_rootless}}
233
+ title: "Pushing rootless debian image with release tag"
234
+ when:
235
+ branch:
236
+ only: [ master ]
237
+ steps:
238
+ - name: build_image
239
+ on:
240
+ - success
241
+ tags:
242
+ - "${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
243
+ - "latest${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}${{ARM_TAG_POSTFIX}}"
244
+ scale:
245
+ push_quay_prod_debian_rootless:
246
+ registry: "${{REGISTRY_INTEGRATION_QUAY}}"
247
+ title: "Pushing image to quay.io registry with release tag"
248
+ push_dockerhub_prod_debian_rootless:
249
+ registry: "${{REGISTRY_INTEGRATION_DOCKERHUB}}"
250
+ title: "Pushing image to dockerhub registry with release tag"
251
+ push_gcr_enterprise_prod_debian_rootless:
252
+ registry: "${{REGISTRY_INTEGRATION_ENTERPRISE}}"
253
+ title: "Pushing image to gcr.io registry with release tag"
@@ -124,6 +124,59 @@ steps:
124
124
  on:
125
125
  - success
126
126
 
127
+ # in case the candidate image will not be found the release flow will crash and this means that the build pipelines has failed
128
+ push_step_alpine_rootless:
129
+ stage: docker
130
+ type: push
131
+ title: "Push alpine release image"
132
+ image_name: codefresh/cli
133
+ tags:
134
+ - ${{PACKAGE_VERSION}}${{ROOTLESS_TAG_POSTFIX}}
135
+ - latest${{ROOTLESS_TAG_POSTFIX}}
136
+ scale:
137
+ push_to_dockerhub_alpine_rootless:
138
+ registry: dockerhub
139
+ title: "push to dockerhub"
140
+ candidate: codefresh/cli:${{CF_SHORT_REVISION}}${{ROOTLESS_TAG_POSTFIX}}
141
+ push_to_gcr_alpine_rootless:
142
+ title: "push to gcr"
143
+ candidate: gcr.io/codefresh-inc/codefresh/cli:${{CF_SHORT_REVISION}}${{ROOTLESS_TAG_POSTFIX}}
144
+ push_to_quay_alpine_rootless:
145
+ registry: cf-quay
146
+ title: "push to quay.io"
147
+ candidate: quay.io/codefresh/cli:${{CF_SHORT_REVISION}}${{ROOTLESS_TAG_POSTFIX}}
148
+ when:
149
+ steps:
150
+ - name: extract_version
151
+ on:
152
+ - success
153
+
154
+ push_step_debian_rootless:
155
+ stage: docker
156
+ type: push
157
+ title: "Push debian release image"
158
+ image_name: codefresh/cli
159
+ tags:
160
+ - ${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
161
+ - latest${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
162
+ scale:
163
+ push_to_dockerhub_debian_rootless:
164
+ registry: dockerhub
165
+ title: "push to dockerhub"
166
+ candidate: codefresh/cli:${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
167
+ push_to_gcr_debian_rootless:
168
+ title: "push to gcr"
169
+ candidate: gcr.io/codefresh-inc/codefresh/cli:${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
170
+ push_to_quay_debian_rootless:
171
+ registry: cf-quay
172
+ title: "push to quay.io"
173
+ candidate: quay.io/codefresh/cli:${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
174
+ when:
175
+ steps:
176
+ - name: extract_version
177
+ on:
178
+ - success
179
+
127
180
  create_manifest_list:
128
181
  stage: docker
129
182
  type: "codefresh-inc/multiarch-manifester"
@@ -153,6 +206,16 @@ steps:
153
206
  tags:
154
207
  - ${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}
155
208
  - latest${{DEBIAN_TAG_POSTFIX}}
209
+ master_branch_tags_alpine_rootless:
210
+ arguments:
211
+ tags:
212
+ - ${{PACKAGE_VERSION}}${{ROOTLESS_TAG_POSTFIX}}
213
+ - latest${{ROOTLESS_TAG_POSTFIX}}
214
+ master_branch_tags_debian_rootless:
215
+ arguments:
216
+ tags:
217
+ - ${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
218
+ - latest${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
156
219
  when:
157
220
  steps:
158
221
  - name: push_step_alpine
@@ -161,6 +224,12 @@ steps:
161
224
  - name: push_step_debian
162
225
  on:
163
226
  - success
227
+ - name: push_step_alpine_rootless
228
+ on:
229
+ - success
230
+ - name: push_step_debian_rootless
231
+ on:
232
+ - success
164
233
 
165
234
  compile_executables:
166
235
  stage: build
package/codefresh.yml CHANGED
@@ -1,9 +1,17 @@
1
1
  # this pipeline should not be run on version tag releases (it may cause a non correct sha to override version tagged image in dockerhub)
2
2
  version: "1.0"
3
-
3
+ mode: parallel
4
+ stages:
5
+ - prepare
6
+ - test
7
+ - build
8
+ - push
9
+ - docker
10
+ - final
4
11
  steps:
5
12
 
6
13
  main_clone:
14
+ stage: prepare
7
15
  title: 'Cloning main repository...'
8
16
  type: git-clone
9
17
  repo: codefresh-io/cli
@@ -11,14 +19,21 @@ steps:
11
19
  git: cf_github
12
20
 
13
21
  extract_version:
22
+ stage: prepare
14
23
  title: "Exporting package.json version"
15
24
  image: codefresh/build-cli
16
25
  commands:
17
26
  - 'export PACKAGE_VERSION=$(jq -r ".version" package.json)'
18
27
  - "echo Current version: $PACKAGE_VERSION"
19
28
  - "cf_export PACKAGE_VERSION"
29
+ when:
30
+ steps:
31
+ - name: main_clone
32
+ on:
33
+ - success
20
34
 
21
35
  check_version:
36
+ stage: prepare
22
37
  title: 'Checking if version already exists'
23
38
  image: codefresh/build-cli
24
39
  fail_fast: false
@@ -37,14 +52,25 @@ steps:
37
52
  condition:
38
53
  all:
39
54
  skipVersionCheck: '"${{SKIP_VERSION_CHECK}}" != "true"'
55
+ steps:
56
+ - name: extract_version
57
+ on:
58
+ - success
40
59
 
41
60
  install_dependencies:
61
+ stage: test
42
62
  title: 'Installing testing dependencies'
43
63
  image: codefresh/build-cli
44
64
  commands:
45
65
  - yarn install --frozen-lockfile
66
+ when:
67
+ steps:
68
+ - name: extract_version
69
+ on:
70
+ - success
46
71
 
47
72
  parallel_tests:
73
+ stage: test
48
74
  type: parallel
49
75
  steps:
50
76
  eslint:
@@ -71,8 +97,13 @@ steps:
71
97
  when:
72
98
  branch:
73
99
  ignore: [ master ]
100
+ steps:
101
+ - name: install_dependencies
102
+ on:
103
+ - success
74
104
 
75
105
  build_images:
106
+ stage: build
76
107
  type: parallel
77
108
  steps:
78
109
 
@@ -88,27 +119,52 @@ steps:
88
119
  image-name: codefresh/cli
89
120
  tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}
90
121
 
91
- run_arm_build:
92
- type: codefresh-run
93
- arguments:
94
- PIPELINE_ID: codefresh-io/cli/build-arm
95
- TRIGGER_ID: codefresh-io/cli
96
- BRANCH: ${{CF_BRANCH}}
97
- DETACH: false
98
- VARIABLE:
99
- - CF_REPO_OWNER=${{CF_REPO_OWNER}}
100
- - CF_REPO_NAME=${{CF_REPO_NAME}}
101
- - CF_REVISION=${{CF_REVISION}}
102
- - CF_BRANCH=${{CF_BRANCH}}
103
- - CF_SHORT_REVISION=${{CF_SHORT_REVISION}}
104
- - GIT_CONTEXT=cf_github
105
- - IMAGE_NAME=codefresh/cli
106
- - WORKDIR=${{CF_VOLUME_PATH}}/${{CF_REPO_NAME}}
107
- - ARM_TAG_POSTFIX="${{ARM_TAG_POSTFIX}}"
108
- - DEBIAN_TAG_POSTFIX="${{DEBIAN_TAG_POSTFIX}}"
109
- - PACKAGE_VERSION=${{PACKAGE_VERSION}}
122
+ build_step_alpine_rootless:
123
+ type: build
124
+ dockerfile: Dockerfile-rootless
125
+ image-name: codefresh/cli
126
+ tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{ROOTLESS_TAG_POSTFIX}}
127
+
128
+ build_step_debian_rootless:
129
+ type: build
130
+ dockerfile: Dockerfile-debian-rootless
131
+ image-name: codefresh/cli
132
+ tag: ${{CF_BRANCH_TAG_NORMALIZED}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
133
+ when:
134
+ steps:
135
+ - name: extract_version
136
+ on:
137
+ - success
138
+
139
+ run_arm_build:
140
+ stage: build
141
+ type: codefresh-run
142
+ arguments:
143
+ PIPELINE_ID: codefresh-io/cli/build-arm
144
+ TRIGGER_ID: codefresh-io/cli
145
+ BRANCH: ${{CF_BRANCH}}
146
+ DETACH: false
147
+ VARIABLE:
148
+ - CF_REPO_OWNER=${{CF_REPO_OWNER}}
149
+ - CF_REPO_NAME=${{CF_REPO_NAME}}
150
+ - CF_REVISION=${{CF_REVISION}}
151
+ - CF_BRANCH=${{CF_BRANCH}}
152
+ - CF_SHORT_REVISION=${{CF_SHORT_REVISION}}
153
+ - GIT_CONTEXT=cf_github
154
+ - IMAGE_NAME=codefresh/cli
155
+ - WORKDIR=${{CF_VOLUME_PATH}}/${{CF_REPO_NAME}}
156
+ - ARM_TAG_POSTFIX="${{ARM_TAG_POSTFIX}}"
157
+ - DEBIAN_TAG_POSTFIX="${{DEBIAN_TAG_POSTFIX}}"
158
+ - ROOTLESS_TAG_POSTFIX="${{ROOTLESS_TAG_POSTFIX}}"
159
+ - PACKAGE_VERSION=${{PACKAGE_VERSION}}
160
+ when:
161
+ steps:
162
+ - name: extract_version
163
+ on:
164
+ - success
110
165
 
111
166
  push_step_alpine:
167
+ stage: push
112
168
  type: push
113
169
  tag: '${{CF_SHORT_REVISION}}'
114
170
  candidate: ${{build_step_alpine}}
@@ -121,8 +177,14 @@ steps:
121
177
  push_to_quay:
122
178
  registry: cf-quay
123
179
  title: "push to quay.io"
180
+ when:
181
+ steps:
182
+ - name: build_images
183
+ on:
184
+ - success
124
185
 
125
186
  push_step_debian:
187
+ stage: push
126
188
  type: push
127
189
  tag: '${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}'
128
190
  candidate: ${{build_step_debian}}
@@ -135,8 +197,54 @@ steps:
135
197
  push_to_quay_debian:
136
198
  registry: cf-quay
137
199
  title: "push to quay.io"
200
+ when:
201
+ steps:
202
+ - name: build_images
203
+ on:
204
+ - success
205
+
206
+ push_step_alpine_rootless:
207
+ stage: push
208
+ type: push
209
+ tag: '${{CF_SHORT_REVISION}}${{ROOTLESS_TAG_POSTFIX}}'
210
+ candidate: ${{build_step_alpine_rootless}}
211
+ scale:
212
+ push_to_dockerhub_rootless:
213
+ registry: dockerhub
214
+ title: "push to dockerhub"
215
+ push_to_gcr_rootless:
216
+ title: "push to gcr"
217
+ push_to_quay_rootless:
218
+ registry: cf-quay
219
+ title: "push to quay.io"
220
+ when:
221
+ steps:
222
+ - name: build_images
223
+ on:
224
+ - success
225
+
226
+ push_step_debian_rootless:
227
+ stage: push
228
+ type: push
229
+ tag: '${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}'
230
+ candidate: ${{build_step_debian_rootless}}
231
+ scale:
232
+ push_to_dockerhub_debian_rootless:
233
+ registry: dockerhub
234
+ title: "push to dockerhub"
235
+ push_to_gcr_debian_rootless:
236
+ title: "push to gcr"
237
+ push_to_quay_debian_rootless:
238
+ registry: cf-quay
239
+ title: "push to quay.io"
240
+ when:
241
+ steps:
242
+ - name: build_images
243
+ on:
244
+ - success
138
245
 
139
246
  create_manifest_list:
247
+ stage: docker
140
248
  type: "codefresh-inc/multiarch-manifester"
141
249
  arguments:
142
250
  image_name: codefresh/cli
@@ -168,8 +276,40 @@ steps:
168
276
  arguments:
169
277
  tags:
170
278
  - ${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}
279
+ dev_branches_tags_rootless:
280
+ when:
281
+ branch:
282
+ ignore: [ master ]
283
+ arguments:
284
+ tags:
285
+ - ${{CF_SHORT_REVISION}}${{ROOTLESS_TAG_POSTFIX}}
286
+ dev_branches_tags_debian_rootless:
287
+ when:
288
+ branch:
289
+ ignore: [ master ]
290
+ arguments:
291
+ tags:
292
+ - ${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}${{ROOTLESS_TAG_POSTFIX}}
293
+ when:
294
+ steps:
295
+ - name: push_step_alpine
296
+ on:
297
+ - success
298
+ - name: push_step_debian
299
+ on:
300
+ - success
301
+ - name: push_step_alpine_rootless
302
+ on:
303
+ - success
304
+ - name: push_step_debian_rootless
305
+ on:
306
+ - success
307
+ - name: run_arm_build
308
+ on:
309
+ - success
171
310
 
172
311
  fail_on_bad_version:
312
+ stage: final
173
313
  image: codefresh/build-cli
174
314
  commands:
175
315
  - exit 1
@@ -177,8 +317,13 @@ steps:
177
317
  condition:
178
318
  all:
179
319
  versionCheckFailed: steps.check_version.result == 'failure'
320
+ steps:
321
+ - name: create_manifest_list
322
+ on:
323
+ - success
180
324
 
181
325
  execute_release_pipeline:
326
+ stage: final
182
327
  title: "Execute release pipeline in case version was changed"
183
328
  type: codefresh-run
184
329
  arguments:
@@ -193,3 +338,7 @@ steps:
193
338
  condition:
194
339
  all:
195
340
  versionCheckSucceeded: steps.check_version.result != 'failure'
341
+ steps:
342
+ - name: create_manifest_list
343
+ on:
344
+ - success
@@ -67,15 +67,6 @@ class RunLocalCommand extends RunBaseCommand {
67
67
  this.docker.modem.followProgress(stream, onFinished, onProgress);
68
68
  }
69
69
  });
70
- }).catch((err) => {
71
- if (err && _.includes(err.message, 'connect EACCES /var/run/docker.sock')) {
72
- const message = 'Could not access /var/run/docker.sock. Warning: If you are trying to run Codefresh CLI '
73
- + 'through the docker container please consider to add option `--user root` to the `docker run` command. '
74
- + 'Recently we updated our Codefresh CLI images to run with rootless user and in order to access '
75
- + '/var/run/docker.sock you need to have root permissions.';
76
- return Promise.reject(new Error(message));
77
- }
78
- return Promise.reject(err);
79
70
  });
80
71
  }
81
72
  async runImpl(request) {
@@ -1 +1 @@
1
- {"codefresh":{"analyze":{},"completion":{},"completions":{"alias":"completion"},"tag":{},"untag":{},"offline-logs":{"ensure-index":{},"offload-to-collection":{},"offload-to-file":{}},"run":{"__optionHandlers":["../commands/pipeline/run.completion.js"]},"add":{"repository":{},"repo":{"alias":"repository"}},"annotate":{"image":{},"img":{"alias":"image"}},"patch":{"__optionHandlers":["../commands/root/apply.completion.js"],"agent":{"__optionHandlers":["../commands/root/apply.completion.js"]},"board":{"__optionHandlers":["../commands/root/apply.completion.js"]},"project":{"__optionHandlers":["../commands/root/apply.completion.js"]},"runtime-environments":{"__optionHandlers":["../commands/root/apply.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"section":{"__optionHandlers":["../commands/root/apply.completion.js"]},"system-runtime-environments":{"__optionHandlers":["../commands/root/apply.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"},"teams":{"__optionHandlers":["../commands/root/apply.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"tokens":{"__optionHandlers":["../commands/root/apply.completion.js"]},"token":{"alias":"tokens"},"helm-repo":{"__optionHandlers":["../commands/root/apply.completion.js"]},"context":{"__optionHandlers":["../commands/root/apply.completion.js"]},"ctx":{"alias":"context"}},"auth":{"create-context":{},"current-context":{},"get-contexts":{},"use-context":{}},"components":{"download":{},"update":{}},"create":{"__optionHandlers":["../commands/root/create.completion.js"],"agent":{"__optionHandlers":["../commands/root/create.completion.js"]},"clusters":{"__optionHandlers":["../commands/root/create.completion.js"]},"cluster":{"alias":"clusters"},"annotation":{"__optionHandlers":["../commands/root/create.completion.js"]},"board":{"__optionHandlers":["../commands/root/create.completion.js"]},"composition":{"__optionHandlers":["../commands/composition/create.completion.js","../commands/root/create.completion.js"]},"com":{"alias":"composition"},"project":{"__optionHandlers":["../commands/root/create.completion.js"]},"runtime-environments":{"__optionHandlers":["../commands/root/create.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"section":{"__optionHandlers":["../commands/root/create.completion.js"]},"teams":{"__optionHandlers":["../commands/root/create.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"token":{"__optionHandlers":["../commands/root/create.completion.js"]},"helm-repo":{"__optionHandlers":["../commands/root/create.completion.js"]},"registry":{"__optionHandlers":["../commands/root/create.completion.js"],"standard":{"__optionHandlers":["../commands/root/create.completion.js"]}},"trigger":{"__optionHandlers":["../commands/root/create.completion.js"]},"t":{"alias":"trigger"},"trigger-event":{"__optionHandlers":["../commands/root/create.completion.js"]},"te":{"alias":"trigger-event"},"workflow-data-item":{"__optionHandlers":["../commands/root/create.completion.js"]},"wdi":{"alias":"workflow-data-item"},"context":{"__optionHandlers":["../commands/root/create.completion.js"],"config":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret-yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"git":{"__optionHandlers":["../commands/root/create.completion.js"],"bitbucket":{"__optionHandlers":["../commands/root/create.completion.js"]},"github":{"__optionHandlers":["../commands/root/create.completion.js"]},"gitlab":{"__optionHandlers":["../commands/root/create.completion.js"]},"stash":{"__optionHandlers":["../commands/root/create.completion.js"]}},"helm-repository":{"__optionHandlers":["../commands/root/create.completion.js"],"http":{"__optionHandlers":["../commands/root/create.completion.js"]},"s3":{"__optionHandlers":["../commands/root/create.completion.js"]}},"secret-store":{"__optionHandlers":["../commands/root/create.completion.js"],"hashicorp-vault":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes-runtime":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes":{"__optionHandlers":["../commands/root/create.completion.js"]}}},"ctx":{"alias":"context","config":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret-yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"git":{"__optionHandlers":["../commands/root/create.completion.js"],"bitbucket":{"__optionHandlers":["../commands/root/create.completion.js"]},"github":{"__optionHandlers":["../commands/root/create.completion.js"]},"gitlab":{"__optionHandlers":["../commands/root/create.completion.js"]},"stash":{"__optionHandlers":["../commands/root/create.completion.js"]}},"helm-repository":{"__optionHandlers":["../commands/root/create.completion.js"],"http":{"__optionHandlers":["../commands/root/create.completion.js"]},"s3":{"__optionHandlers":["../commands/root/create.completion.js"]}},"secret-store":{"__optionHandlers":["../commands/root/create.completion.js"],"hashicorp-vault":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes-runtime":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes":{"__optionHandlers":["../commands/root/create.completion.js"]}}}},"delete":{"__optionHandlers":["../commands/root/delete.completion.js"],"agent":{"__optionHandlers":["../commands/root/delete.completion.js"]},"annotation":{"__optionHandlers":["../commands/root/delete.completion.js"]},"board":{"__optionHandlers":["../commands/root/delete.completion.js"]},"cluster":{"__optionHandlers":["../commands/root/delete.completion.js"]},"clusters":{"alias":"cluster"},"composition":{"__optionHandlers":["../commands/root/delete.completion.js"]},"com":{"alias":"composition"},"environment":{"__optionHandlers":["../commands/root/delete.completion.js"]},"env":{"alias":"environment"},"pipeline":{"__optionHandlers":["../commands/root/delete.completion.js"]},"pip":{"alias":"pipeline"},"project":{"__optionHandlers":["../commands/root/delete.completion.js"]},"repository":{"__optionHandlers":["../commands/root/delete.completion.js"]},"repo":{"alias":"repository"},"runtime-environments":{"__optionHandlers":["../commands/root/delete.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"section":{"__optionHandlers":["../commands/root/delete.completion.js"]},"step-type":{"__optionHandlers":["../commands/root/delete.completion.js"]},"system-runtime-environments":{"__optionHandlers":["../commands/root/delete.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"},"teams":{"__optionHandlers":["../commands/root/delete.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"tokens":{"__optionHandlers":["../commands/root/delete.completion.js"]},"token":{"alias":"tokens"},"helm-repo":{"__optionHandlers":["../commands/root/delete.completion.js"]},"registry":{"__optionHandlers":["../commands/root/delete.completion.js"]},"trigger":{"__optionHandlers":["../commands/root/delete.completion.js"]},"t":{"alias":"trigger"},"trigger-event":{"__optionHandlers":["../commands/root/delete.completion.js"]},"te":{"alias":"trigger-event"},"context":{"__optionHandlers":["../commands/root/delete.completion.js"]},"ctx":{"alias":"context"}},"diff":{"__optionHandlers":["../commands/root/diff.completion.js"],"runtime-environments":{"__optionHandlers":["../commands/root/diff.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"system-runtime-environments":{"__optionHandlers":["../commands/root/diff.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"}},"download":{"audit":{}},"generate":{"image-pull-secret":{}},"get":{"__optionHandlers":["../commands/root/get.completion.js"],"agents":{"__optionHandlers":["../commands/root/get.completion.js"]},"agent":{"alias":"agents"},"annotation":{"__optionHandlers":["../commands/root/get.completion.js"]},"boards":{"__optionHandlers":["../commands/root/get.completion.js"]},"board":{"alias":"boards"},"clusters":{"__optionHandlers":["../commands/root/get.completion.js"]},"cluster":{"alias":"clusters"},"compositions":{"__optionHandlers":["../commands/root/get.completion.js"]},"com":{"alias":"compositions"},"composition":{"alias":"compositions"},"environments":{"__optionHandlers":["../commands/root/get.completion.js"]},"env":{"alias":"environments"},"environment":{"alias":"environments"},"images":{"__optionHandlers":["../commands/root/get.completion.js"]},"img":{"alias":"images"},"image":{"alias":"images"},"pipelines":{"__positionalHandler":"../commands/pipeline/get.completion.js","__optionHandlers":["../commands/root/get.completion.js"]},"pip":{"alias":"pipelines"},"pipeline":{"alias":"pipelines"},"projects":{"__optionHandlers":["../commands/root/get.completion.js"]},"project":{"alias":"projects"},"repository":{"__optionHandlers":["../commands/root/get.completion.js"]},"repo":{"alias":"repository"},"runtime-environments":{"__optionHandlers":["../commands/root/get.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"sections":{"__optionHandlers":["../commands/root/get.completion.js"]},"section":{"alias":"sections"},"step-types":{"__positionalHandler":"../commands/step/get.completion.js","__optionHandlers":["../commands/root/get.completion.js"]},"step-type":{"alias":"step-types"},"system-runtime-environments":{"__optionHandlers":["../commands/root/get.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"},"teams":{"__optionHandlers":["../commands/root/get.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"tokens":{"__optionHandlers":["../commands/root/get.completion.js"]},"token":{"alias":"tokens"},"helm-repo":{"__optionHandlers":["../commands/root/get.completion.js"]},"registry":{"__optionHandlers":["../commands/root/get.completion.js"]},"triggers":{"__optionHandlers":["../commands/root/get.completion.js"]},"trigger":{"alias":"triggers"},"t":{"alias":"triggers"},"trigger-events":{"__optionHandlers":["../commands/root/get.completion.js"]},"trigger-event":{"alias":"trigger-events"},"te":{"alias":"trigger-events"},"trigger-types":{"__optionHandlers":["../commands/root/get.completion.js"]},"trigger-type":{"alias":"trigger-types"},"tt":{"alias":"trigger-types"},"builds":{"__optionHandlers":["../commands/root/get.completion.js"]},"build":{"alias":"builds"},"workflow-data-item":{"__optionHandlers":["../commands/root/get.completion.js"]},"wdi":{"alias":"workflow-data-item"},"contexts":{"__optionHandlers":["../commands/root/get.completion.js"]},"ctx":{"alias":"contexts"},"context":{"alias":"contexts"}},"install":{"runtime":{},"agent":{},"app-proxy":{},"monitor":{},"gitops":{}},"replace":{"__optionHandlers":["../commands/root/replace.completion.js"],"composition":{"__optionHandlers":["../commands/composition/replace.completion.js","../commands/root/replace.completion.js"]},"com":{"alias":"composition"}},"runner":{"delete":{},"execute-test-pipeline":{},"info":{},"init":{},"upgrade":{}},"synchronize":{"teams":{},"team":{"alias":"teams"},"tm":{"alias":"teams"}},"uninstall":{"agent":{},"app-proxy":{},"runtime":{},"monitor":{},"gitops":{}},"upgrade":{"app-proxy":{},"gitops":{}},"validate":{"__positionalHandler":"../commands/root/validate.completion.js"},"version":{},"attach":{},"cli-config":{"get":{},"help":{},"profile":{},"set":{}},"set-helm-config":{},"install-chart":{},"helm-promotion":{},"delete-release":{},"rollback-release":{},"test-release":{},"approve":{},"deny":{},"logs":{},"restart":{},"terminate":{},"wait":{}}}
1
+ {"codefresh":{"analyze":{},"completion":{},"completions":{"alias":"completion"},"tag":{},"untag":{},"offline-logs":{"ensure-index":{},"offload-to-collection":{},"offload-to-file":{}},"run":{"__optionHandlers":["../commands/pipeline/run.completion.js"]},"add":{"repository":{},"repo":{"alias":"repository"}},"annotate":{"image":{},"img":{"alias":"image"}},"patch":{"__optionHandlers":["../commands/root/apply.completion.js"],"agent":{"__optionHandlers":["../commands/root/apply.completion.js"]},"board":{"__optionHandlers":["../commands/root/apply.completion.js"]},"project":{"__optionHandlers":["../commands/root/apply.completion.js"]},"runtime-environments":{"__optionHandlers":["../commands/root/apply.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"section":{"__optionHandlers":["../commands/root/apply.completion.js"]},"system-runtime-environments":{"__optionHandlers":["../commands/root/apply.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"},"teams":{"__optionHandlers":["../commands/root/apply.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"tokens":{"__optionHandlers":["../commands/root/apply.completion.js"]},"token":{"alias":"tokens"},"helm-repo":{"__optionHandlers":["../commands/root/apply.completion.js"]},"context":{"__optionHandlers":["../commands/root/apply.completion.js"]},"ctx":{"alias":"context"}},"auth":{"create-context":{},"current-context":{},"get-contexts":{},"use-context":{}},"components":{"download":{},"update":{}},"create":{"__optionHandlers":["../commands/root/create.completion.js"],"agent":{"__optionHandlers":["../commands/root/create.completion.js"]},"clusters":{"__optionHandlers":["../commands/root/create.completion.js"]},"cluster":{"alias":"clusters"},"annotation":{"__optionHandlers":["../commands/root/create.completion.js"]},"board":{"__optionHandlers":["../commands/root/create.completion.js"]},"composition":{"__optionHandlers":["../commands/composition/create.completion.js","../commands/root/create.completion.js"]},"com":{"alias":"composition"},"project":{"__optionHandlers":["../commands/root/create.completion.js"]},"runtime-environments":{"__optionHandlers":["../commands/root/create.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"section":{"__optionHandlers":["../commands/root/create.completion.js"]},"teams":{"__optionHandlers":["../commands/root/create.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"token":{"__optionHandlers":["../commands/root/create.completion.js"]},"helm-repo":{"__optionHandlers":["../commands/root/create.completion.js"]},"registry":{"__optionHandlers":["../commands/root/create.completion.js"],"standard":{"__optionHandlers":["../commands/root/create.completion.js"]}},"trigger":{"__optionHandlers":["../commands/root/create.completion.js"]},"t":{"alias":"trigger"},"trigger-event":{"__optionHandlers":["../commands/root/create.completion.js"]},"te":{"alias":"trigger-event"},"workflow-data-item":{"__optionHandlers":["../commands/root/create.completion.js"]},"wdi":{"alias":"workflow-data-item"},"context":{"__optionHandlers":["../commands/root/create.completion.js"],"config":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret-yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"git":{"__optionHandlers":["../commands/root/create.completion.js"],"bitbucket":{"__optionHandlers":["../commands/root/create.completion.js"]},"github":{"__optionHandlers":["../commands/root/create.completion.js"]},"gitlab":{"__optionHandlers":["../commands/root/create.completion.js"]},"stash":{"__optionHandlers":["../commands/root/create.completion.js"]}},"helm-repository":{"__optionHandlers":["../commands/root/create.completion.js"],"http":{"__optionHandlers":["../commands/root/create.completion.js"]},"s3":{"__optionHandlers":["../commands/root/create.completion.js"]}},"secret-store":{"__optionHandlers":["../commands/root/create.completion.js"],"hashicorp-vault":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes-runtime":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes":{"__optionHandlers":["../commands/root/create.completion.js"]}}},"ctx":{"alias":"context","config":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret":{"__optionHandlers":["../commands/root/create.completion.js"]},"secret-yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"yaml":{"__optionHandlers":["../commands/root/create.completion.js"]},"git":{"__optionHandlers":["../commands/root/create.completion.js"],"bitbucket":{"__optionHandlers":["../commands/root/create.completion.js"]},"github":{"__optionHandlers":["../commands/root/create.completion.js"]},"gitlab":{"__optionHandlers":["../commands/root/create.completion.js"]},"stash":{"__optionHandlers":["../commands/root/create.completion.js"]}},"helm-repository":{"__optionHandlers":["../commands/root/create.completion.js"],"http":{"__optionHandlers":["../commands/root/create.completion.js"]},"s3":{"__optionHandlers":["../commands/root/create.completion.js"]}},"secret-store":{"__optionHandlers":["../commands/root/create.completion.js"],"hashicorp-vault":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes-runtime":{"__optionHandlers":["../commands/root/create.completion.js"]},"kubernetes":{"__optionHandlers":["../commands/root/create.completion.js"]}}}},"delete":{"__optionHandlers":["../commands/root/delete.completion.js"],"agent":{"__optionHandlers":["../commands/root/delete.completion.js"]},"annotation":{"__optionHandlers":["../commands/root/delete.completion.js"]},"board":{"__optionHandlers":["../commands/root/delete.completion.js"]},"cluster":{"__optionHandlers":["../commands/root/delete.completion.js"]},"clusters":{"alias":"cluster"},"composition":{"__optionHandlers":["../commands/root/delete.completion.js"]},"com":{"alias":"composition"},"environment":{"__optionHandlers":["../commands/root/delete.completion.js"]},"env":{"alias":"environment"},"project":{"__optionHandlers":["../commands/root/delete.completion.js"]},"pipeline":{"__optionHandlers":["../commands/root/delete.completion.js"]},"pip":{"alias":"pipeline"},"repository":{"__optionHandlers":["../commands/root/delete.completion.js"]},"repo":{"alias":"repository"},"runtime-environments":{"__optionHandlers":["../commands/root/delete.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"section":{"__optionHandlers":["../commands/root/delete.completion.js"]},"step-type":{"__optionHandlers":["../commands/root/delete.completion.js"]},"system-runtime-environments":{"__optionHandlers":["../commands/root/delete.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"},"teams":{"__optionHandlers":["../commands/root/delete.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"tokens":{"__optionHandlers":["../commands/root/delete.completion.js"]},"token":{"alias":"tokens"},"helm-repo":{"__optionHandlers":["../commands/root/delete.completion.js"]},"registry":{"__optionHandlers":["../commands/root/delete.completion.js"]},"trigger":{"__optionHandlers":["../commands/root/delete.completion.js"]},"t":{"alias":"trigger"},"trigger-event":{"__optionHandlers":["../commands/root/delete.completion.js"]},"te":{"alias":"trigger-event"},"context":{"__optionHandlers":["../commands/root/delete.completion.js"]},"ctx":{"alias":"context"}},"diff":{"__optionHandlers":["../commands/root/diff.completion.js"],"runtime-environments":{"__optionHandlers":["../commands/root/diff.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"system-runtime-environments":{"__optionHandlers":["../commands/root/diff.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"}},"download":{"audit":{}},"generate":{"image-pull-secret":{}},"get":{"__optionHandlers":["../commands/root/get.completion.js"],"agents":{"__optionHandlers":["../commands/root/get.completion.js"]},"agent":{"alias":"agents"},"annotation":{"__optionHandlers":["../commands/root/get.completion.js"]},"boards":{"__optionHandlers":["../commands/root/get.completion.js"]},"board":{"alias":"boards"},"clusters":{"__optionHandlers":["../commands/root/get.completion.js"]},"cluster":{"alias":"clusters"},"compositions":{"__optionHandlers":["../commands/root/get.completion.js"]},"com":{"alias":"compositions"},"composition":{"alias":"compositions"},"environments":{"__optionHandlers":["../commands/root/get.completion.js"]},"env":{"alias":"environments"},"environment":{"alias":"environments"},"images":{"__optionHandlers":["../commands/root/get.completion.js"]},"img":{"alias":"images"},"image":{"alias":"images"},"projects":{"__optionHandlers":["../commands/root/get.completion.js"]},"project":{"alias":"projects"},"pipelines":{"__positionalHandler":"../commands/pipeline/get.completion.js","__optionHandlers":["../commands/root/get.completion.js"]},"pip":{"alias":"pipelines"},"pipeline":{"alias":"pipelines"},"repository":{"__optionHandlers":["../commands/root/get.completion.js"]},"repo":{"alias":"repository"},"runtime-environments":{"__optionHandlers":["../commands/root/get.completion.js"]},"re":{"alias":"runtime-environments"},"runtime-environment":{"alias":"runtime-environments"},"sections":{"__optionHandlers":["../commands/root/get.completion.js"]},"section":{"alias":"sections"},"step-types":{"__positionalHandler":"../commands/step/get.completion.js","__optionHandlers":["../commands/root/get.completion.js"]},"step-type":{"alias":"step-types"},"system-runtime-environments":{"__optionHandlers":["../commands/root/get.completion.js"]},"sys-re":{"alias":"system-runtime-environments"},"system-runtime-environment":{"alias":"system-runtime-environments"},"teams":{"__optionHandlers":["../commands/root/get.completion.js"]},"team":{"alias":"teams"},"tm":{"alias":"teams"},"tokens":{"__optionHandlers":["../commands/root/get.completion.js"]},"token":{"alias":"tokens"},"helm-repo":{"__optionHandlers":["../commands/root/get.completion.js"]},"registry":{"__optionHandlers":["../commands/root/get.completion.js"]},"triggers":{"__optionHandlers":["../commands/root/get.completion.js"]},"trigger":{"alias":"triggers"},"t":{"alias":"triggers"},"trigger-events":{"__optionHandlers":["../commands/root/get.completion.js"]},"trigger-event":{"alias":"trigger-events"},"te":{"alias":"trigger-events"},"trigger-types":{"__optionHandlers":["../commands/root/get.completion.js"]},"trigger-type":{"alias":"trigger-types"},"tt":{"alias":"trigger-types"},"builds":{"__optionHandlers":["../commands/root/get.completion.js"]},"build":{"alias":"builds"},"workflow-data-item":{"__optionHandlers":["../commands/root/get.completion.js"]},"wdi":{"alias":"workflow-data-item"},"contexts":{"__optionHandlers":["../commands/root/get.completion.js"]},"ctx":{"alias":"contexts"},"context":{"alias":"contexts"}},"install":{"runtime":{},"agent":{},"app-proxy":{},"monitor":{},"gitops":{}},"replace":{"__optionHandlers":["../commands/root/replace.completion.js"],"composition":{"__optionHandlers":["../commands/composition/replace.completion.js","../commands/root/replace.completion.js"]},"com":{"alias":"composition"}},"runner":{"delete":{},"execute-test-pipeline":{},"info":{},"init":{},"upgrade":{}},"synchronize":{"teams":{},"team":{"alias":"teams"},"tm":{"alias":"teams"}},"uninstall":{"agent":{},"app-proxy":{},"runtime":{},"monitor":{},"gitops":{}},"upgrade":{"app-proxy":{},"gitops":{}},"validate":{"__positionalHandler":"../commands/root/validate.completion.js"},"version":{},"attach":{},"cli-config":{"get":{},"help":{},"profile":{},"set":{}},"set-helm-config":{},"install-chart":{},"helm-promotion":{},"delete-release":{},"rollback-release":{},"test-release":{},"approve":{},"deny":{},"logs":{},"restart":{},"terminate":{},"wait":{}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codefresh",
3
- "version": "0.82.0",
3
+ "version": "0.82.1",
4
4
  "description": "Codefresh command line utility",
5
5
  "main": "index.js",
6
6
  "preferGlobal": true,