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

Add beacon build args #179

Merged
merged 2 commits into from Feb 7, 2023
Merged

Add beacon build args #179

merged 2 commits into from Feb 7, 2023

Conversation

pdeziel
Copy link
Contributor

@pdeziel pdeziel commented Feb 6, 2023

Scope of changes

This adds the rest of the beacon UI build args so that the variables are accessible in the production container.

Fixes SC-13580

Type of change

  • new feature
  • bug fix
  • documentation
  • testing
  • technical debt
  • docker

Acceptance criteria

All required variables are present and the github secrets have also been added.

Author checklist

  • I have manually tested the change and/or added automation in the form of unit tests or integration tests
  • I have updated the dependencies list
  • I have recompiled and included new protocol buffers to reflect changes I made
  • I have added new test fixtures as needed to support added tests
  • Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
  • I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

  • Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.
  • Are there any TODOs in this PR that should be turned into stories?

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #13580: Add REACT_APP variables to workflow.

REACT_APP_GIT_REVISION=${{ steps.vars.outputs.revision }}
REACT_APP_SENTRY_DSN=${{ secrets.REACT_APP_SENTRY_DSN }}
REACT_APP_SENTRY_ENVIRONMENT=production
REACT_APP_USE_DASH_LOCALE=false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems that the previous PR didn't actually add the QUARTERDECK_BASE_URL and TENANT_BASE_URL variables, not sure why but hopefully this works?

Copy link
Contributor

Choose a reason for hiding this comment

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

@masskoder are you taking advantage of these environment variables in the Beacon UI code base?

REACT_APP_GIT_REVISION=${{ steps.vars.outputs.revision }}
REACT_APP_SENTRY_DSN=${{ secrets.REACT_APP_SENTRY_DSN }}
REACT_APP_SENTRY_ENVIRONMENT=production
REACT_APP_USE_DASH_LOCALE=false
Copy link
Contributor

Choose a reason for hiding this comment

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

@masskoder are you taking advantage of these environment variables in the Beacon UI code base?

@bbengfort
Copy link
Contributor

@pdeziel I removed my suggestions - it looks like we already have REACT_APP_ANALYTICS_ID and REACT_APP_SENTRY_DSN so I propose we stick with those for now.

@pdeziel pdeziel merged commit c1b769f into main Feb 7, 2023
@pdeziel pdeziel deleted the sc-13580 branch February 7, 2023 14:25
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.

None yet

2 participants