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 create a new scratch org but use the previously created #57

Open
fprovot opened this issue Nov 21, 2023 · 4 comments
Open

Do not create a new scratch org but use the previously created #57

fprovot opened this issue Nov 21, 2023 · 4 comments

Comments

@fprovot
Copy link

fprovot commented Nov 21, 2023

Each run of rupertbarrow/cumulus-action-run-flow-scratch create a new scratch org, while it should reuse the one created at the first run . (even with version "6-make-deletion-of-scratch-org-optionnal" , and even when removing the Delete Scratch Org step, that is then indeed not executed, so nothing in the logs do a delete scratch org)

Comment from Jason Lantz

"
Where are you running the ci_feature flow? I'm guessing you're using the cumulus-actions reusable workflows for GitHub Actions? If so, rewiring how those work can involve forking a lot of different repositories to get all the layers to where you can change how they work together.

From your logs, wherever you are running ci_feature from doesn't seem to have a release_eu scratch org created in its keychain which is why it tries to create one. CumulusCI's scratch orgs are more like a lazy profile to create an org. When you try to run something against them, they wake up and reuse an existing scratch org if one exists and if not will spin up a scratch org.

There's nothing in any of the CumulusCI flows that will delete a scratch org so that must be coming from a build script of some kind.
"

See https://trailhead.salesforce.com/fr/trailblazer-community/feed/0D54V00007QfDN0SAN

@fprovot
Copy link
Author

fprovot commented Nov 24, 2023

@RupertBarrow This strange problem is annoying

@RupertBarrow
Copy link
Owner

Fred,
Please share some logs or pointer to a workflow run.

@fprovot
Copy link
Author

fprovot commented Nov 24, 2023

Last Example
1 hour ago https://github.com/Flowbird-Corp/MAP_CSU/actions/runs/6982670189/job/19002290292
next run now : https://github.com/Flowbird-Corp/MAP_CSU/actions/runs/6983268286
(not sure the second will not fail because it may wait for another running action and the branch may be closed too soon...)

@fprovot
Copy link
Author

fprovot commented Nov 24, 2023

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

2 participants