You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Enhance testing on a github branch #525
Travis makes it easy to run tests against new branches in github. Currently in Concourse, I would have to update the resource on my pipeline, reset the pipeline configuration, and remember to set it back to the original branch when I'm done.
On Travis, I can push up a new commit to my branch and it automatically kicks off a build to run tests against the newly created branch.
There's a related resource I want to make, git-branch-heads, which monitors HEAD of all branches and emits a version for each branch that changed. Then you can use {version: every} to run things across all branches, Travis-style.
The git-branches resource is more useful for the more heavyweight flow of automating entire pipelines. But if all you want is to run some unit tests across all branches, the git-branch-heads resource would be what you want.
Reacted by Chad Woolley, Roman Belyakovsky and Alvaro Pinot @alvaropinot
Activity
concourse-bot commentedon Jul 11, 2016
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
bendodd commentedon Jul 11, 2016
@youreddy Perhaps this might be of use? https://github.com/jtarchie/pullrequest-resource Even if just the basis to create your own branch resource?
xoebus commentedon Jul 11, 2016
I don't know if @vito is ready to unleash it on the world but: https://github.com/vito/git-branches-resource is pretty legit.
vito commentedon Jul 12, 2016
There's a related resource I want to make,
git-branch-heads, which monitorsHEADof all branches and emits a version for each branch that changed. Then you can use{version: every}to run things across all branches, Travis-style.The
git-branchesresource is more useful for the more heavyweight flow of automating entire pipelines. But if all you want is to run some unit tests across all branches, thegit-branch-headsresource would be what you want.jtarchie commentedon Jul 13, 2016
git-branch-headslike it. Let me take a look.vito commentedon Jul 13, 2016
Consolidating discussion into #239 - thanks for the feedback though!