511fa87ec4
Fix lint error
Lint Checks / Run linter (pull_request) Successful in 21s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m43s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m6s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 8m29s
Smoke Test / Run basic test suite (pull_request) Successful in 5m59s
2024-02-14 21:58:23 -07:00
e8b8f112aa
Merge branch 'main' into dboreham/test-database-stack
Lint Checks / Run linter (pull_request) Failing after 40s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m45s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m4s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m45s
Smoke Test / Run basic test suite (pull_request) Successful in 5m35s
2024-02-14 21:54:19 -07:00
0fbdb18a76
Fix logging for multi-container pods
Lint Checks / Run linter (pull_request) Failing after 22s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m19s
Webapp Test / Run webapp test suite (pull_request) Successful in 2m51s
Smoke Test / Run basic test suite (pull_request) Successful in 2m55s
2024-02-14 15:59:03 -07:00
afadc83966
Add function to enumerate containers in a pod
Lint Checks / Run linter (pull_request) Successful in 27s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m5s
Smoke Test / Run basic test suite (pull_request) Successful in 5m35s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m7s
2024-02-14 15:58:25 -07:00
b22c72e715
For k8s, use provisioner-managed volumes when an absolute host path is not specified. ( #741 )
...
Lint Checks / Run linter (push) Successful in 45s
Publish / Build and publish (push) Successful in 1m22s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Failing after 3m20s
Deploy Test / Run deploy test suite (push) Successful in 5m28s
Webapp Test / Run webapp test suite (push) Successful in 4m28s
Smoke Test / Run basic test suite (push) Successful in 4m58s
In kind, when we bind-mount a host directory it is first mounted into the kind container at /mnt, then into the pod at the desired location.
We accidentally picked this up for full-blown k8s, and were creating volumes at /mnt. This changes the behavior for both kind and regular k8s so that bind mounts are only allowed if a fully-qualified path is specified. If no path is specified at all, a default storageClass is assumed to be present, and the volume managed by a provisioner.
Eg, for kind, the default provisioner is: https://github.com/rancher/local-path-provisioner
```
stack: test
deploy-to: k8s-kind
config:
test-variable-1: test-value-1
network:
ports:
test:
- '80'
volumes:
# this will be bind-mounted to a host-path
test-data-bind: /srv/data
# this will be managed by the k8s node
test-data-auto:
configmaps:
test-config: ./configmap/test-config
```
Reviewed-on: #741
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-14 21:45:01 +00:00
c9444591f5
Fix default webapp port number. ( #740 )
...
Lint Checks / Run linter (push) Successful in 43s
Publish / Build and publish (push) Successful in 56s
Webapp Test / Run webapp test suite (push) Successful in 3m26s
Smoke Test / Run basic test suite (push) Successful in 3m24s
Deploy Test / Run deploy test suite (push) Successful in 5m9s
Reviewed-on: #740
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-09 01:20:41 +00:00
903f3b10e2
Add support for annotations and labels in spec. ( #739 )
...
Lint Checks / Run linter (push) Successful in 30s
Publish / Build and publish (push) Successful in 1m36s
Webapp Test / Run webapp test suite (push) Successful in 2m38s
Deploy Test / Run deploy test suite (push) Successful in 3m58s
Smoke Test / Run basic test suite (push) Successful in 4m50s
Lint Checks / Run linter (pull_request) Successful in 51s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m12s
Smoke Test / Run basic test suite (pull_request) Successful in 3m36s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m40s
```
stack: webapp-deployer-backend
deploy-to: k8s
annotations:
foo.bar.annot/{name}: baz
labels:
a.b.c/{name}.blah: "value"
```
Reviewed-on: #739
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-09 00:11:07 +00:00
72ed2eb91a
Fix bad test in tag check. ( #738 )
...
Lint Checks / Run linter (push) Successful in 42s
Publish / Build and publish (push) Successful in 1m11s
Deploy Test / Run deploy test suite (push) Successful in 4m40s
Webapp Test / Run webapp test suite (push) Successful in 3m31s
Smoke Test / Run basic test suite (push) Successful in 5m30s
Reviewed-on: #738
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-08 20:38:41 +00:00
8be1e684e8
Process environment variables defined in compose files ( #736 )
...
Lint Checks / Run linter (push) Successful in 48s
Publish / Build and publish (push) Successful in 1m38s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Failing after 4m28s
Deploy Test / Run deploy test suite (push) Successful in 5m8s
Webapp Test / Run webapp test suite (push) Successful in 5m50s
Smoke Test / Run basic test suite (push) Successful in 6m22s
Reviewed-on: #736
Co-authored-by: David Boreham <david@bozemanpass.com>
Co-committed-by: David Boreham <david@bozemanpass.com>
2024-02-08 19:41:57 +00:00
3309782439
Refactor
Lint Checks / Run linter (pull_request) Successful in 58s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m7s
Smoke Test / Run basic test suite (pull_request) Successful in 4m11s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m41s
2024-02-08 00:47:46 -06:00
4b3b3478e7
Switch to Docker-style limits
Lint Checks / Run linter (pull_request) Successful in 51s
Deploy Test / Run deploy test suite (pull_request) Successful in 3m56s
Smoke Test / Run basic test suite (pull_request) Successful in 4m6s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m45s
2024-02-08 00:43:41 -06:00
2a9955055c
debug
Lint Checks / Run linter (pull_request) Successful in 38s
Deploy Test / Run deploy test suite (pull_request) Successful in 2m47s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m21s
Smoke Test / Run basic test suite (pull_request) Successful in 2m42s
2024-02-07 16:56:35 -06:00
8964e1c0fe
Add resource limit options to spec.
2024-02-07 16:48:02 -06:00
d2ebb81d77
Tags for undeploy ( #734 )
...
Lint Checks / Run linter (push) Successful in 27s
Publish / Build and publish (push) Successful in 44s
Deploy Test / Run deploy test suite (push) Successful in 2m43s
Webapp Test / Run webapp test suite (push) Successful in 2m35s
Smoke Test / Run basic test suite (push) Successful in 2m36s
```
--include-tags TEXT Only include requests with matching tags
(comma-separated).
--exclude-tags TEXT Exclude requests with matching tags (comma-
separated).
```
Reviewed-on: #734
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-02-07 21:45:16 +00:00
88a0236ca9
Add the ability to filter deployment requests by tag. ( #730 )
...
Lint Checks / Run linter (push) Successful in 32s
Publish / Build and publish (push) Successful in 1m17s
Deploy Test / Run deploy test suite (push) Successful in 2m58s
Webapp Test / Run webapp test suite (push) Successful in 4m12s
Smoke Test / Run basic test suite (push) Successful in 2m40s
Reviewed-on: #730
2024-02-07 03:12:40 +00:00
bfbcfb7904
Volume processing fixes ( #729 )
2024-02-06 12:32:10 -07:00
6848fc33cf
Implement dry run support for k8s deploy ( #727 )
2024-02-06 07:07:56 -07:00
36bb068983
Add ConfigMap test. ( #726 )
...
* Add ConfigMap test.
* eof
* Minor tweak
* Trigger test
---------
Co-authored-by: David Boreham <david@bozemanpass.com>
2024-02-05 14:15:11 -06:00
2fcd416e29
Basic webapp deployer stack. ( #722 )
2024-02-02 19:05:15 -07:00
6629017d6a
Support other webapp types (react, static). ( #721 )
...
* Support other webapp types (react, static).
2024-02-02 18:04:06 -06:00
b398050787
Don't include volumes in spec if we don't have any. ( #720 )
2024-01-31 15:11:32 -06:00
12ec1bec43
Add ConfigMap support for k8s. ( #714 )
...
* Minor fixes for deploying with k8s and podman.
* ConfigMap support
2024-01-30 23:09:48 -06:00
62af03077f
Add deployed/error status output to the state file. ( #719 )
...
* More status info
* Up default resource limits.
* Need ps
2024-01-30 22:13:45 -06:00
428b05158e
Fix DnsRecord ownership check. ( #718 )
...
* Fix DnsRecord ownership check.
* Var names
2024-01-30 13:31:59 -06:00
1f9653e6f7
Fix kind mode and add k8s deployment test ( #704 )
...
* Fix kind mode and add k8s deployment test
* Fix lint errors
2024-01-16 15:55:58 -07:00
b83030f63b
Use custom act with gitea. ( #700 )
...
* Use custom act with gitea.
* Make sure wget is available
* Fix repo url
2024-01-09 22:53:43 -06:00
837e443800
Support application removal requests. ( #697 )
...
* Support application removal request.
* Git should never prompt when deploying a webapp
2023-12-21 18:05:40 -06:00
d8357df345
Add image pull secret to pods ( #692 )
2023-12-15 14:27:45 -07:00
27a14737f8
Make the container tag based on the deployment path. ( #688 )
2023-12-14 09:49:21 -06:00
1f4eb57069
Add --dry-run option ( #686 )
2023-12-13 22:56:40 -06:00
88f66a3626
Add deployment update
and deploy-webapp-from-registry
commands. ( #676 )
2023-12-13 21:02:34 -06:00
077ea80c70
Add deployment status
command and fix k8s output for deployment ps
( #679 )
2023-12-06 09:27:47 -07:00
15faed00de
Generate a unique deployment id for each deployment ( #680 )
...
* Move cluster name generation into a function
* Generate a unique deployment id for each deployment
2023-12-05 22:56:58 -07:00
ab0e70ed83
Change path portion of unique cluster name to point to compose file, not argv[0]. ( #678 )
2023-12-04 13:39:14 -06:00
d7093277b4
Use constants ( #671 )
2023-11-29 20:50:53 -07:00
03a3645b3c
Add --port option to run-webapp. ( #667 )
...
* Add --port option to run-webapp
* Fixed merge
* lint
2023-11-29 11:32:28 -06:00
113c0bfbf1
Propagate env file for webapp deployment ( #669 )
2023-11-28 21:14:02 -07:00
1a069a6816
Use a temp file for the spec file name ( #668 )
2023-11-28 19:56:12 -07:00
a68cd5d65c
Webapp deploy ( #662 )
2023-11-27 22:02:16 -07:00
87bedde5cb
Support for k8s ingress and tls ( #659 )
2023-11-21 16:04:36 -07:00
01029cf7aa
Fix for code path that doesn't create a DeploymentContext ( #658 )
2023-11-21 08:35:31 -07:00
f6624cb33a
Add image push command ( #656 )
2023-11-20 20:23:55 -07:00
c9c6a0eee3
Changes for remote k8s ( #655 )
2023-11-20 09:12:57 -07:00
5c80887215
Fix missing tty parameter. ( #653 )
2023-11-16 12:58:03 -06:00
2059d67dca
Add run-webapp command. ( #651 )
2023-11-15 10:54:27 -07:00
ce587457d7
Add env var support for k8s ( #634 )
2023-11-08 17:53:46 -07:00
5e91c2224e
kind test stack ( #629 )
2023-11-08 01:11:00 -07:00
4456e70c93
Rename app -> stack_orchestrator ( #625 )
2023-11-07 00:06:55 -07:00