Skip to content

Crier slack reporter: use pointers for merging configs#22693

Merged
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
chaodaiG:slack-override-from-job
Jul 1, 2021
Merged

Crier slack reporter: use pointers for merging configs#22693
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
chaodaiG:slack-override-from-job

Conversation

@chaodaiG
Copy link
Copy Markdown
Contributor

This makes slack configuration using the same defaulting logic as other prow configurations. Will allow negating global slack configuration in job config.

@k8s-ci-robot k8s-ci-robot added area/prow Issues or PRs related to prow area/prow/crier Issues or PRs related to prow's crier component cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 24, 2021
@chaodaiG chaodaiG force-pushed the slack-override-from-job branch from 34989c2 to 0a6f12e Compare June 24, 2021 16:30
@chaodaiG
Copy link
Copy Markdown
Contributor Author

/cc @cjwagner @alvaroaleman
cc @howardjohn

Comment thread prow/apis/prowjobs/v1/types.go
Comment thread prow/config/config.go Outdated
Comment thread prow/apis/prowjobs/v1/types.go Outdated
Comment thread prow/apis/prowjobs/v1/types.go Outdated
Copy link
Copy Markdown
Member

@cjwagner cjwagner left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this up Chao, this seems much better than the previous config handling.

Comment thread prow/apis/prowjobs/v1/types.go Outdated
Comment thread prow/crier/reporters/slack/reporter.go Outdated
Comment thread prow/config/config.go
Comment thread prow/crier/reporters/slack/reporter_test.go Outdated
@chaodaiG chaodaiG force-pushed the slack-override-from-job branch from 0a6f12e to 72fb361 Compare June 24, 2021 20:16
Copy link
Copy Markdown
Contributor Author

@chaodaiG chaodaiG left a comment

Choose a reason for hiding this comment

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

Updated

Comment thread prow/apis/prowjobs/v1/types.go
Comment thread prow/config/config.go
@chaodaiG chaodaiG force-pushed the slack-override-from-job branch from 72fb361 to a2ee847 Compare June 24, 2021 20:26
@chaodaiG chaodaiG force-pushed the slack-override-from-job branch from a2ee847 to 09827e9 Compare June 24, 2021 20:28
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 1, 2021
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chaodaiG, cjwagner

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

The pull request process is described here

Details 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

@chaodaiG
Copy link
Copy Markdown
Contributor Author

chaodaiG commented Jul 1, 2021

I don't think I have touched this test
/retest

@k8s-ci-robot k8s-ci-robot merged commit 22d4bab into kubernetes:master Jul 1, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone Jul 1, 2021
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/prow/crier Issues or PRs related to prow's crier component area/prow Issues or PRs related to prow 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/testing Categorizes an issue or PR as relevant to SIG Testing. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants