Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

(MAINT) Release prep 0.5.0 #256

Merged
merged 5 commits into from
Oct 25, 2021
Merged

(MAINT) Release prep 0.5.0 #256

merged 5 commits into from
Oct 25, 2021

Conversation

sanfrancrisko
Copy link

@sanfrancrisko sanfrancrisko commented Oct 14, 2021

This PR includes:

  • The release prep for 0.5.0
  • A modification to .gorelease.yml to remove the version from the build artefacts, facilitating the ability to retrieve the latest builds
  • Enhancements to the install.(ps1|sh) scripts to remove calls to the api.github.com

Closes: #258

@sanfrancrisko sanfrancrisko self-assigned this Oct 14, 2021
@sanfrancrisko sanfrancrisko force-pushed the maint/main/release_prep_0_5_0 branch 3 times, most recently from ea0b24c to 0a86e6c Compare October 15, 2021 12:04
@sanfrancrisko sanfrancrisko marked this pull request as ready for review October 15, 2021 12:06
@sanfrancrisko sanfrancrisko requested a review from a team as a code owner October 15, 2021 12:06
README.md Outdated Show resolved Hide resolved
@sanfrancrisko sanfrancrisko force-pushed the maint/main/release_prep_0_5_0 branch 2 times, most recently from cdcbe08 to 3c18689 Compare October 15, 2021 12:41
@sanfrancrisko sanfrancrisko marked this pull request as draft October 15, 2021 12:46
@petergmurphy petergmurphy force-pushed the maint/main/release_prep_0_5_0 branch 2 times, most recently from f22d1a2 to c9f9b10 Compare October 15, 2021 14:49
@sanfrancrisko sanfrancrisko reopened this Oct 15, 2021
@petergmurphy petergmurphy force-pushed the maint/main/release_prep_0_5_0 branch 7 times, most recently from 2724a90 to 69876ff Compare October 15, 2021 15:43
@sanfrancrisko sanfrancrisko reopened this Oct 15, 2021
@petergmurphy petergmurphy force-pushed the maint/main/release_prep_0_5_0 branch 3 times, most recently from 42b3882 to b4db3f3 Compare October 15, 2021 16:17
@sanfrancrisko sanfrancrisko reopened this Oct 19, 2021
@sanfrancrisko sanfrancrisko force-pushed the maint/main/release_prep_0_5_0 branch 14 times, most recently from 42e5fa7 to d0ac23f Compare October 22, 2021 10:51
@sanfrancrisko sanfrancrisko marked this pull request as ready for review October 22, 2021 10:52
@sanfrancrisko sanfrancrisko force-pushed the maint/main/release_prep_0_5_0 branch 3 times, most recently from f74d11c to b730881 Compare October 22, 2021 12:40
Prior to this commit, it was observed on Github Actions CI runs
that the `macos-latest` (and to a lesser extent, the `ubuntu-latest`)
runners would occasionally fail to install the PCT package.

This commit added the following functionality to `install.sh`:
- Fetches the releases checksums file to perform verification on
the download
- Wraps all curl commands in a retry loop, to improve reliability
and mitigate failures caused by network blips
- Inspect the HTTP Response Code from each curl command
- Output debug logging to help diagnose / investigate failures

Debug logging is enabled by setting the ENV VAR `PCT_INSTALL_DEBUG`
sanfrancrisko and others added 2 commits October 22, 2021 13:42
This commit adds a new Github Actions workflow that executes the
`install.(ps1|sh)` script on a Linux, macOS and Ubuntu runner and
verifies that the installation succeeds.
Prior to this commit, there was a call to api.github.com
to obtain the releases listing, which was then
subsequently processed to determine the latest ver.

Calls to the API were triggering throttling mechanisms
and causing CI test runs to fail.

This commit modifies the `.goreleaser.yml` config
to remove the version from the build artefacts published,
which then allows us to hit `releases/latest/` on
Github (bypassing the API).

The `install.(ps1|sh)` scripts have also been updated
to use this new URI.
@da-ar da-ar merged commit 74efb41 into main Oct 25, 2021
@da-ar da-ar deleted the maint/main/release_prep_0_5_0 branch October 25, 2021 10:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

install.sh not verifying curl GET of releases listing on Ubuntu
3 participants