Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Fine tune package GitHub actions env vars#596

Merged
cryptotavares merged 7 commits intomainfrom
chore/fine-tune-package-github-actions-env-vars
Mar 8, 2023
Merged

Fine tune package GitHub actions env vars#596
cryptotavares merged 7 commits intomainfrom
chore/fine-tune-package-github-actions-env-vars

Conversation

@cryptotavares
Copy link
Copy Markdown
Contributor

Overview

Minor updates to github package App actions.

Changes

Root

  • Add SENTRY_DSN to desktop UI build step on the Github package actions
  • Add DESKTOP_ENABLE_UPDATES to Github package prod action
  • Remove ACCESS_TOKEN from Github package actions (it was only needed while the submodule repo was private. Now that we have moved to the Extension public repo, there's no need for the PAT)
  • Update build:ui:lavamoat:ci to have prod as build target. This will allow the METAMASK_ENVIRONMENT to be set to production.
  • Removed unnecessary env variables from desktop UI build scripts

Pipeline

None.

Common

None.

App

None.

@cryptotavares cryptotavares requested a review from a team March 8, 2023 14:46
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 8, 2023

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This fixes this.

Copy link
Copy Markdown
Contributor

@bergarces bergarces left a comment

Choose a reason for hiding this comment

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

LGTM

Previously we needed this token
for the submodule init (as the submodule
was a private repo). Since we have
updated the submodule to be the actual
MetaMask Extension public repo, there's
no need for the access token anymore
This will impact the value of
METAMASK_ENVIRONMENT (set it to
production)
Currently the only env var required
for the UI bundle is the SENTRY_DSN.
Everything else is evaluated on the
main process
@cryptotavares cryptotavares force-pushed the chore/fine-tune-package-github-actions-env-vars branch from 7bab295 to 8ee22e6 Compare March 8, 2023 16:31
@cryptotavares cryptotavares merged commit ebc550b into main Mar 8, 2023
@cryptotavares cryptotavares deleted the chore/fine-tune-package-github-actions-env-vars branch March 8, 2023 17:46
@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants