|
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 38s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m9s
Smoke Test / Run basic test suite (pull_request) Successful in 4m48s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m32s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m34s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m24s
|
||
|---|---|---|
| .. | ||
| README.md | ||
| stack.yml | ||
Package Registry Stack
The Package Registry Stack supports a build environment that requires a package registry (initially for NPM packages only).
Setup
-
Setup required repos and build containers:
laconic-so --stack package-registry setup-repositories laconic-so --stack package-registry build-containers -
Create a deployment:
laconic-so --stack package-registry deploy init --output package-registry-spec.yml # Update port mapping in the laconic-loaded.spec file to resolve port conflicts on host if any laconic-so --stack package-registry deploy create --deployment-dir package-registry-deployment --spec-file package-registry-spec.yml -
Start the deployment:
laconic-so deployment --dir package-registry-deployment start -
The local gitea registry can now be accessed at http://localhost:3000 (the username and password can be taken from the deployment logs)
-
Configure the hostname
gitea.local:Update
/etc/hosts:sudo nano /etc/hosts # Add the following line 127.0.0.1 gitea.localCheck resolution:
ping gitea.local PING gitea.local (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.147 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.033 ms ...