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

Update yarn download path in install_baas.sh #6309

Merged
merged 2 commits into from
Feb 15, 2023
Merged

Conversation

michael-wb
Copy link
Contributor

@michael-wb michael-wb commented Feb 15, 2023

What, How & Why?

Yarn was failing to download from stitch-artifacts, since it had been moved to Glacier long term storage. Updated download path to use the official yarn download site: https://yarnpkg.com/latest.tar.gz

☑️ ToDos

  • 📝 Changelog update
  • [ ] 🚦 Tests (or not relevant)
  • [ ] C-API, if public C++ API changed.

@michael-wb michael-wb changed the title Updated yarn download path in install_baas.sh Update yarn download path in install_baas.sh Feb 15, 2023
@@ -227,7 +227,7 @@ YARN="$WORK_PATH/yarn/bin/yarn"
if [[ ! -x "$YARN" ]]; then
echo "Getting yarn"
mkdir yarn && cd yarn
$CURL -LsS https://s3.amazonaws.com/stitch-artifacts/yarn/latest.tar.gz | tar -xz --strip-components=1
$CURL -LsS https://yarnpkg.com/latest.tar.gz | tar -xz --strip-components=1
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to put this in our S3 bucket that we use for other artifacts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was wondering if we should pin the version on S3. The server team is updating their tests to use the official download path.

@michael-wb michael-wb merged commit e2dba2a into master Feb 15, 2023
@michael-wb michael-wb deleted the mwb/fix-yarn-download branch February 15, 2023 16:00
@kiburtse kiburtse mentioned this pull request Mar 3, 2023
3 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants