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

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

Closed
damienwebdev opened this issue Nov 10, 2020 · 7 comments

Comments

@damienwebdev
Copy link
Member

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.

@damienwebdev
Copy link
Member Author

cc: @YPyltiai

@gamort
Copy link

gamort commented Dec 16, 2020

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.

@damienwebdev
Copy link
Member Author

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

@gamort
Copy link

gamort commented Dec 16, 2020

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

@damienwebdev
Copy link
Member Author

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

@YPyltiai
Copy link
Contributor

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

@damienwebdev
Copy link
Member Author

Closed.

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

3 participants