Skip to content

adding support for GH Actions#587

Open
vijay-vin wants to merge 5 commits intoIBM:mainfrom
vijay-vin:jenkinsPR-preview
Open

adding support for GH Actions#587
vijay-vin wants to merge 5 commits intoIBM:mainfrom
vijay-vin:jenkinsPR-preview

Conversation

@vijay-vin
Copy link
Copy Markdown

Added support for pr-preview GHA
Also fixed icr.io and registry.redhat.io podman login.
sending jenkins short job name as a parameter to queue_poller.sh script

Comment thread pr-preview/Jenkinsfile Outdated
@vijay-vin
Copy link
Copy Markdown
Author

@adarshagrawal38 , @iv1111 I will add the GHA code for the pr-preview via another PR so that it is easy to test once this PR is merged.

Comment thread pr-preview/Jenkinsfile Outdated
Comment thread pr-preview/Jenkinsfile Outdated
Comment thread pr-preview/Jenkinsfile Outdated
Comment thread pr-preview/Jenkinsfile Outdated
Signed-off-by: Vijayv <vijay.vinnakota@ibm.com>
Signed-off-by: Vijayv <vijay.vinnakota@ibm.com>
@vijay-vin vijay-vin force-pushed the jenkinsPR-preview branch from de1b59c to 061dba8 Compare April 6, 2026 16:22
Comment thread pr-preview/Jenkinsfile Outdated
Comment thread pr-preview/Jenkinsfile Outdated
Comment thread pr-preview/Jenkinsfile Outdated
Comment thread hack/cicd/pr-preview/Jenkinsfile
Comment thread pr-preview/Jenkinsfile Outdated
Comment thread hack/cicd/pr-preview/Jenkinsfile
@vijay-vin
Copy link
Copy Markdown
Author

@adarshagrawal38
I also noticed that I can refactor icrLogin and redHatRegistryLogin definitions into a single definition that can be used for any repo login. I will do the refactoring later, in a different PR. I want to get the current PR and the GHA PR done, so that we have something running on our main repo. Then I can focus on refactoring. Just wanted to let you know.

Signed-off-by: Vijayv <vijay.vinnakota@ibm.com>
Signed-off-by: Vijayv <vijay.vinnakota@ibm.com>
@adarshagrawal38
Copy link
Copy Markdown
Member

@vijay-vin please move pr-preview folder to hack/cicd

Comment thread hack/cicd/pr-preview/Jenkinsfile
Signed-off-by: Vijayv <vijay.vinnakota@ibm.com>
@vijay-vin
Copy link
Copy Markdown
Author

Yes, moved pr-preview folder to hack/cicd

}
// Start queue poller to detect and abort duplicate builds
withCredentials([usernamePassword(
credentialsId: 'jenkins-api',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please update the credential ID, this one is personal and will be removed.

Suggested change
credentialsId: 'jenkins-api',
credentialsId: 'FUN_API_KEY',

Copy link
Copy Markdown
Member

@adarshagrawal38 adarshagrawal38 left a comment

Choose a reason for hiding this comment

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

LGTM

cc: @iv1111 PTAL for approval

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.

2 participants