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

Triggering build with tag triggers branch instead of tag build #298

Open
jerr0328 opened this issue Mar 21, 2019 · 0 comments
Open

Triggering build with tag triggers branch instead of tag build #298

jerr0328 opened this issue Mar 21, 2019 · 0 comments

Comments

@jerr0328
Copy link
Contributor

jerr0328 commented Mar 21, 2019

Describe the bug
When manually triggering a build with a tag on master, Infrabox ran a master branch build instead of a tag build, where the tag was not in the environment variable.

To Reproduce
Steps to reproduce the behavior:

  1. It's likely that we saw this when we had an outage during the initial tagging, so assume that a tag happened while github hooks weren't working. I have not verified that this happens all the time or not.
  2. Go to the project where you have a tag
  3. Click on "Trigger Build"
  4. Put the tag name in "Branch or Sha"
  5. Notice that the build is running for the master branch.

Expected behavior
I would expect a tag build to be run with that tag ref, as I would need to trigger a tag build if the webhook failed.

Additional context
Using Infrabox build_1859

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

No branches or pull requests

1 participant