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

Ability to specify env in bos.config.json #22

Closed
3 tasks
Tracked by #48
elliotBraem opened this issue Nov 15, 2023 · 1 comment
Closed
3 tasks
Tracked by #48

Ability to specify env in bos.config.json #22

elliotBraem opened this issue Nov 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@elliotBraem
Copy link
Contributor

elliotBraem commented Nov 15, 2023

A couple of ecosystem projects set up their Github workflows to deploy to testnet, then to mainnet.
For example, see near-discovery-components (although this uses bos-loader exclusively).

To do this, there are different replacements file for each environment that get passed to bos-loader replacements flag.

See:
Image

We should be able to support the same in bos-workspace.

Acceptance Criteria

  • Builders should be able to assign different account Ids according to environment, e.g "mob.near" in mainnet and "eugenethedream" in testnet
  • Builders should be able to assign different contract ids according to environment, e.g "devgovgigs.near" in mainnet and "thomas.preview.testnet" in testnet
  • Builders should be able to assign other aliases according to environment(?)
@elliotBraem elliotBraem self-assigned this Nov 15, 2023
@elliotBraem elliotBraem transferred this issue from another repository Dec 4, 2023
@elliotBraem elliotBraem transferred this issue from another repository Dec 4, 2023
@elliotBraem elliotBraem removed their assignment Dec 4, 2023
@elliotBraem elliotBraem moved this from In Progress to Todo in bos-workspace Dec 4, 2023
@elliotBraem elliotBraem added the enhancement New feature or request label Dec 4, 2023
@elliotBraem
Copy link
Contributor Author

I also noticed today that bw deploy is strictly mainnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant