fix: Production workflow optimization
All checks were successful
Deploy to Staging / Build Images (push) Successful in 21s
Deploy to Staging / Deploy to Staging (push) Successful in 27s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 6s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
All checks were successful
Deploy to Staging / Build Images (push) Successful in 21s
Deploy to Staging / Deploy to Staging (push) Successful in 27s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 6s
Deploy to Staging / Notify Staging Failure (push) Has been skipped
This commit is contained in:
48
ansible/inventory.yml.example
Normal file
48
ansible/inventory.yml.example
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
# MotoVaultPro Ansible Inventory Example
|
||||
# Copy this file to inventory.yml and fill in your values
|
||||
#
|
||||
# Usage:
|
||||
# cp inventory.yml.example inventory.yml
|
||||
# # Edit inventory.yml with your server IPs and tokens
|
||||
# ansible-playbook -i inventory.yml deploy-staging-runner.yml --ask-become-pass
|
||||
|
||||
all:
|
||||
children:
|
||||
staging:
|
||||
hosts:
|
||||
staging.motovaultpro.com:
|
||||
ansible_host: "YOUR_STAGING_SERVER_IP"
|
||||
ansible_user: "root" # or your SSH user
|
||||
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
|
||||
|
||||
# Required: Get from Gitea -> Settings -> Actions -> Runners
|
||||
gitea_runner_token: "YOUR_RUNNER_REGISTRATION_TOKEN"
|
||||
|
||||
# Required: Get from Gitea -> Settings -> Applications
|
||||
# Needs read:packages and write:packages scopes
|
||||
gitea_registry_token: "YOUR_REGISTRY_ACCESS_TOKEN"
|
||||
|
||||
# Optional overrides
|
||||
# gitea_username: "egullickson"
|
||||
# act_runner_version: "0.2.13"
|
||||
# upgrade_packages: false
|
||||
|
||||
production:
|
||||
hosts:
|
||||
motovaultpro.com:
|
||||
ansible_host: "YOUR_PRODUCTION_SERVER_IP"
|
||||
ansible_user: "root" # or your SSH user
|
||||
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
|
||||
|
||||
# Required: Get from Gitea -> Settings -> Actions -> Runners
|
||||
gitea_runner_token: "YOUR_RUNNER_REGISTRATION_TOKEN"
|
||||
|
||||
# Required: Get from Gitea -> Settings -> Applications
|
||||
# Needs read:packages and write:packages scopes
|
||||
gitea_registry_token: "YOUR_REGISTRY_ACCESS_TOKEN"
|
||||
|
||||
# Optional overrides
|
||||
# gitea_username: "egullickson"
|
||||
# act_runner_version: "0.2.13"
|
||||
# upgrade_packages: false
|
||||
Reference in New Issue
Block a user