-
Notifications
You must be signed in to change notification settings - Fork 38
Cr 15885 split base #769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Cr 15885 split base #769
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
16e6bd3
Update Dockerfile
itai-codefresh ceff9ee
fix build
andrii-codefresh c69979a
Merge remote-tracking branch 'origin/master' into CR-13216
andrii-codefresh 8a0dcf7
bump version
andrii-codefresh fc510f8
Merge remote-tracking branch 'origin/master' into CR-13216
andrii-codefresh 3634104
node 16
andrii-codefresh 1edfefa
fs fix in test
andrii-codefresh 6b4ee1e
update nodejs
andrii-codefresh eaf6562
Merge remote-tracking branch 'origin/master' into CR-13216
andrii-codefresh 652c50b
split Dockerfiles
andrii-codefresh 25490ae
pipeline yaml
andrii-codefresh 79734bd
rename steps
andrii-codefresh 3780e8e
rename steps
andrii-codefresh 0a0192d
switch labels
andrii-codefresh ef9638d
parallel
andrii-codefresh 56d8568
parallel
andrii-codefresh 7df6388
fix candidates
andrii-codefresh 4056d1e
fix candidates
andrii-codefresh d71792c
Merge remote-tracking branch 'origin/master' into CR-15885-split-base
andrii-codefresh 6e2e6e1
Merge remote-tracking branch 'origin/master' into CR-15885-split-base
andrii-codefresh 5ea3e8a
run trigger
andrii-codefresh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# go hub binary | ||
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 | ||
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) | ||
|
||
# Main | ||
FROM node:18.12.1-bullseye-slim | ||
|
||
RUN apt update | ||
RUN apt -y install ca-certificates git curl bash jq busybox && ln -s /bin/busybox /usr/bin/[[ | ||
|
||
COPY --from=go /go/bin/hub /usr/local/bin/hub | ||
COPY --from=yq /tmp/yq /usr/local/bin/yq | ||
|
||
WORKDIR /cf-cli | ||
|
||
COPY package.json /cf-cli | ||
COPY yarn.lock /cf-cli | ||
COPY check-version.js /cf-cli | ||
COPY 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 | ||
|
||
ENTRYPOINT ["codefresh"] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation