Add deployment update and deploy-webapp-from-registry commands. #676

Merged
telackey merged 23 commits from telackey/deployer into main 2023-12-14 03:02:34 +00:00
Contributor
❯ laconic-so deploy-webapp-from-registry --kube-config ~/.kube/config-wireline --image-registry registry.digitalocean.com/laconic-registry --deployment-parent-dir /home/telackey/opt/deployments --laconic-config ~/.laconic/local.yml --dns-suffix laconic.servesthe.world --record-namespace-dns crn://cerc-io/dns --record-namespace-deployments crn://cerc-io/deployments --request-id bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy
Generating name test-progressive-web-app-6fc1159a33 for request bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy.
Found request bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy to run application crn://cerc-io/applications/test-progressive-web-app@0.1.1 on test-progressive-web-app-6fc1159a33.
Request bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy needs to processed.
Found 1 unsatisfied request(s) to process.
Matched DnsRecord ownership to FCCE01FCC2472AEDBCF33902907F33262445AC2C
Deploying to k8s
record:
  meta:
    so: 25283a071ece49ccb3b93eca08c74a8f
  name: test-progressive-web-app-6fc1159a33.laconic.servesthe.world
  request: bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy
  resource_type: A
  type: DnsRecord
  version: 0.0.5

record:
  application: bafyreibvgilee3k3eftqsgogyceg4xnzg34c2szbgjb5mgjzxgbpnl5huu
  dns: bafyreid6v2ukamejlgqr3tubihwf2vossyw2b5q3s6zd4w6e4m64yodauy
  meta:
    config: 642ddaaffbd2339db45117ca7298383d0a2856d2
    so: 25283a071ece49ccb3b93eca08c74a8f
  name: '@cerc-io/test-progressive-web-app'
  request: bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy
  type: ApplicationDeploymentRecord
  url: https://test-progressive-web-app-6fc1159a33.laconic.servesthe.world
  version: 0.0.8

``` ❯ laconic-so deploy-webapp-from-registry --kube-config ~/.kube/config-wireline --image-registry registry.digitalocean.com/laconic-registry --deployment-parent-dir /home/telackey/opt/deployments --laconic-config ~/.laconic/local.yml --dns-suffix laconic.servesthe.world --record-namespace-dns crn://cerc-io/dns --record-namespace-deployments crn://cerc-io/deployments --request-id bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy Generating name test-progressive-web-app-6fc1159a33 for request bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy. Found request bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy to run application crn://cerc-io/applications/test-progressive-web-app@0.1.1 on test-progressive-web-app-6fc1159a33. Request bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy needs to processed. Found 1 unsatisfied request(s) to process. Matched DnsRecord ownership to FCCE01FCC2472AEDBCF33902907F33262445AC2C Deploying to k8s record: meta: so: 25283a071ece49ccb3b93eca08c74a8f name: test-progressive-web-app-6fc1159a33.laconic.servesthe.world request: bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy resource_type: A type: DnsRecord version: 0.0.5 record: application: bafyreibvgilee3k3eftqsgogyceg4xnzg34c2szbgjb5mgjzxgbpnl5huu dns: bafyreid6v2ukamejlgqr3tubihwf2vossyw2b5q3s6zd4w6e4m64yodauy meta: config: 642ddaaffbd2339db45117ca7298383d0a2856d2 so: 25283a071ece49ccb3b93eca08c74a8f name: '@cerc-io/test-progressive-web-app' request: bafyreigddezyktahmt7pjb3id6tu2goqqoxp55vs5o3bjwkymgat7pylgy type: ApplicationDeploymentRecord url: https://test-progressive-web-app-6fc1159a33.laconic.servesthe.world version: 0.0.8 ```
Contributor

This seems indicative of some problem somewhere?

This seems indicative of some problem somewhere?
Author
Contributor

Yes, it is. The web console doesn't track the auto-assigned ports, so unless it is 9473 the UI is broken. We'll need to fix the console.

Yes, it is. The web console doesn't track the auto-assigned ports, so unless it is 9473 the UI is broken. We'll need to fix the console.
This repo is archived. You cannot comment on pull requests.
No Reviewers
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#676