Skip to content

pgxn/pgxn-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Deployment and operations for the PGXN apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published