Sign inSign up

drentrega/drone-plugin-ssm-env-creator

By drentrega

•Updated over 4 years ago

Drone.io plugin for writing .env files.

Image
0

7.1K

drentrega/drone-plugin-ssm-env-creator repository overview

⁠drentrega/drone-plugin-ssm-env-creator

Drone.io⁠ plugin for writing .env files.

⁠Dependencies

This container is based on a project called awsenv created by Vitta here⁠.

Our fork adds a few functionalities - and you can track here⁠ - along with few more environment variables.

⁠Tags

origintagalias
node:alpinedrentrega/drone-plugin-ssm-env-creator:alpinelatest
node:alpinedrentrega/drone-plugin-ssm-env-creator:1.1.1-
node:alpinedrentrega/drone-plugin-ssm-env-creator:1.1.0-
node:alpinedrentrega/drone-plugin-ssm-env-creator:1.0.13-
node:11-alpinedrentrega/drone-plugin-ssm-env-creator:11-alpine-
node:10-alpinedrentrega/drone-plugin-ssm-env-creator:10-alpine-
node:9-alpinedrentrega/drone-plugin-ssm-env-creator:9-alpine-
node:8-alpinedrentrega/drone-plugin-ssm-env-creator:8-alpine-

⁠Usage

⁠Setup on Drone.io Pipeline
pipeline:
  production-generate-dot-env:
    when:
      branch: master
    image: drentrega/drone-plugin-ssm-env-creator
    secrets: [ AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY ]
    region: sa-east-1
    output: ".env"
    namespace: "/production/my-app"
⁠Testing locally

Testing locally it will produce a .env file using local

$ docker run --rm -it \
  -v "${HOME}/.aws/credentials:/root/.aws/credentials" \
  -v "${PWD}:/my-app" \
  -w "/my-app" \
  -e "PLUGIN_REGION=sa-east-1" \
  -e "PLUGIN_OUTPUT=.env" \
  -e "PLUGIN_NAMESPACE=/production/my-app" \
  drentrega/drone-plugin-ssm-env-creator:latest

Tag summary

Content type

Image

Digest

Size

67.9 MB

Last updated

over 4 years ago

docker pull drentrega/drone-plugin-ssm-env-creator