natemccurdy / plumbing

Utilities for Vox Pupuli management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

./bin/puppet_encrypt_for_travis.sh $forge_password > share/travis_secrets

To generate the list of encrypted blobs for rubygems deployment:

./bin/rubygems_encrypt_for_travis.sh $rubygems_api_key > share/rubygems_travis_secrets.yaml

Setting up a gem for rubygems deploys

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

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

gpg

to decrypt:

./bin/decrypt_credentials.sh

to encrypt:

./bin/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:

npm install -g github-label-sync
github-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.

Contribution

We currently require all commits in this repo to be signed with gpg, so please configure your git client properly. Let us know if you need some help. We're also reachable via our IRC channel #voxpupuli on freenode.

About

Utilities for Vox Pupuli management


Languages

Language:Shell 100.0%