Deploys applications to Elastic Beanstalk. For smoke tests curl can be used. For other tools you need to add the alpine package to the Dockerfile of this resource.
-
access_key_id: Required. The AWS access key. -
secret_access_key: Required. The AWS secret key.
Checks for correct source configuration.
- Saves a file with the name
envin the directory containing the name of the deployed environment. Callinginbefore callingoutin the same pipeline can cause unexpected behavior.
None.
Uses eb_deployer configuration from config_file and artifact_file to deploy/remove application.
-
config_file: Required Folder path that contains config/eb_deployer.yml. -
artifact_file: Regular expression to artifact file path used as package for deployment. Example:artifacts/release-(.*).zip -
env_file: Path to a file that contains the name of the environment to deploy/remove -
env: Environment to deploy/remove -
deploy: If set totruedeploys the application. -
remove: If set totrueremoves the application.
Either env_file or env has to be set.
If neither is set it defaults to "dev"
Also either deploy or remove has to be set to true.
- name: ebdeployer
type: docker-image
source:
repository: quay.io/cosee-concourse/eb_deployer-resource- name: deploy
type: ebdeployer
source:
access_key_id: ACCESS-KEY
secret_access_key: SECRET- get: deploy- put: deploy
params:
deploy: true
env: dev
artifact_file: artifacts/package.zip
config_file: source/ci- put: deploy
params:
deploy: true
env_file: naming/env
artifact_file: artifacts/package.zip
config_file: source/ci- put: deploy
params:
remove: true
env: dev
config_file: source/ci- put: deploy
params:
remove: true
env_file: naming/env
config_file: source/ci