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

feat: upgrade cli version #169

Closed
wants to merge 15 commits into from
Closed

feat: upgrade cli version #169

wants to merge 15 commits into from

Conversation

scefali
Copy link
Contributor

@scefali scefali commented Oct 25, 2023

The version of the CLI is quite out of date, this PR upgrades it to the latest which is 2.21.2.

@scefali scefali requested a review from armenzg October 25, 2023 18:55
Comment on lines +8 to +13
Sentry.init({
dsn: 'https://156a0eddcf407521a39833be862fc0e6@o1.ingest.sentry.io/4506112609943552',
// Performance Monitoring
tracesSampleRate: 1.0,
});

Copy link
Member

Choose a reason for hiding this comment

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

Can we do this? A lot of repos use this action, wouldn't this collect data?
https://github.com/getsentry/action-release/network/dependents

Comment on lines +29 to +34
# download a copy of sentry-cli
# TODO: Figure out why we can't use the version that is in node modules
RUN apk update && apk add curl
RUN curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION="2.21.2" sh
RUN chmod +x /usr/local/bin/sentry-cli
ENV SENTRY_BINARY_PATH=/usr/local/bin/sentry-cli
Copy link
Member

Choose a reason for hiding this comment

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

this downloads the cli twice -- once in npm land and once here -- probably not what you want? maybe you mean to execute node_moduldes/.bin/sentry-cli ... ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@asottile-sentry I tried this but seems like that doesn't work. I guess I'll keep trying.

@asottile-sentry
Copy link
Member

there's a lot going on in this PR -- can you split it into several different patches to minimize risk?

probably separate out:

  1. upgrade docker image version
  2. upgrade npm packages
  3. upgrade sentry-cli

@scefali scefali closed this Oct 30, 2023
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.

3 participants