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

chore: promote-verify changes #1267

Merged
merged 1 commit into from
Nov 1, 2023
Merged

chore: promote-verify changes #1267

merged 1 commit into from
Nov 1, 2023

Conversation

iowillhoit
Copy link
Contributor

Minor changes to the promote-verify script. It is failing today

https://github.com/salesforcecli/cli/actions/runs/6723303590/job/18276144568#step:4:166

@iowillhoit
Copy link
Contributor Author

Ok, this fixed it https://github.com/salesforcecli/cli/actions/runs/6724766082

I think it has to do with proxy issues with npm@10 nodejs/node#50376
Disabling Release Notes got this passing

@@ -104,11 +106,17 @@ banner "Verify tarball install and that 'sf update $NEW_CHANNEL' version matches
# If you are testing this locally, you'll need to use a tarball built for your OS
# There is a VERSIONS_URL for M1 macs above that you can uncomment
# Other URLs can be found here: https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm#sfdx_setup_install_cli_olderversions
OLDER_VERSION_URL=$(echo "$VERSION_CONTENT" | jq 'to_entries[7]' | jq -r '.value')
OLDER_VERSION_URL=$(echo "$VERSION_CONTENT" | jq 'to_entries[15]' | jq -r '.value')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is to grab a version older than stable. With nightly builds we were grabbing a newer version at index 7

rm -rf "$HOME/sf"
else
echo "!! $HOME/sf directory already exists. Delete it and try again." && echo 1
fi
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was preventing any of the retry logic from making it past this step. Now we cleanup that dir in CI

@iowillhoit iowillhoit merged commit a9ed684 into main Nov 1, 2023
43 checks passed
@iowillhoit iowillhoit deleted the ew/promote-verify-tweaks branch November 1, 2023 20:51
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.

2 participants