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

[Feature] Clone branch configurations #22

Closed
SandroMachado opened this issue Feb 1, 2019 · 24 comments
Closed

[Feature] Clone branch configurations #22

SandroMachado opened this issue Feb 1, 2019 · 24 comments
Assignees
Labels
build Related to App Center's Build service feature request New feature request keep Keeps an issue open if it's building interest

Comments

@SandroMachado
Copy link

What App Center service does this feature apply to?
Build system

Describe the solution you'd like
We should be able to copy build configurations to other branches.

Additional context
Every time we want to create a build from a branch, we need to copy all the configurations. The objective of this feature is to simplify this process.

@joemellin joemellin added feature request New feature request build Related to App Center's Build service labels Feb 1, 2019
@nilofer
Copy link

nilofer commented Feb 1, 2019

Hi @SandroMachado, thanks for this feature request! We aim to make the process as simple for you as possible, and this could definitely help. We'll keep this issue open to track total interest in this ability.

@hitmanmcc
Copy link

Can we please make this happen? It's a useful feature!

@patniko patniko added the keep Keeps an issue open if it's building interest label Feb 6, 2019
@adcuz
Copy link

adcuz commented Feb 9, 2019

This would be very useful, currently it is really difficult when you have many environment variables. I have resorted to building a tool dedicated to mass-updating them via the API.

@struct78
Copy link

struct78 commented Feb 11, 2019

+1

Being able to automatically clone configuration based off a feature branch's parent would be good too.

@RWOverdijk
Copy link

Yes please, this would be really nice. Feature builds are near impossible without configuring each branch now.

I haven't tried this yet but I think it should be possible using these two APIs:

@patniko
Copy link
Contributor

patniko commented Feb 15, 2019

The issue with those API's are the missing secrets @RWOverdijk. We need to do some work on our end to allow you to clone the configs with secrets, certificate, provisioning profiles, keystores, etc intact.

@RWOverdijk
Copy link

RWOverdijk commented Feb 16, 2019 via email

@armyofmarkness
Copy link

Being able to clone build configurations would be very useful.

@patniko
Copy link
Contributor

patniko commented Feb 25, 2019

Adding this to next months iteration plan so we can start designing a proper solution for this.

@patniko patniko added this to the Backlog milestone Feb 25, 2019
@ogezue
Copy link

ogezue commented Mar 4, 2019

On buddy build there is a default configuration that is applied automatically. Developers can override it if needed.
Please copy every feature of buddybuild as this has been the best mobile ci/cd on the market (feedback by screenshot, ...)

@RWOverdijk
Copy link

Yes. I second that. But, buddybuild has betrayed us all. Leave out the betrayal bit when cloning features.

I cri evrytim :(

@chrisheninger
Copy link

From what I've been building– the biggest pain point has been needing to re-upload the provisioning profile, certificates, or keystore each time I want to deploy a new branch.

If cloning branch configurations will also pull the signing info over– this feature will be amazing. 🙏

@appfabtech
Copy link

Yes. I second that. But, buddybuild has betrayed us all. Leave out the betrayal bit when cloning features.

I cri evrytim :(

Don't tell me, I met them in october 2017 in Verona for #pragmamark conference. And they convinced me to move on their platform. And they assured me they would never sell...
They already sold to apple.

@nilofer
Copy link

nilofer commented Mar 30, 2019

Added a PR for our initial proposal for this feature - leave any feedback you have on this experience!

@yyou
Copy link

yyou commented Apr 9, 2019

Instead of implementing something "copying settings from another build configuration" in the build configuration UI (if my understanding is correct), how about create a new UI for users (mainly developer) to maintain a list of build configurations. User can create / edit / delete / copy-from-another a build configuration in this UI. then in the current branch list UI, we don't need to open the build configuration by clicking the small icon at the right side. We just "link" the branch with a build configuration by selecting a build configuration from a drop-down list.

@RWOverdijk
Copy link

@yyou take a look at the proposal pr and the comments. I share your opinion and it's written down there already.

@jjhampton
Copy link

I agree with @yyou 's comment - it would be useful if build configurations were not strongly coupled to branches.

@dgobaud
Copy link

dgobaud commented Apr 29, 2019

👍 really need this!

@marstall
Copy link

marstall commented May 1, 2019

or configure builds via a file checked into your repo, a la chef?

@RWOverdijk
Copy link

@marstall There are passwords involved. Please don't put that in your repository.

@marstall
Copy link

marstall commented May 1, 2019

@RWOverdijk - agreed. recommend using ENV vars for sensitive stuff like that. there are more advanced ways - see chef data bags, ansible vault ... worth a dive.

@abdeweese
Copy link

or configure builds via a file checked into your repo, a la chef?

This is the answer. I just created a similar feature request here:
#437

@piterwilson
Copy link

Decoupling configurations from branches would be amazing. At the moment i am "cloning" (via branchConfigurations_get and branchConfigurations_create ) from my develop branch but it seems somehow less than ideal. Configurations could be their own thing, which can be applied to branches.

@nilofer
Copy link

nilofer commented May 30, 2019

We have shipped the ability to clone existing branch configurations today! Take a look at our documentation for more info. Happy building!
bitmoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to App Center's Build service feature request New feature request keep Keeps an issue open if it's building interest
Projects
None yet
Development

No branches or pull requests