2023-06-20 14:09:30 +00:00
|
|
|
#cloud-config
|
|
|
|
|
|
|
|
|
|
# Used for installing Stack Orchestrator on platforms that support `cloud-init`
|
|
|
|
|
# Tested on Ubuntu
|
|
|
|
|
|
|
|
|
|
package_update: true
|
|
|
|
|
package_upgrade: true
|
|
|
|
|
|
|
|
|
|
groups:
|
|
|
|
|
- docker
|
|
|
|
|
|
|
|
|
|
system_info:
|
|
|
|
|
default_user:
|
|
|
|
|
groups: [ docker ]
|
|
|
|
|
|
|
|
|
|
packages:
|
|
|
|
|
- apt-transport-https
|
|
|
|
|
- ca-certificates
|
|
|
|
|
- curl
|
|
|
|
|
- jq
|
|
|
|
|
- git
|
|
|
|
|
- gnupg
|
|
|
|
|
- lsb-release
|
|
|
|
|
- unattended-upgrades
|
|
|
|
|
|
|
|
|
|
runcmd:
|
|
|
|
|
- mkdir -p /etc/apt/keyrings
|
|
|
|
|
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
|
|
|
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
|
|
|
- apt-get update
|
|
|
|
|
- apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
|
|
|
|
- systemctl enable docker
|
|
|
|
|
- systemctl start docker
|
Migrate canonical source from Gitea to GitHub (#738)
- Update all self-references from `git.vdb.to/cerc-io/stack-orchestrator` to
`github.com/cerc-io/stack-orchestrator` (setup.py, pyproject.toml, README,
docs, install scripts, cloud-init scripts, stack READMEs)
- Fix release download URL pattern (`releases/download/latest` -> `releases/latest/download`)
- Port 5 Gitea-only CI workflows to GitHub Actions (k8s-deploy, k8s-deployment-control, container-registry, database, external-stack)
- Pin `shiv==1.0.8` in all workflows for reproducible builds
- Restrict smoke/deploy/webapp test push triggers to `main` only
- Remove `.gitea/` directory - Gitea repo to be archived
2026-04-02 05:28:14 +00:00
|
|
|
- curl -L -o /usr/local/bin/laconic-so https://github.com/cerc-io/stack-orchestrator/releases/latest/download/laconic-so
|
2023-06-20 14:09:30 +00:00
|
|
|
- chmod +x /usr/local/bin/laconic-so
|