voxpupuli/plumbing

Name: plumbing

Owner: Vox Pupuli

Description: Utilities for Vox Pupuli management

Created: 2015-02-04 12:27:48.0

Updated: 2016-10-23 14:36:23.0

Pushed: 2018-01-17 16:02:06.0

Homepage:

Size: 960

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Plumbing

This module contains utility scripts for voxpupuli admins to do various management tasks.

Travis secrets

To generate the list of encrypted blobs for puppet forge deployment:

n/puppet_encrypt_for_travis.sh $forge_password > share/travis_secrets

To generate the list of encrypted blobs for rubygems deployment:

n/rubygems_encrypt_for_travis.sh $rubygems_api_key > share/rubygems_travis_secrets
Setting up a gem for rubygems deploys

Add the voxpupuli rubygems account to the owners list of the gem.

owner <gemname> -a krum.spencer+voxpupuli@gmail.com
gpg

to decrypt:

n/decrypt_credentials.sh

to encrypt:

n/encrypt_credentials.sh
syncing labels

Syncing labels can be done by using github-label-sync. The labels.json file contains the labels to be synced

To sync a repository:

install -g github-label-sync
ub-label-sync -a <GitHub token> <repository>

You can use -d for a dryrun to see what will be added and removed.

Syntax Validation

We use https://github.com/caarlos0/shell-ci-build as a submodule in travis. This enables shellcheck and validates all *,sh files. We probably should update it from time to time.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.