Skip to content

Hack around CI problems by sudo chown and disabling cache for Windows validate (backport #8739) #8758

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

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 13, 2023

This is an automatic backport of pull request #8739 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

… validate (#8739)

* Try to fix ghcup cache in CI via sudo chmod

* Revert "Try to fix ghcup cache in CI via sudo chmod"

This reverts commit 0bb71d1.

* Try not caching store in validate jobs to avoid double package bugs

* Revert "Try not caching store in validate jobs to avoid double package bugs"

This reverts commit b3f3782.

* Try not to cache store on Windows in validate jobs

to avoid double directory package bugs.

* Revert "Revert "Try to fix ghcup cache in CI via sudo chmod""

This reverts commit b3a843a.

* Try sudo only on (new) Linux, where it should be available

* Also change the user

* Document the particular hack snippets in validate.yml

* Add an extra diagnostic ls for ghcup dirs

* Also hack the other affected CI scripts

* Also print the version of ghcup used for debugging

(cherry picked from commit 22dcb3c)
Copy link
Member

@Mikolaj Mikolaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exquisite.

@Mikolaj Mikolaj added the merge me Tell Mergify Bot to merge label Feb 13, 2023
@mergify mergify bot merged commit 1b0c8bc into 3.10 Feb 13, 2023
@mergify mergify bot deleted the mergify/bp/3.10/pr-8739 branch February 13, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport merge me Tell Mergify Bot to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant