codefresh 0.81.4 → 0.81.5

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.
@@ -81,14 +81,14 @@ steps:
81
81
  - ${{PACKAGE_VERSION}}
82
82
  - latest
83
83
  scale:
84
- push_to_dockerhub:
84
+ push_to_dockerhub_alpine:
85
85
  registry: dockerhub
86
86
  title: "push to dockerhub"
87
87
  candidate: codefresh/cli:${{CF_SHORT_REVISION}}
88
- push_to_gcr:
88
+ push_to_gcr_alpine:
89
89
  title: "push to gcr"
90
90
  candidate: gcr.io/codefresh-inc/codefresh/cli:${{CF_SHORT_REVISION}}
91
- push_to_quay:
91
+ push_to_quay_alpine:
92
92
  registry: cf-quay
93
93
  title: "push to quay.io"
94
94
  candidate: quay.io/codefresh/cli:${{CF_SHORT_REVISION}}
@@ -107,14 +107,14 @@ steps:
107
107
  - ${{PACKAGE_VERSION}}${{DEBIAN_TAG_POSTFIX}}
108
108
  - latest${{DEBIAN_TAG_POSTFIX}}
109
109
  scale:
110
- push_to_dockerhub:
110
+ push_to_dockerhub_debian:
111
111
  registry: dockerhub
112
112
  title: "push to dockerhub"
113
113
  candidate: codefresh/cli:${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}
114
- push_to_gcr:
114
+ push_to_gcr_debian:
115
115
  title: "push to gcr"
116
116
  candidate: gcr.io/codefresh-inc/codefresh/cli:${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}
117
- push_to_quay:
117
+ push_to_quay_debian:
118
118
  registry: cf-quay
119
119
  title: "push to quay.io"
120
120
  candidate: quay.io/codefresh/cli:${{CF_SHORT_REVISION}}${{DEBIAN_TAG_POSTFIX}}
package/codefresh.yml CHANGED
@@ -187,8 +187,6 @@ steps:
187
187
  BRANCH: master
188
188
  VARIABLE:
189
189
  - PACKAGE_VERSION=${{PACKAGE_VERSION}}
190
- - ARM_TAG_POSTFIX="${{ARM_TAG_POSTFIX}}"
191
- - DEBIAN_TAG_POSTFIX="${{DEBIAN_TAG_POSTFIX}}"
192
190
  when:
193
191
  branch:
194
192
  only: [ master ]
@@ -124,6 +124,10 @@ const deleteCmd = new Command({
124
124
  .option('kube-config-path', {
125
125
  describe: 'Path to kubeconfig file (default is $HOME/.kube/config)',
126
126
  })
127
+ .option('keep-cluster-integration', {
128
+ describe: 'If true, will not delete dangling cluster integrations from Codefresh',
129
+ type: Boolean,
130
+ })
127
131
  .option('values', {
128
132
  describe: 'specify values in a YAML file',
129
133
  })
@@ -142,6 +146,7 @@ const deleteCmd = new Command({
142
146
  verbose,
143
147
  force,
144
148
  'kube-config-path': kubeConfigPath,
149
+ 'keep-cluster-integration': keepClusterIntegration,
145
150
  } = _argv;
146
151
  let {
147
152
  url,
@@ -249,7 +254,7 @@ const deleteCmd = new Command({
249
254
  const runtimesToDelete = _.filter(runtimes, re => attachedRuntimes.includes(_.get(re, 'metadata.name')));
250
255
  const defaultRuntime = _.get(_.find(runtimes, re => re.default), 'metadata.name');
251
256
 
252
- const clustersToDelete = getClustersToDelete(clusters, runtimes, runtimesToDelete);
257
+ const clustersToDelete = keepClusterIntegration ? [] : getClustersToDelete(clusters, runtimes, runtimesToDelete);
253
258
  const appProxyToDelete = getAppProxyToDelete(runtimesToDelete);
254
259
 
255
260
  if (!force) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codefresh",
3
- "version": "0.81.4",
3
+ "version": "0.81.5",
4
4
  "description": "Codefresh command line utility",
5
5
  "main": "index.js",
6
6
  "preferGlobal": true,