stack-orchestrator/stack_orchestrator/deploy
Thomas E Lackey 6087e1cd31
All checks were successful
Lint Checks / Run linter (push) Successful in 42s
Publish / Build and publish (push) Successful in 1m15s
Deploy Test / Run deploy test suite (push) Successful in 4m43s
Webapp Test / Run webapp test suite (push) Successful in 4m40s
Smoke Test / Run basic test suite (push) Successful in 3m49s
Database Test / Run database hosting test on kind/k8s (push) Successful in 9m9s
Container Registry Test / Run contaier registry hosting test on kind/k8s (push) Successful in 3m33s
External Stack Test / Run external stack test suite (push) Successful in 4m34s
Fixturenet-Laconicd-Test / Run Laconicd fixturenet and Laconic CLI tests (push) Successful in 13m43s
K8s Deploy Test / Run deploy test suite on kind/k8s (push) Successful in 7m19s
Copy config under a volume for Docker (similar to a ConfigMap for K8S). (#914)
This emulates the K8S ConfigMap behavior on Docker by using a regular volume.

If a directory exists under `config/` which matches a named volume, the contents will be copied to the volume on `create` (provided the destination volume is empty).  That is, rather than a ConfigMap, it is essentially a "config volume".

For example, with a compose file like:

```
version: '3.7'
services:
  caddy:
    image: cerc/caddy-ethcache:local
    restart: always
    volumes:
      - caddyconfig:/etc/caddy:ro
volumes:
  caddyconfig:
```

And a directory:

```
❯ ls stack-orchestrator/config/caddyconfig/
Caddyfile
```

After `laconic-so deploy create --spec-file caddy.yml --deployment-dir /srv/caddy` there will be:

```
❯ ls /srv/caddy/data/caddyconfig
Caddyfile
```

Mounted at `/etc/caddy`

Reviewed-on: #914
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-08-10 02:32:21 +00:00
..
compose Implement dry run support for k8s deploy (#727) 2024-02-06 07:07:56 -07:00
k8s Support multiple NodePorts, static NodePort mapping, and add 'replicas' spec option (#913) 2024-08-09 02:32:06 +00:00
webapp Back to v2 now that we have a working webapp deployer build again. (#896) 2024-07-27 18:59:42 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Add stage 1 support 2024-08-07 11:28:10 -06:00
deploy_util.py Mainnet-laconic stack fixes for laconicd2 (#904) 2024-07-31 13:51:28 +00:00
deploy.py Fixes for external stack deployment (#851) 2024-07-09 15:37:35 +00:00
deployer_factory.py Add ConfigMap test. (#726) 2024-02-05 14:15:11 -06:00
deployer.py Add deployment update and deploy-webapp-from-registry commands. (#676) 2023-12-13 21:02:34 -06:00
deployment_context.py Generate a unique deployment id for each deployment (#680) 2023-12-05 22:56:58 -07:00
deployment_create.py Copy config under a volume for Docker (similar to a ConfigMap for K8S). (#914) 2024-08-10 02:32:21 +00:00
deployment.py Fixes for external stack deployment (#851) 2024-07-09 15:37:35 +00:00
images.py Fix image tag name 2024-06-13 08:31:45 -06:00
spec.py Support multiple NodePorts, static NodePort mapping, and add 'replicas' spec option (#913) 2024-08-09 02:32:06 +00:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py kind test stack (#629) 2023-11-08 01:11:00 -07:00