Config Jets Bootstrap
The bootstrap.rb
has configurations that are loaded right after the Jets project settings are loaded and are used in the Jets bootstrap process. The bootstrap is the first phase of the Jets deploy process. Example:
config/jets/bootstrap.rb
Jets.bootstrap.configure do
config.codebuild.project.env.vars = {
BUNDLE_GITHUB__COM: "SSM:/#{ssm_env}/BUNDLE_GITHUB__COM",
DOCKER_HOST: "SSM:/#{ssm_env}/DOCKER_HOST",
DOCKER_PASS: "SSM:/#{ssm_env}/DOCKER_PASS",
DOCKER_USER: "SSM:/#{ssm_env}/DOCKER_USER",
JETS_SSH_KEY: "SSM:/#{ssm_env}/JETS_SSH_KEY",
JETS_SSH_KNOWN: "SSM:/#{ssm_env}/JETS_SSH_KNOWN"
}
config.codebuild.lambda.enable = true
end