-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 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.
- Loading branch information
1 parent
a8af20c
commit 04b5e0a
Showing
7 changed files
with
2,309 additions
and
2,679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v22.11.0 | ||
v18.17.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
# go hub binary | ||
FROM golang:alpine AS go | ||
FROM golang:alpine as go | ||
RUN apk --update add ca-certificates git | ||
RUN go install github.com/github/hub@latest | ||
|
||
# python yq binary | ||
FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 AS yq | ||
FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4 as yq | ||
ARG YQ_VERSION=2.10.0 | ||
ENV PATH="/pyinstaller:$PATH" | ||
RUN pip install yq==${YQ_VERSION} | ||
RUN pyinstaller --noconfirm --onefile --log-level DEBUG --clean --distpath /tmp/ $(which yq) | ||
|
||
# kubectl binary | ||
FROM bitnami/kubectl:1.30.6 AS kubectl | ||
FROM bitnami/kubectl:1.27.4 as kubectl | ||
|
||
# Main | ||
FROM node:22.11.0-alpine3.20 | ||
FROM node:18.17.1-alpine3.18 | ||
|
||
RUN apk --update add --no-cache \ | ||
bash \ | ||
ca-certificates \ | ||
curl \ | ||
git \ | ||
jq | ||
|
||
COPY --from=go /go/bin/hub /usr/local/bin/hub | ||
COPY --from=yq /tmp/yq /usr/local/bin/yq | ||
COPY --from=kubectl /opt/bitnami/kubectl/bin/kubectl /usr/local/bin/ | ||
|
||
WORKDIR /cf-cli | ||
|
||
COPY package.json yarn.lock check-version.js run-check-version.js /cf-cli/ | ||
|
||
RUN yarn install --prod --frozen-lockfile && \ | ||
yarn cache clean | ||
|
||
COPY . /cf-cli | ||
|
||
RUN yarn generate-completion | ||
|
||
RUN ln -s $(pwd)/lib/interface/cli/codefresh /usr/local/bin/codefresh | ||
RUN codefresh components update --location components | ||
|
||
RUN codefresh components update --location components | ||
ENTRYPOINT ["codefresh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.