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

Improve CI resiliency against GitHub issues #3713

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Sep 6, 2023

Description

Recently we've been getting a lot of CI failures due to:

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive

when downloading a tarball of a repo.

This PR works around it by falling back to a slower git clone.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@lehins lehins requested review from a team as code owners September 6, 2023 09:28
Copy link
Contributor

@angerman angerman left a comment

Choose a reason for hiding this comment

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

What a terrible hack 🤣
Let's hope it won't have to take that branch often. And Gh not busting both options. At least they seem to have recovered a bit.

@lehins lehins force-pushed the lehins/improve-ci-resiliency-against-github-issues branch from fc7d4be to 9ea5c41 Compare September 6, 2023 10:11
@lehins lehins force-pushed the lehins/improve-ci-resiliency-against-github-issues branch from 9ea5c41 to c366cad Compare September 6, 2023 12:46
@lehins lehins force-pushed the lehins/improve-ci-resiliency-against-github-issues branch from c366cad to cbba9bc Compare September 6, 2023 15:17
@lehins lehins merged commit 70fc0d2 into master Sep 6, 2023
12 checks passed
@iohk-bors iohk-bors bot deleted the lehins/improve-ci-resiliency-against-github-issues branch September 6, 2023 17:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants