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: test sentry and dd uploads #8926

Merged
merged 8 commits into from
Oct 6, 2023
Merged

Conversation

mattkrick
Copy link
Member

@mattkrick mattkrick commented Oct 4, 2023

Description

fixes #8925

Demo

Demo was performed stubbing in v6.1220.0-exotic for version & removing the if: clause in the yml

Signed-off-by: Matt Krick <matt.krick@gmail.com>
@github-actions github-actions bot added the size/s label Oct 4, 2023
Signed-off-by: Matt Krick <matt.krick@gmail.com>
Signed-off-by: Matt Krick <matt.krick@gmail.com>
Signed-off-by: Matt Krick <matt.krick@gmail.com>
Signed-off-by: Matt Krick <matt.krick@gmail.com>
Signed-off-by: Matt Krick <matt.krick@gmail.com>
Signed-off-by: Matt Krick <matt.krick@gmail.com>
@@ -176,11 +179,6 @@ jobs:
registry: ${{ secrets.GCP_DOCKER_REGISTRY }}
username: "oauth2accesstoken"
password: "${{ steps.auth.outputs.access_token }}"
#
Copy link
Member Author

@mattkrick mattkrick Oct 4, 2023

Choose a reason for hiding this comment

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

chances are we'll never build for anything but amd64, but just in case i moved the comments to an issue here:
documented here #8929

env:
SENTRY_AUTH_TOKEN: "${{secrets.SENTRY_AUTH_TOKEN}}"
SENTRY_ORG: "parabol"
SENTRY_PROJECT: "action-production"
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we upload it to both action-production and action-staging projects?

Copy link
Member Author

Choose a reason for hiding this comment

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

the name is a bit of a misnomer, staging is an environment inside the project action-production.

Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 And do we want that? Some time ago I created two new projects in Sentry. Right now we have:

  • action-production: used by both Dokku environments (production and staging) in Digital Ocean.
  • action-staging: used right now only by the GCP Staging.
  • local-development: created in case someone wanted to use sentry in their local environment.
  • on-demand-environments: isolated project for the on-demand envs.

I don't really know if that make sense. I created it to isolate the new GCP envs I was building, at least while building and testing.

Copy link
Member Author

Choose a reason for hiding this comment

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

IMO a project refers to a codebase. we have 1 project, which is "action", and that is deployed to many environments. In sentry you can search & filter across envs, but not across projects (at least that was the case, not sure if still true).

.github/workflows/build.yml Outdated Show resolved Hide resolved
@rafaelromcar-parabol
Copy link
Contributor

Shouldn't we also remove that uploads from CircleCI on this PR? There is only one case where that might be a problem: a hotfix deployed in production without producing a new tag.

And BTW, that would be a problem with our current deployment process and with the future deployment process as well 🤔

@mattkrick
Copy link
Member Author

hotfixes create new tags, too. no harm in leaving it in circleCI, assets will just get pushed twice until we get completely off circleCI

Signed-off-by: Matt Krick <matt.krick@gmail.com>
@mattkrick mattkrick merged commit 39063e0 into master Oct 6, 2023
2 of 3 checks passed
@mattkrick mattkrick deleted the chore/8925/build-push-sourcemaps branch October 6, 2023 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push to datadog & sentry in GH action build
2 participants