magento/magento-cloud

[Web UI] Cloud Web UI w/ Github Integration repeats the same environment ad infinitum

damienwebdev opened this issue · 7 comments

Annotation 2020-11-10 092133

Essentially, the title. But, in essence, tons of duplicate tasks become "pending" and the number of these tasks increases the more PRs we add.

Exclude pull requests from your syncs.

See https://devdocs.magento.com/cloud/integrations/github-integration.html

Use --build-pull-requests=false

Note: this same option is available for Bitbucket but it is not listed in the documentation... I guess I should fix that since I noticed.

@gamort what if we WANT to build PRs? I just don't want the duped logs.

You can use integration:update so you don't have to recreate the entire thing:

magento-cloud integration:list
lookup ID

magento-cloud integration:update [ID] --build-pull-requests=false

What I personally would love to see working is: --environments=ENVIRONMENTS. So I can limit it to just the branches master, production, staging, and integration

Oh, so you're saying EVERY PR is re-building every other PRs enviroments?

It looks like a bug to me though - let me send it over to the team to look why this happens.

Closed.