__ __
.--| .-----.----| |--.--.--.
| _ | _ | _| <| | |
|_____|_____|__| |__|__|___ |
|_____|
DevOps Records Keeper
Let us assume that we need to create a project.
The project obviously contains some code and some secret variables like database information, API keys, etc. This data cannot be shared on public VCS (GitHub), but at times is required to be accessible remotely to be shared among reliable sources.
Anyhow, we shall store it on a private storage, using dorky, that stores it on a S3 or Google-Drive.
Create a S3 bucket, AWS_ACCESS_KEY and AWS_SECRET_KEY.
Please use your own repository, this repository
sample_project
is just for demonstration.
- Initialize dorky setup in the root folder of your project, using
dorky --init aws
. - List the files using
dorky --list
.This command will not list the files that are excluded in
.dorkyignore
.
- Initialize dorky setup in the root folder of your project, using
dorky --init aws
. - List the files using
dorky --list
, (make sure to add excluded file or folder patterns to .dorkyignore, to minimize the list). - Add files to stage-1 using
dorky --add file-name
. - Push files to S3 bucket using
dorky --push
.
- Remove files using
dorky --rm file-name
. [Removes file from stage-1 ] - Push files to S3 bucket using
dorky --push
. [Removes file from S3 bucket ]
- Use
dorky --pull
to pull the files from S3 bucket.
Please use your own repository, this repository
sample_project
is just for demonstration.
- Initialize dorky setup in the root folder of your project, using
dorky --init google-drive
. - List the files using
dorky --list
.This command will not list the files that are excluded in
.dorkyignore
.
- Initialize dorky setup in the root folder of your project, using
dorky --init google-drive
. - List the files using
dorky --list
, (make sure to add excluded file or folder patterns to .dorkyignore, to minimize the list). - Add files to stage-1 using
dorky --add file-name
. - Push files to Google Drive using
dorky --push
.
- Remove files using
dorky --rm file-name
. [Removes file from stage-1 ] - Push files to Google Drive using
dorky --push
. [Removes file from Google Drive ]
- Use
dorky --pull
to pull the files from Google Drive.
[ ] Add stages for variables. [ ] Convert to TypeScript.