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

Create run-make-cmd.sh #2046

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

code-elinka
Copy link
Contributor

It is hard to run an image with multiple commands inside a python script (example: https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml) because it will be presented not like:

scrupt.py $(cmd1 && cmd2 && cmd3)

but:

script.py cmd1 && cmd2 && cmd3

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 29, 2023
@k8s-ci-robot k8s-ci-robot requested review from aojea and MrHohn March 29, 2023 19:34
@code-elinka
Copy link
Contributor Author

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 29, 2023
@code-elinka
Copy link
Contributor Author

/test pull-ingress-gce-e2e

@aojea
Copy link
Member

aojea commented Mar 30, 2023

/assign @gauravkghildiyal

@k8s-ci-robot
Copy link
Contributor

@aojea: GitHub didn't allow me to assign the following users: gauravkghildiyal.

Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @gauravkghildiyal

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@gauravkghildiyal gauravkghildiyal left a comment

Choose a reason for hiding this comment

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

Thanks Elina!

I just have a few questions which need clarification.

hack/run-make-cmd.sh Show resolved Hide resolved
hack/run-make-cmd.sh Outdated Show resolved Hide resolved
hack/run-make-cmd.sh Outdated Show resolved Hide resolved

make build CONTAINER_BINARIES="${BINARY}"
make all-push VERBOSE="${VERBOSE}" CONTAINER_BINARIES="${BINARY}" REGISTRY="${REGISTRY}" ALL_ARCH="${ALL_ARCH}"
make push VERBOSE="${VERBOSE}" CONTAINER_BINARIES="${BINARY}" REGISTRY="${REGISTRY}"
Copy link
Member

Choose a reason for hiding this comment

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

I don't know this but would like you to confirm -- does "all-push" not include "push"? Or you have something else in mind because of which you want both?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure.
make push - pushes images:

  • gcr.io/k8s-ingress-image-push/ingress-gce-e2e-test-amd64
  • gcr.io/k8s-ingress-image-push/ingress-gce-e2e-test-arm64

And make all-push, combines those images into one manifest and pushes an multiarch image:

  • gcr.io/k8s-ingress-image-push/ingress-gce-e2e-test

@aojea JFYI 🤸‍♀️

Copy link
Member

Choose a reason for hiding this comment

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

Oh it makes sense now. I didn't know this. Yes we should have both. Thanks!

@code-elinka code-elinka force-pushed the run-make branch 2 times, most recently from be3bd22 to 74ef968 Compare March 30, 2023 20:45
@gauravkghildiyal
Copy link
Member

Looks good to me now. Thanks @code-elinka

@code-elinka
Copy link
Contributor Author

/assign @aojea
/assign @swetharepakula

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 31, 2023
@code-elinka code-elinka requested a review from aojea March 31, 2023 14:12
@panslava
Copy link
Contributor

panslava commented Apr 3, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 3, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: code-elinka, panslava

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 3, 2023
@k8s-ci-robot k8s-ci-robot merged commit d772246 into kubernetes:master Apr 3, 2023
@code-elinka code-elinka deleted the run-make branch April 3, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants