Sign inSign up

pipelinecomponents/deployer

By pipelinecomponents

•Updated 3 days ago

Deployer.org in a container for gitlab-ci

Image
Security
Integration & delivery
3

100K+

pipelinecomponents/deployer repository overview

⁠Pipeline Components: Deployer

Project Stage Project Maintenance License GitLab CI

⁠Docker status

Image Size Docker Pulls

⁠Usage

The image has for running deployer in a small container and supporting all of the default deployer recipes

⁠Examples

# Deploy templates
.deploy: &deploy
  stage: deploy
  image: registry.gitlab.com/pipeline-components/deployer:latest
  dependencies: []
  before_script:
    - eval $(ssh-agent -s)
    - >-
      [[ ${CI_ENVIRONMENT_NAME:-local} == "testing"  && ! -z ${TESTING_DEPLOYMENT_KEY} ]] &&
      echo "${TESTING_DEPLOYMENT_KEY}"    | tr -d "\r" | ssh-add -
    - >-
      [[ ${CI_ENVIRONMENT_NAME:-local} == "acceptance" && ! -z ${ACCEPTANCE_DEPLOYMENT_KEY} ]] &&
      echo "${ACCEPTANCE_DEPLOYMENT_KEY}" | tr -d "\r" | ssh-add -
    - >-
      [[ ${CI_ENVIRONMENT_NAME:-local} == "production" && ! -z  ${PRODUCTION_DEPLOYMENT_KEY} ]] &&
      echo "${PRODUCTION_DEPLOYMENT_KEY}" | tr -d "\r" | ssh-add -
  script:
    - dep deploy ${CI_ENVIRONMENT_NAME:-local}

deploy production:
  <<: *deploy
  only:
    - /^v[0-9.]+$/
  environment:
    name: production
  • *_DEPLOYMENT_KEY contains the ssh key used for accessing the deployment server
  • CI_ENVIRONMENT_NAME environment defined by gitlab

⁠Versioning

This project uses Semantic Versioning⁠ for its version numbering.

⁠Support

Got questions?

Check the discord channel⁠

You could also open an issue here⁠

⁠Contributing

This is an active open-source project. We are always open to people who want to use the code or contribute to it.

We've set up a separate document for our contribution guidelines⁠.

Thank you for being involved! 😍

⁠Authors & contributors

The original setup of this repository is by Robbert Müller⁠.

The Build pipeline is large based on Community Hass.io Add-ons ⁠ by Franck Nijhof⁠.

For a full list of all authors and contributors, check the contributor's page⁠.

⁠License

This project is licensed under the MIT License⁠ by Robbert Müller⁠.

Tag summary

Content type

Image

Digest

sha256:21e4764d6…

Size

49.2 MB

Last updated

3 days ago

docker pull pipelinecomponents/deployer:edge