-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Improve clean up of .ci-temp directory #7892
Comments
@nmancus1 Please start when you are ready. |
Please send update to verify that folder is empty. So we will not come back to this issue again. |
I can run all others locally and verify that the folder is empty, but I cannot get sonarqube to complete with the token I've generated, unless I'm doing something wrong:
So, add a test for Maven to run locally, right? |
Please ignore sonarqube, send PR with validation enforcement, we will see what is left not fixed |
@nmancus1
When wercker runs, it is using the same workspace between items in the same PR CI job. A file you save for one part (regression on ABC project), will still be there in another item (regression on XYZ project). So you are able to tell at the end if any of the previous jobs did or did not clean up after themselves. Travis is completely different. It allows 4 items to run in parallel in the same PR CI job. Each parallel run is using its own version of the workspace. File saved for one part (running all tests), will not be there for any other item (running checkstyle). So you will not be able to create a single cleanup item after everything is finished. You will need to have the cleanup run after every single item. |
@rnveach Ok. That makes sense. So, since both Travis and Shippable run jobs in parallel, should I have each job clean up after itself AND validate that .ci-temp/ is empty after it's done? If so, I will just make a bash function in the script that every job calls as the last step, to validate that .ci-temp/ is empty. |
Yes, this is the only way if they even create the |
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
… CI runs# Please enter the commit message for your changes. Lines starting
…Please enter the commit message for your changes. Lines starting
fix is merged |
based on discussion at #7870 (comment) and #7778 (comment)
We need to improve clean up in the .ci-temp directory after ci scripts run, and should also specify if a directory wasn't able to be removed.
Also, we should use a bash function to make for a cleaner script, and make clear our intention to remove all files, including protected ones.
The text was updated successfully, but these errors were encountered: