Skip to content
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

feat: copa-action initial #1

Merged

Conversation

ashnamehrotra
Copy link
Contributor

@ashnamehrotra ashnamehrotra commented Jun 13, 2023

Initial PR for copa github action integration.

@ashnamehrotra ashnamehrotra changed the title copa-action initial feat: copa-action initial Jun 13, 2023
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
entrypoint.sh Outdated Show resolved Hide resolved
@ashnamehrotra ashnamehrotra force-pushed the copa-action-initial branch 4 times, most recently from a3d6523 to afea456 Compare June 13, 2023 21:28
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
entrypoint.sh Outdated Show resolved Hide resolved
action.yaml Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
entrypoint.sh Outdated Show resolved Hide resolved
Signed-off-by: ashnamehrotra <[email protected]>
@ashnamehrotra ashnamehrotra force-pushed the copa-action-initial branch 3 times, most recently from ccc99b0 to f247bcd Compare August 3, 2023 21:30
Signed-off-by: ashnamehrotra <[email protected]>
Signed-off-by: ashnamehrotra <[email protected]>
Signed-off-by: ashnamehrotra <[email protected]>
@ashnamehrotra ashnamehrotra force-pushed the copa-action-initial branch 2 times, most recently from e5a2f40 to a39252e Compare August 4, 2023 16:36
Signed-off-by: ashnamehrotra <[email protected]>

- name: Bats Test
run: |
docker run --net=host --detach --rm --privileged -p 127.0.0.1:8888:8888 --name buildkitd --entrypoint buildkitd moby/buildkit:v0.12.0 --addr tcp://0.0.0.0:8888
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make buildkit version an env so it'll be easier to update

entrypoint.sh Outdated
old_tag=$(echo "$image" | cut -d':' -f2)

# new patched image tag
new_tag="$old_tag$patched_tag"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think about just specifying a new tag instead of appending? this way user can specify anything

test/test.bats Outdated Show resolved Hide resolved
@sozercan
Copy link
Member

sozercan commented Aug 4, 2023

@ashnamehrotra thanks! added a few minor comments/questions, otherwise LGTM

Signed-off-by: ashnamehrotra <[email protected]>
Signed-off-by: ashnamehrotra <[email protected]>
Signed-off-by: ashnamehrotra <[email protected]>
Signed-off-by: ashnamehrotra <[email protected]>
Copy link
Member

@sozercan sozercan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM

@ashnamehrotra ashnamehrotra merged commit 449098d into project-copacetic:main Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants