Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.65 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.65 KB

PGXN Ops

./gho build manager
./gho deploy manager
./gho restart manager

This project contains Ansible playbooks for building deploying, and otherwise managing the PGXN apps:

Operations

A simple script, gho provides shortcuts to manage each app. Use it like so:

./gho ACTION APP

Run ./gho --help for the complete list of actions and apps.

The apps correspond to the playbooks directories for each app, manager, api, and site. The actions are:

build

Execute the ./$app/build.yml playbook to download and build the app. This action does not replace existing builds or affect the currently-running build. If the current version is already built, this action will not rebuild it.

deploy

Deploy the latest version of the app. This creates or replaces a symlink to the version and then restarts (or starts) the app.

restart

Restart an app.

Secrets

One additional gho action, ./gho edit secrets, edits the secrets file. This file is protected by a password; contact @theory for details. The contents of the file include database connection information and secrets required for the Twitter account to Tweet releases.