Skip to content

Commit 04b5e0a

Browse files
fix: revert previous version (#869)
## What This reverts previous version 0.88.0. ## Why New release added Node.js-level warnings to output which broke custom parsing of CLI output.
1 parent a8af20c commit 04b5e0a

7 files changed

+2309
-2679
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.11.0
1+
v18.17.1

Dockerfile

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,44 @@
11
# go hub binary
2-
FROM golang:alpine AS go
2+
FROM golang:alpine as go
33
RUN apk --update add ca-certificates git
44
RUN go install github.com/github/hub@latest
55

66
# python yq binary
7-
FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 AS yq
7+
FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq
88
ARG YQ_VERSION=2.10.0
99
ENV PATH="/pyinstaller:$PATH"
1010
RUN pip install yq==${YQ_VERSION}
1111
RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212

1313
# kubectl binary
14-
FROM bitnami/kubectl:1.30.6 AS kubectl
14+
FROM bitnami/kubectl:1.27.4 as kubectl
1515

1616
# Main
17-
FROM node:22.11.0-alpine3.20
17+
FROM node:18.17.1-alpine3.18
18+
1819
RUN apk --update add --no-cache \
1920
bash \
2021
ca-certificates \
2122
curl \
2223
git \
2324
jq
25+
2426
COPY --from=go /go/bin/hub /usr/local/bin/hub
2527
COPY --from=yq /tmp/yq /usr/local/bin/yq
2628
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/
29+
2730
WORKDIR /cf-cli
31+
2832
COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/
33+
2934
RUN yarn install --prod --frozen-lockfile && \
3035
yarn cache clean
36+
3137
COPY . /cf-cli
38+
3239
RUN yarn generate-completion
40+
3341
RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh
34-
RUN codefresh components update --location components
3542

43+
RUN codefresh components update --location components
3644
ENTRYPOINT ["codefresh"]

Dockerfile-debian

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ RUN pip install yq==${YQ_VERSION}
1111
RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212

1313
# kubectl binary
14-
FROM bitnami/kubectl:1.30.6 as kubectl
14+
FROM bitnami/kubectl:1.27.4 as kubectl
1515

1616
# Main
17-
FROM node:22.11.0-bullseye-slim
17+
FROM node:18.17.1-bullseye-slim
1818

1919
RUN apt update \
2020
&& apt -y install \

Dockerfile-debian-rootless

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ RUN pip install yq==${YQ_VERSION}
1111
RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212

1313
# kubectl binary
14-
FROM bitnami/kubectl:1.30.6 as kubectl
14+
FROM bitnami/kubectl:1.27.4 as kubectl
1515

1616
# Main
17-
FROM node:22.11.0-bullseye-slim
17+
FROM node:18.17.1-bullseye-slim
1818

1919
RUN apt update \
2020
&& apt -y install \

Dockerfile-rootless

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ RUN pip install yq==${YQ_VERSION}
1111
RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq)
1212

1313
# kubectl binary
14-
FROM bitnami/kubectl:1.30.6 as kubectl
14+
FROM bitnami/kubectl:1.27.4 as kubectl
1515

1616
# Main
17-
FROM node:22.11.0-alpine3.20
17+
FROM node:18.17.1-alpine3.18
1818

1919
RUN apk --update add --no-cache \
2020
bash \

package.json

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.88.0",
3+
"version": "0.88.1",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,
@@ -32,10 +32,17 @@
3232
"assets": "lib/**/*.hbs"
3333
},
3434
"resolutions": {
35+
"websocket-extensions": "^0.1.4",
36+
"lodash": "^4.17.21",
3537
"json-schema": "^0.4.0",
38+
"ajv": "^6.12.6",
39+
"normalize-url": "^4.5.1",
3640
"ansi-regex": "^5.0.1",
37-
"kubernetes-client/@kubernetes/client-node": ">=0.22.2",
38-
"tough-cookie": "^4.1.3"
41+
"y18n": "^4.0.1",
42+
"shelljs": "^0.8.5",
43+
"codefresh-sdk/swagger-client/qs": "6.9.7",
44+
"kubernetes-client/qs": "6.9.7",
45+
"**/request/qs": "6.5.3"
3946
},
4047
"dependencies": {
4148
"@codefresh-io/docker-reference": "^0.0.5",
@@ -57,7 +64,7 @@
5764
"figlet": "^1.4.0",
5865
"filesize": "^3.5.11",
5966
"firebase": "git+https://github.com/codefresh-io/firebase.git#80b2ed883ff281cd67b53bd0f6a0bbd6f330fed5",
60-
"flat": "^5.0.2",
67+
"flat": "^4.1.1",
6168
"inquirer": "^7.1.0",
6269
"js-yaml": "^3.10.0",
6370
"kefir": "^3.8.1",
@@ -72,7 +79,7 @@
7279
"promise-retry": "^2.0.1",
7380
"recursive-readdir": "^2.2.3",
7481
"request": "^2.88.0",
75-
"request-promise": "^4.2.6",
82+
"request-promise": "^4.2.2",
7683
"requestretry": "^7.0.2",
7784
"rimraf": "^2.6.2",
7885
"semver": "^7.5.4",
@@ -107,6 +114,5 @@
107114
"setupFiles": [
108115
"./test-setup.js"
109116
]
110-
},
111-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
117+
}
112118
}

0 commit comments

Comments
 (0)