hippo-cli 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/bin/hippo +4 -4
- data/cli/apply_config.rb +1 -0
- data/cli/apply_services.rb +1 -0
- data/cli/console.rb +2 -0
- data/cli/create.rb +83 -0
- data/cli/deploy.rb +2 -0
- data/cli/init.rb +1 -1
- data/cli/install.rb +3 -1
- data/cli/key.rb +34 -0
- data/cli/kubectl.rb +2 -0
- data/cli/logs.rb +56 -0
- data/cli/objects.rb +50 -0
- data/cli/package_install.rb +30 -0
- data/cli/package_list.rb +40 -0
- data/cli/package_notes.rb +23 -0
- data/cli/package_test.rb +21 -0
- data/cli/package_uninstall.rb +27 -0
- data/cli/package_upgrade.rb +30 -0
- data/cli/package_values.rb +22 -0
- data/cli/prepare.rb +18 -0
- data/cli/run.rb +37 -0
- data/cli/secrets.rb +24 -0
- data/cli/stages.rb +26 -0
- data/cli/status.rb +25 -0
- data/cli/vars.rb +20 -0
- data/cli/version.rb +8 -0
- data/lib/hippo.rb +12 -0
- data/lib/hippo/bootstrap_parser.rb +64 -0
- data/lib/hippo/cli.rb +47 -14
- data/lib/hippo/extensions.rb +9 -0
- data/lib/hippo/image.rb +35 -31
- data/lib/hippo/manifest.rb +17 -7
- data/lib/hippo/object_definition.rb +18 -5
- data/lib/hippo/package.rb +124 -0
- data/lib/hippo/repository_tag.rb +38 -0
- data/lib/hippo/secret_manager.rb +61 -14
- data/lib/hippo/stage.rb +60 -26
- data/lib/hippo/util.rb +34 -0
- data/lib/hippo/version.rb +1 -1
- data/template/Hippofile +10 -2
- metadata +44 -13
- metadata.gz.sig +0 -0
- data/cli/secrets_edit.rb +0 -34
- data/cli/secrets_key.rb +0 -20
- data/lib/hippo/secret.rb +0 -112
- data/template/config/env-vars.yaml +0 -7
- data/template/deployments/web.yaml +0 -29
- data/template/deployments/worker.yaml +0 -26
- data/template/jobs/deploy/db-migration.yaml +0 -22
- data/template/jobs/install/load-schema.yaml +0 -22
- data/template/services/main.ingress.yaml +0 -13
- data/template/services/web.svc.yaml +0 -11
- data/template/stages/production.yaml +0 -7
@@ -1,29 +0,0 @@
|
|
1
|
-
kind: Deployment
|
2
|
-
apiVersion: apps/v1
|
3
|
-
metadata:
|
4
|
-
name: web
|
5
|
-
spec:
|
6
|
-
selector:
|
7
|
-
matchLabels:
|
8
|
-
process_type: web
|
9
|
-
replicas: 1
|
10
|
-
template:
|
11
|
-
metadata:
|
12
|
-
labels:
|
13
|
-
process_type: web
|
14
|
-
spec:
|
15
|
-
containers:
|
16
|
-
- name: myapp
|
17
|
-
image: "{{ builds.app.image-name }}:{{ commit.ref }}"
|
18
|
-
imagePullPolicy: Always
|
19
|
-
command:
|
20
|
-
- bundle
|
21
|
-
- exec
|
22
|
-
- puma
|
23
|
-
- -C
|
24
|
-
- config/puma.rb
|
25
|
-
envFrom:
|
26
|
-
- configMapRef:
|
27
|
-
name: env-vars
|
28
|
-
ports:
|
29
|
-
- containerPort: 3000
|
@@ -1,26 +0,0 @@
|
|
1
|
-
kind: Deployment
|
2
|
-
apiVersion: apps/v1
|
3
|
-
metadata:
|
4
|
-
name: worker
|
5
|
-
spec:
|
6
|
-
selector:
|
7
|
-
matchLabels:
|
8
|
-
app: worker
|
9
|
-
replicas: 1
|
10
|
-
template:
|
11
|
-
metadata:
|
12
|
-
labels:
|
13
|
-
app: worker
|
14
|
-
spec:
|
15
|
-
containers:
|
16
|
-
- name: myapp
|
17
|
-
image: "{{ builds.app.image-name }}:{{ commit.ref }}"
|
18
|
-
imagePullPolicy: Always
|
19
|
-
command:
|
20
|
-
- bundle
|
21
|
-
- exec
|
22
|
-
- rake
|
23
|
-
- jobs:work
|
24
|
-
envFrom:
|
25
|
-
- configMapRef:
|
26
|
-
name: env-vars
|
@@ -1,22 +0,0 @@
|
|
1
|
-
kind: Job
|
2
|
-
apiVersion: batch/v1
|
3
|
-
metadata:
|
4
|
-
name: migration
|
5
|
-
spec:
|
6
|
-
backoffLimit: 0
|
7
|
-
ttlSecondsAfterFinished: 60
|
8
|
-
template:
|
9
|
-
spec:
|
10
|
-
restartPolicy: Never
|
11
|
-
containers:
|
12
|
-
- name: myapp
|
13
|
-
image: "{{ builds.app.image-name }}:{{ commit.ref }}"
|
14
|
-
imagePullPolicy: Always
|
15
|
-
command:
|
16
|
-
- bundle
|
17
|
-
- exec
|
18
|
-
- rake
|
19
|
-
- db:migrate
|
20
|
-
envFrom:
|
21
|
-
- configMapRef:
|
22
|
-
name: env-vars
|
@@ -1,22 +0,0 @@
|
|
1
|
-
kind: Job
|
2
|
-
apiVersion: batch/v1
|
3
|
-
metadata:
|
4
|
-
name: load-schema
|
5
|
-
spec:
|
6
|
-
backoffLimit: 0
|
7
|
-
ttlSecondsAfterFinished: 300
|
8
|
-
template:
|
9
|
-
spec:
|
10
|
-
restartPolicy: Never
|
11
|
-
containers:
|
12
|
-
- name: myapp
|
13
|
-
image: "{{ builds.app.image-name }}:{{ commit.ref }}"
|
14
|
-
imagePullPolicy: Always
|
15
|
-
command:
|
16
|
-
- bundle
|
17
|
-
- exec
|
18
|
-
- rake
|
19
|
-
- db:schema:load
|
20
|
-
envFrom:
|
21
|
-
- configMapRef:
|
22
|
-
name: env-vars
|