jenkins-infra / ircbot Goto Github PK
View Code? Open in Web Editor NEWJenkins IRCbot
Home Page: https://jenkins.io/projects/infrastructure/ircbot/
License: MIT License
Jenkins IRCbot
Home Page: https://jenkins.io/projects/infrastructure/ircbot/
License: MIT License
To check whether a user is added to a repository but not in a team, we could make use of GHRepository#listCollaborators() to obtain a list of all members added to a specific repository.
Looking at IRCBot pod logs, I've noticed they aren't timestamped.
Could timestamps be added to the logs?
Every build fails at the moment, because executing the build logic provided by the makefile attempts to deploy the image to the docker hub: https://ci.jenkins.io/job/Infra/job/ircbot/job/main/14/
Maybe we can outsource the logic to the Jenkinsfile and use a isInfra()
condition to check, whether the pipeline is executed on ci.j or infra.ci.j. Depending on the result, the pipeline deploys the image to the docker hub. There's no need to attempt that on ci.j, given we can't deploy from there.
For comparison, the build succeeds on infra.ci: https://infra.ci.jenkins.io/job/docker-jobs/job/ircbot/job/main/
docker-account-app
or amend infra.ci's config )
Jenkinsfile
to Jenkinsfile_k8s
Only tests will need an update, the dependencies to build the project should support Java 11 and 17 out of the box.
Although, powermock doesn't support JUnit 5, but we can probably get a rid of it and use mockito 4 with JUnit or hamcrest assertion.
This could just be an extension of the existing command that allows for a comma separated list and iterates over the repos.
I believe it's because of jira / github issues support being added, currently you need to specify:
https://github.com/jenkins-infra/ircbot/blob/master/src/main/java/org/jenkinsci/backend/ircbot/IrcListener.java#L184
Either docs or bot should be updated to reflect https://www.jenkins.io/projects/infrastructure/ircbot/
While picking up jenkins-infra/repository-permissions-updater#3024 with the syntax outlined in the documentation, I wasn't able to add Mark to multiple repositories at once.
Looking at the first 2 bot responses, it appears that only one parameter is considered at a time.
No idea what happened after the third time, I guess the bot gone crazy.
I attempted to change and remove a component's default assignee with the bot commands, but the assignee wasn't updated on Jira's end
The component is still assigned to someone else, neither the person specified, nor unassigned: https://issues.jenkins.io/projects/JENKINS?selectedItem=com.atlassian.jira.jira-projects-plugin:components-page&contains=oracle-cloud-infra&isActivePressed=true
The current deployment instructions for the ircbot don't seem to be correct (e.g., there is no longer a helm chart for it?). It would be good for someone with the information to update the deployment instructions area of the README.md if there is anything that needs to be done to get the updated bot deployed. If there are no longer any manual steps that need to happen, it would be good to remove the deployment instructions from the README.md
@slide Am I using this wrong?
According to the docs, this should be the correct syntax, no? https://www.jenkins.io/projects/infrastructure/ircbot/#github-repo-management
It may be handy to have a command to add or remove topics from a GitHub repository.
Example of use case: jenkins-infra/helpdesk#2088 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.