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

[do not merge] Enable rebuild triggers #202

Closed
wants to merge 2 commits into from
Closed

Conversation

twaugh
Copy link
Member

@twaugh twaugh commented Aug 9, 2015

This pull request is for enabling rebuild triggers, and should only be merged once all the plug-ins necessary for them to work are configured.

@twaugh
Copy link
Member Author

twaugh commented Aug 10, 2015

Question: do we want 'simple'-type builds to have automated rebuilds, or only 'prod'-type builds?

@twaugh twaugh force-pushed the enable-rebuild-triggers branch 2 times, most recently from 6dbf642 to 705941a Compare August 10, 2015 16:41
@bkabrda
Copy link

bkabrda commented Aug 11, 2015

Originally, I thought we could have autorebuilds for all types of builds, but now I'm starting to see that it may be problematic, cause autorebuilds need a whole bunch of plugins to work etc... I guess noone is actually using simple builds in production, so we may as well drop the autorebuild support for them (and, if someone does want to use them in production, he may as well change the input jsons).

So I'm +1 for dropping autorebuild support in simple builds.

@mmilata
Copy link
Contributor

mmilata commented Aug 11, 2015

Agree with @bkabrda, I don't see a use case for simple builds with autorebuilds.

bkabrda added a commit that referenced this pull request Aug 11, 2015
- set 'use_auth' argument for 'import_image' plugin
- replace '/' by '-' in all imagestream names
- rename autorebuild bits from simple build json (also see #202)
bkabrda added a commit that referenced this pull request Aug 11, 2015
- set 'use_auth' argument for 'import_image' plugin
- replace '/' by '-' in all imagestream names
- rename autorebuild bits from simple build json (also see #202)
@twaugh twaugh force-pushed the enable-rebuild-triggers branch 2 times, most recently from 699d0e8 to 238a82c Compare August 11, 2015 20:28
@twaugh
Copy link
Member Author

twaugh commented Aug 12, 2015

I've updated this so that the bump_release and import_image plugins are removed from prod bulids unless there are triggers present. I think with this change we might be able to merge this (minus the actual trigger JSON) sooner, without needing to wait for all the pieces.

@bkabrda
Copy link

bkabrda commented Aug 13, 2015

Note: this carries some significant changes that should be documented in docs/build_process.md. (notably, I think we should explain why we change git ref in BuildConfig to git branch).

@twaugh
Copy link
Member Author

twaugh commented Aug 13, 2015

Agreed.

I've started separating this into bits that can be merged now and bits that need to wait. #213 is all for bits that are ready now, and once the bump_release plugin in merged in atomic-reactor I'll submit a new PR for enabling/configuring that -- and documenting the branch/commit swap.

Then this PR will be left with just adding the trigger.

@twaugh twaugh force-pushed the enable-rebuild-triggers branch 2 times, most recently from f4cac87 to 5eaf79e Compare August 14, 2015 14:35
@twaugh twaugh force-pushed the enable-rebuild-triggers branch 4 times, most recently from d79c29a to 6ee5659 Compare August 19, 2015 11:52
@twaugh twaugh force-pushed the enable-rebuild-triggers branch 2 times, most recently from 05affc5 to a388407 Compare August 26, 2015 16:39
@TomasTomecek TomasTomecek added this to the Chain rebuilds milestone Sep 3, 2015
@twaugh twaugh force-pushed the enable-rebuild-triggers branch 2 times, most recently from 05cf7d3 to e2609c8 Compare September 30, 2015 16:28
@twaugh twaugh force-pushed the enable-rebuild-triggers branch 3 times, most recently from c42254a to f3d627b Compare November 2, 2015 13:03
@twaugh twaugh force-pushed the enable-rebuild-triggers branch 2 times, most recently from 89e4846 to fb14e07 Compare November 13, 2015 11:07
@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling fb14e07 on projectatomic:enable-rebuild-triggers into ead70c2 on projectatomic:master.

@lcarva
Copy link
Contributor

lcarva commented Jul 24, 2017

@twaugh, given that #640 uses the configuration file in repository to enable autorebuilds, and it's disabled by default, can we safely merge this (after conflicts are resolved)?

@twaugh
Copy link
Member Author

twaugh commented Jul 26, 2017

Yes, seems like that would be safe.

@twaugh
Copy link
Member Author

twaugh commented Dec 20, 2017

Closing in favour of #720.

@twaugh twaugh closed this Dec 20, 2017
@MartinBasti MartinBasti deleted the enable-rebuild-triggers branch August 13, 2019 12:07
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.

None yet

6 participants