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

use standard image pushing job #29371

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

aojea
Copy link
Member

@aojea aojea commented Apr 26, 2023

remove the old postubmit job that is not working and use the standardized job to push images using cloudbuild

https://github.com/kubernetes/test-infra/tree/master/config/jobs/image-pushing#image-pushing-jobs

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 26, 2023
@aojea
Copy link
Member Author

aojea commented Apr 26, 2023

/assign @code-elinka

@k8s-ci-robot k8s-ci-robot requested review from cadmuxe and dims April 26, 2023 12:24
@k8s-ci-robot k8s-ci-robot added area/config Issues or PRs related to code in /config area/jobs sig/network Categorizes an issue or PR as relevant to SIG Network. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Apr 26, 2023
remove the old postubmit job that is not working and use the
standardized job to push images using cloudbuild

Change-Id: I752e120c662453eecc2e38778fb6c83668ccbc67
@aojea aojea force-pushed the ingress-gce-images branch from f2f8761 to 2dddd85 Compare April 26, 2023 12:41
Copy link
Contributor

@code-elinka code-elinka left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -0,0 +1,27 @@
postsubmits:

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: do we need this line?

Copy link
Member Author

Choose a reason for hiding this comment

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

it can go both ways, is an style thing at this point

- --project=k8s-ingress-image-push
- --scratch-bucket=gs://k8s-ingress-image-push-gcb
- --env-passthrough=PULL_BASE_REF
- --with-git-dir
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need git log/tag history or is it just in case it will be needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

in case we need it

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 26, 2023
- .
env:
- name: LOG_TO_STDOUT
value: "y"
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't add REGISTRY just because it's a part of building yaml in ingress-gce repo?

Copy link
Member Author

Choose a reason for hiding this comment

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

right, is not that we are going to push to a different registry, so I prefer to keep all the config in the repo

@aojea
Copy link
Member Author

aojea commented Apr 26, 2023

I need approval here
/assign @dims @ameukam @BenTheElder

@ameukam
Copy link
Member

ameukam commented Apr 26, 2023

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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 26, 2023
@k8s-ci-robot k8s-ci-robot merged commit 7053731 into kubernetes:master Apr 26, 2023
@k8s-ci-robot
Copy link
Contributor

@aojea: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

  • key k8s-staging-ingress-gce.yaml using file config/jobs/image-pushing/k8s-staging-ingress-gce.yaml
  • key ingress-gce-e2e.yaml using file config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml

In response to this:

remove the old postubmit job that is not working and use the standardized job to push images using cloudbuild

https://github.com/kubernetes/test-infra/tree/master/config/jobs/image-pushing#image-pushing-jobs

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.

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. area/config Issues or PRs related to code in /config area/jobs 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. sig/network Categorizes an issue or PR as relevant to SIG Network. sig/testing Categorizes an issue or PR as relevant to SIG Testing. 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