Git Product home page Git Product logo

deployment's Introduction

Deploying Packit service or Stream service to Openshift

This repository contains Ansible playbooks/roles to deploy our services/bots to Openshift cluster. This file documents basic usage, for more info see docs (below).

What's in here

tl;dr How to deploy

  1. Configure the deployment by creating a variable file in 'vars/' from a template as described in vars/README.
  2. Install some dependencies:
    • dnf install ansible python3-openshift jq make
    • dnf install origin-clients or (for a more recent version) download openshift-client-linux from the OKD releases page, unpack it, and place oc in your $PATH (ex: ~/.local/bin).
    • Download the Bitwarden CLI, unpack and place it in your $PATH (ex: ~/.local/bin).
  3. [SERVICE={service}] DEPLOYMENT={deployment} make deploy (see vars/README).

By default, the playbook checks that the local copy of the deployment is up-to-date, and the variable file used is up-to-date with the corresponding template.

To disable these checks, set check_up_to_date to false in the variable file.

To only disable comparing the variable file to the template, set check_vars_template_diff to false.

Partial deployments

To run only the tasks related to some of the services, this way doing a partial deployment, you can set the TAGS environment variable before calling make. For example, to run only the tasks to deploy Redis and Redis Commander, run:

$ DEPLOYMENT=dev TAGS="redis,redis-commander" make deploy

Use make tags to list the currently available tags.

See docs/ for more documentation.

deployment's People

Contributors

dhodovsk avatar icewreck avatar jpopelka avatar lachmanfrantisek avatar lbarcziova avatar majamassarini avatar mfocko avatar mmuzila avatar nikromen avatar pre-commit-ci[bot] avatar rishavanand avatar rpitonak avatar sakalosj avatar shreyaspapi avatar softwarefactory-project-zuul[bot] avatar tomastomecek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.