-
Notifications
You must be signed in to change notification settings - Fork 20
[APIE-627] Add Muckrake Check to pipeline #3198
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
Open
cqin-confluent
wants to merge
20
commits into
main
Choose a base branch
from
APIE-627
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f8873df
Add build with Docker image and s3 upload
cqin-confluent e7ddbcc
Update Dockerfile_muckrake
cqin-confluent 4e2f38d
Fix error
cqin-confluent 2edca7e
Fix error
cqin-confluent f0f6f6b
Fix error
cqin-confluent a30f6ff
Fix error
cqin-confluent 50c0890
Fix error
cqin-confluent 573c988
Fix error
cqin-confluent 53028a3
Fix Test linux/amd64 error
cqin-confluent b528cc0
Fix Muckrake Check linux/amd64 error
cqin-confluent 28dc79a
Fix Muckrake Check linux/amd64 error
cqin-confluent 71a07a9
Remove docker ecr blob
cqin-confluent ca8cc5b
Nit
cqin-confluent 35b947b
Nit
cqin-confluent d1124ca
Improve BUILD_ID
cqin-confluent 31afec2
generate packaging patch
sgagniere ecac0bc
Update to use stag AWS S3 bucket and separate main & feature branch t…
cqin-confluent 2e0194a
Revert to use prod AWS S3 bucket
cqin-confluent 7e1d58e
Fix typo
cqin-confluent c1a9aaa
make generate packaging patch
sgagniere 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| ARG GOOS=linux | ||
| ARG GOARCH=amd64 | ||
|
|
||
| FROM almalinux:8.10 | ||
|
|
||
| ARG GOOS | ||
| ARG GOARCH | ||
|
|
||
| SHELL ["/bin/bash", "-c"] | ||
|
|
||
| RUN yum -y update && \ | ||
| yum -y install make git wget gcc-toolset-9 && \ | ||
| scl enable gcc-toolset-9 bash | ||
|
|
||
| COPY . /workspace/ | ||
|
|
||
| RUN cd /workspace/ && \ | ||
| set -ex && \ | ||
| export GO_VERSION=$(cat .go-version) && \ | ||
| if [ "${GOARCH}" = "amd64" ]; then \ | ||
| wget "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" && \ | ||
| tar -C /usr/local -xzf "go${GO_VERSION}.linux-amd64.tar.gz"; \ | ||
| elif [ "${GOARCH}" = "arm64" ]; then \ | ||
| wget "https://go.dev/dl/go${GO_VERSION}.linux-arm64.tar.gz" && \ | ||
| tar -C /usr/local -xzf "go${GO_VERSION}.linux-arm64.tar.gz"; \ | ||
| fi && \ | ||
| export PATH=${PATH}:/usr/local/go/bin:/root/go/bin && \ | ||
| go mod download && \ | ||
| go mod verify && \ | ||
| mkdir -p dist/confluent_${GOOS}_${GOARCH} && \ | ||
| COMMIT_SHA=$(git rev-parse --short HEAD 2>/dev/null || echo "dev") && \ | ||
| BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) && \ | ||
| echo "Building Confluent Development CLI for ${GOOS}/${GOARCH}" && \ | ||
| echo " Commit: ${COMMIT_SHA}" && \ | ||
| echo " Date: ${BUILD_DATE}" && \ | ||
| CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build \ | ||
| -ldflags="-s -w -X main.commit=${COMMIT_SHA} -X main.date=${BUILD_DATE}" \ | ||
| -o dist/confluent_${GOOS}_${GOARCH}/confluent \ | ||
| ./cmd/confluent && \ | ||
| ls -lh dist/confluent_${GOOS}_${GOARCH}/confluent && \ | ||
| echo "✅ Build completed successfully" | ||
|
|
||
| WORKDIR /workspace | ||
|
|
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.
Uh oh!
There was an error while loading. Please reload this page.