rundeck-jobs

1.0.0 • Public • Published

Readme

About

This contains all the scripts that are intended to run via rundeck.

  • Customer specific scripts are organised under clients folder
  • Generic scripts used accross everything is housed under lib folder

Running this on your local machine

dotenv is a dev dependancy. Create a .env file which contains the following keys

ENCRYPTION_PASSWORD=

For running a script, instead of running it as node script.js run like this node -r dotenv/config script.js - this will make sure that the environment variables are loaded

Encrypt env files before committing

On localhost run this -

node -r dotenv/config lib/aes.js encrypt ./clients/exponent/env/pull_from_cf.env.js

Decrypt env files before excuting script

On rundeck run this -

node lib/aes.js decrypt ./clients/exponent/env/pull_from_cf.env.js.enc @option.ENCRYPTION_PASSWORD@

Readme

Keywords

none

Package Sidebar

Install

npm i rundeck-jobs

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

55.2 kB

Total Files

22

Last publish

Collaborators

  • alexjv89