Simplyfying day to day operations through chatops.
- Authorize this app for your slack workspace
- Send us your encrypted credentials using GPG with our public key below.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBF18RHwBCADEUonsycE/HhRDm0/FEdsx1cE3tOG038gV3ZBg7lq3vYY82Dj+
qDV1ZkrPs6Ca4fUQ3Yy8mRgsc7zz+52hMOYyLIvdOWnCu0PCDPV6yVOW/9R7yY/W
Xb1iSDRKMFL0eLdV9AwyLgPudHk8MwJFlTNdMyOyJoftXz6B/Z8OS2K9FjFqJvTI
tJdMAMKircbRxrc8B3xGICx+WOWYAeLzjSGnHyZJIyfwnd46BExX/fgfTFCa/W+v
JkE0zISif7wEaP0Ju16pr2cWlnH2RzEu9XP3fFFDEjGM6/b9/6j0E86hJM5vIUdk
+VukPjnLX7pNsB2qlLQ8jx3v8RRtAtO4cdYbABEBAAG0N05pc2hhbnQgRGVzYWkg
KGRvdGdwZykgPG5pc2hhbnQuZGVzYWlAbWFpbC51dG9yb250by5jYT6JAU4EEwEI
ADgWIQSJqzSZBxvOYlU39BxE04BGzIpN2AUCXXxEfAIbLwULCQgHAgYVCgkICwIE
FgIDAQIeAQIXgAAKCRBE04BGzIpN2A+VB/98GRk+0fIFVh3L+i8MxtAitnFALqYr
W1sPpLIJ3LEHvZEBhWNgeytHJCOwRkU1G0zgk9pxnHWoqoyScyxmRhxjMjsrYAp5
clp/+0rsN9HcSjfcQAOYbA54cb3yJXcneOL9AZV/W6/vgw8cf0PWvhMIE5ts3DUr
jwqeUA4EYUx5Bn8G2ktU1vp//UxMr7/nlLbtDT4h9pf0s9Kh/JnM9lcYnRg1oBPx
/PO+ExaOu4AcDPRgx7ZMVbsyWC/HuZuGL8lf8pcdbAyTLi5abgSewZ6Iix21pGEo
EfH7ZPksku+v6CaLByavkfcFhE2bL1cEmI6EjctENNrnoeWCUgI3P/UpuQENBF18
RHwBCADDwubKAbHoA45GfFpf+FR3BuxQS7HeEV6wEwPAY0XoM3/o4tOWP0ngDoMa
w5Le5NA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gy/XG7sI7soVCspm30LUp8r
FkaHV9aIFYKdouhNwNobiUcQdig/KAOPYQ==
=oaoH
-----END PGP PUBLIC KEY BLOCK-----
- Type
splink [aws|gcp|do|ibmcloud] setup
to setup access controls (alternately typesplink help
and use the dialog setup). - Once the app authorizes the respective service, you're all setup!
In order to run this container you'll need docker installed.
An API key (service account) from your favorite cloud provider(s).
splink gcp vm list
: List's all virtual instances that the service account has access to in your Google Cloud Platform project.splink gcp vm create
: Create a VM in your GCP projectsplink gcp vm stop <name|regex|ip>
: Stops a set of GCP instances using its name, regex, or private ipsplink gcp vm start <name|regex|ip>
: Starts a set of GCP instances using its name, regex, or private ipsplink gcp vm reboot <name|regex|ip>
: Reboots a set of GCP instances using its name, regex, or private ip
splink gcp k8s list
: Lists all kubernetes clusters that the service account has access to in your Google Cloud Platform projectsplink gcp k8s create
: Creates a kubernetes clusters in your GCP Project
docker-compose up
- How to open a shell inside the splink image
docker run -it splink bash
- Run it in detached mode (in the background)
docker-compose -d
- Build only
docker-compose build
- Build and Run
docker-compose up --build
- Run it in detached mode (in the background)
docker-compose down
token
- Slack OAuth token for bot user. For more information see Slack Documentation
./data/db:/data/db
index.js
- Main application codelib/*
- custom libraries used in the appgcloud/*
- services used to maintain GCP resources
- Node
FROM node:12-slim
WORKDIR /usr/src/app/
COPY package*.json /usr/src/app/
RUN npm install
COPY . /usr/src/app/
## THE LIFE SAVER
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait /wait
RUN chmod +x /wait
## Launch the wait tool and then your application
CMD /wait && node index.js
- MongoDB
version: '3'
services:
mongo:
container_name: mongo
image: mongo
ports:
- '27017:27017'
volumes:
- ./data/db:/data/db
app:
container_name: app
restart: on-failure
build: .
depends_on:
- mongo
environment:
WAIT_HOSTS: mongo:27017
- MongoDB:
27017:27017
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Please read the documentation on the client libraries below:
- NodeJS Client for Google Cloud Platform
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Nishant Desai - Initial work - Splink
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- God Bless Free Tier(s)