1.1.3 • Published 10 years ago

kontinuum-deploy v1.1.3

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

kontinuum-deploy

Helper for deployment to kontinuum.

Install

npm i --save-dev kontinuum-deploy

Usage

Obtain kontinuum token by hitting /get_token with the correct password.

DOCKER_EMAIL=<docker email>
DOCKER_PASS=<docker pass>
DOCKER_USER=<docker user>
KONTINUUM_TOKEN=<kontinuum token>

./node_modules/kontinuum-deploy/bin/kontinuum-deploy \
	--input <path to input file> \
	--output <path to outputfile> \
	--service <service name>

###Arguments

  • input: should be a kubernetes yaml file, what you will be given is IMAGE_NAME so your input should look like the following
image: {{IMAGE_NAME}}
  • output: is where the compiled yaml file will go, preferably right next to the template file so you can manually adjust it if necessary.

  • service: will be the name of the service pushed to docker hub username/<service>:tag

  • dockerFile(optional): location of Dockerfile

Continious Deployment

Environmental variables should be set in CI.

// package.json
{
	"scripts": {
		"deploy": "./node_modules/kontinuum-deploy/bin/kontinuum-deploy \
			--input <path to input file> \
			--output <path to outputfile> \
			--service <service name>"
	}
}

Now you can run npm run deploy upon test success.

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago