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

GitHub app auth #21

Merged
merged 3 commits into from
Jan 13, 2022
Merged

GitHub app auth #21

merged 3 commits into from
Jan 13, 2022

Conversation

timja
Copy link
Member

@timja timja commented Jan 12, 2022

  • Bump node version
  • GitHub app auth
  • Use GitHub checks instead of commit status

(Need to update infra first before merging to have the secrets etc)

Tested in:

Fixes #3
Fixes #4
Fixes jenkins-infra/helpdesk#2426

@timja timja added the enhancement New feature or request label Jan 12, 2022
@timja timja requested review from halkeye and jglick January 12, 2022 21:51
target_url,
description: 'Deployed to Incrementals.',
context: 'continuous-integration/jenkins/incrementals'
name: 'Incrementals',
Copy link
Member

Choose a reason for hiding this comment

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

this also looks like a change. Your changing from a commit status to a check?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, so I can get multi modules giving all links, was horrid UX for jenkins core before and others you had to replace the first modules artifact id with the one you wanted in the URL, it never got the hpi / war

Copy link
Collaborator

Choose a reason for hiding this comment

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

I had filed an issue to this effect somewhere. Maybe only jenkins-infra/helpdesk#2426.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Member

@halkeye halkeye left a comment

Choose a reason for hiding this comment

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

lgtm

@timja timja merged commit 8b96e2a into jenkins-infra:master Jan 13, 2022
@timja timja deleted the github-app branch January 13, 2022 08:10
Copy link
Collaborator

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Nice!

target_url,
description: 'Deployed to Incrementals.',
context: 'continuous-integration/jenkins/incrementals'
name: 'Incrementals',
Copy link
Collaborator

Choose a reason for hiding this comment

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

I had filed an issue to this effect somewhere. Maybe only jenkins-infra/helpdesk#2426.

conclusion: 'success',
details_url: entries[0].url,
output: {
title: 'Deployed to Incrementals',
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if we should pick text that is more self-descriptive for people who do not already know what this means? Somehow indicating that this snapshot-ish build is available for download or consumption from Maven in draft PRs, linking to jenkins.io docs, etc.

details_url: entries[0].url,
output: {
title: 'Deployed to Incrementals',
summary: entries.map(entry => `- [${entry.artifactId}](${entry.url})`).join('\n')
Copy link
Collaborator

Choose a reason for hiding this comment

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

And a good follow-up would be to show

<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>stuff</artifactId>
    <version>1.2-rcdead1234beef</version>
</dependency>

Copy link
Member

@lemeurherve lemeurherve Feb 10, 2024

Choose a reason for hiding this comment

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

Addressed in #83 & #84

image

@timja
Copy link
Member Author

timja commented Jan 13, 2022

FTR this is deployed but since the security release yesterday I haven't had a single pipeline build work, jenkins-infra/helpdesk#2733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants