Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Auto-run labels-and-milestones and roadmap-generator on commit #240

Closed
flyingzumwalt opened this issue Feb 7, 2017 · 3 comments
Closed

Comments

@flyingzumwalt
Copy link

flyingzumwalt commented Feb 7, 2017

This would satisfy ipfs/team-mgmt#257, ipfs/team-mgmt#237 and ipfs/team-mgmt#362

See those issues for explanation of why we need this.

Given

  • we have chosen a location where the labels-and-milestones and roadmap-generator config files live (probably ipfs/pm/tools)
  • we have added copies of the labels-and-milestones script and the roadmap-generator script to that repository

Then

  • Configure a task runner that has write access to all of the repos referenced in any of those config files

And Then

  • When someone commits a change to one of those config files, the task runner automatically re-runs the labels-and-milestones sync command (probably triggered by CI server)
  • And the task runner reports the output from the command (in case something went wrong) - preferably in the CI server
  • And the task runner re-generates the "roadmap.md" with roadmap-generator script
  • And the task runner pushes the resulting project-specific "roadmap.md" to the repo where we're storing those files (probably ipfs/pm)

Example code:

@flyingzumwalt flyingzumwalt changed the title Auto-run labels-and-milestones on commit Auto-run labels-and-milestones and roadmap-generator on commit Feb 7, 2017
@flyingzumwalt
Copy link
Author

@victorbjelkholm is this something we can set up with jenkins?

@Kubuxu
Copy link
Member

Kubuxu commented Feb 7, 2017

It might be easier with simple git hook and and running the script in dokku but I am not sure.

@ghost ghost added the tools label Feb 27, 2017
@ghost
Copy link

ghost commented Feb 27, 2017

I think we can use the github-integrated bot that @dignifiedquire wrote the other day as a base for this. And maybe run it off a cloud.ipfs.team "clone" on a trusted machine.

@ghost ghost added the ready label Mar 1, 2017
@ghost ghost removed the ready label Apr 14, 2017
@eefahy eefahy removed the tools label Aug 10, 2018
@eefahy eefahy closed this as completed Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants