Skip to content

Buddy deploys #107

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

Open
leonellima opened this issue Aug 26, 2022 · 0 comments
Open

Buddy deploys #107

leonellima opened this issue Aug 26, 2022 · 0 comments

Comments

@leonellima
Copy link

leonellima commented Aug 26, 2022

8base

  1. Go to Settings > API Tokens > Add Token.
  2. Copy token and set <8BASE_TOKEN>
  3. Get the workspace ID from Settings > General > Workspace and Endpoint Information > Workspace ID
    and set <WORKSPACE_ID>.

Buddy

  1. On a new pipeline, Add action > Node.js
  2. Select the branch in Settings (See Buddy Settings).
  3. Copy the next lines (<8BASE_BRANCH> is the 8base branch created)
npm i -g 8base-cli@latest
8base login -t <8BASE_TOKEN>
8base configure -w <WORKSPACE_ID>
8base environment set -n <8BASE_BRANCH>
8base migration commit -f -m FULL

AWS Elastic Beanstalk

  1. On the root directory of the project, add a configuration file at .elasticbeanstalk > config.yml. Inside the file, set the branches that will be loaded according to the application enabled in Amazon EB:
branch-defaults:
  main:
    environment: null
    group_suffix: null
  master:
    environment: null
    group_suffix: null
global:
  application_name: XXXXXXXXXX
  branch: null
  ...

Buddy

  1. On a new pipeline, Add action > Python
  2. Select the branch in Settings (See Buddy Settings).
  3. Copy the next lines (<AWS_ACCESS_KEY_ID>, <AWS_SECRET_ACCESS_KEY> and <AWS_REGION> correspond to the credentials that enable access to EB)
pip3 install setuptools-rust
pip3 install awsebcli
export AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
export AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
export AWS_DEFAULT_REGION=<AWS_REGION>
eb deploy main

**This example corresponds to the main branch

Buddy Settings

Captura de Pantalla 2022-09-21 a la(s) 3 58 02 p  m

@leonellima leonellima changed the title Buddy deploys: 8base Buddy deploys Aug 26, 2022
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

No branches or pull requests

1 participant