- Fork the repository
- Create new directory in
compute
, created directory will be your project name - Create
.yaml
file with the name of your compute - Fill the
.yaml
file according to your needs, follow this example, verify that your preset is listed in Flavorsssh: your-public-key flavor: operating_system: ubuntu_22_04 disk_space: 15GB cpu_cores: 1 RAM: 1GB region: SPB-1 playbooks: - name: playbook1 link: https://some-playbook.com/raw vars: [ ] - name: playbook2 link: https://some-playbook.com/raw vars: - name: var_name value: 1234 - name: secret_name value: "vault@path/to/secret.secret_name"
- Create merge request to the
main
branch of the parent repository and wait for approval - After approve you will see the pipeline, that will create the compute
- After the pipeline is finished, you will see your compute information in pipeline logs
- Grafana dashboard to see your VM system info: https://grafana.levelware.ru/
login: visitor password: visitor - Vault secrets: https://vault.levelware.ru/ Ask @egor-salnikov for credentials
- Fork the repository
- Delete corresponding
.yaml
file - Create merge request to the main repository and wait for approval
OS | Keyword (with version) |
---|---|
CentOS | centos_7, centos_8, centos_9 |
Ubuntu | ubuntu_18_04, ubuntu_20_04, ubuntu_22_04 |
Debian | debian_10, debian_11, debian_12 |
Archlinux | archlinux_2_12 |
CPU | RAM | Disk | Region |
---|---|---|---|
1 | 1GB | 15GB | SPB-1 / MSK-1 |
1 | 2GB | 30GB | SPB-1 / MSK-1 |
2 | 2GB | 40GB | SPB-1 / MSK-1 |
2 | 4GB | 50GB | SPB-1 / MSK-1 |
4 | 8GB | 80GB | SPB-1 / MSK-1 |
- Install Python 3.12 or later
- Install Poetry
- Run
poetry install
in the root directory of the project - Run
poetry shell
to activate the virtual environment