Friendship ended with Github, Gitea / Drone is my friend
This commit is contained in:
parent
dffe6fdee3
commit
546536fb55
52
.drone.yml
Normal file
52
.drone.yml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: publish pipeline
|
||||||
|
steps:
|
||||||
|
- name: publish astro container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username: 3wordchant
|
||||||
|
password:
|
||||||
|
from_secret: git_autonomic_zone_token_3wc
|
||||||
|
repo: git.autonomic.zone/${REPO_OWNER}/${REPO_NAME}
|
||||||
|
auto_tag: true
|
||||||
|
registry: git.autonomic.zone
|
||||||
|
context: astro
|
||||||
|
dockerfile: astro/Dockerfile
|
||||||
|
target: prod
|
||||||
|
- name: publish payload container
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username: 3wordchant
|
||||||
|
password:
|
||||||
|
from_secret: git_autonomic_zone_token_3wc
|
||||||
|
repo: git.autonomic.zone/${REPO_OWNER}/${REPO_NAME}
|
||||||
|
auto_tag: true
|
||||||
|
registry: git.autonomic.zone
|
||||||
|
context: payload
|
||||||
|
dockerfile: payload/Dockerfile
|
||||||
|
target: prod
|
||||||
|
# See https://docz.autonomic.zone/doc/setting-up-auto-deployment-using-drone-I4j2onjaKT
|
||||||
|
- name: deploy stack
|
||||||
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||||
|
settings:
|
||||||
|
stack: <FILL IN e.g. subdomain_domain_tld>
|
||||||
|
host: <FILL IN HOST HERE>
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_<FILL IN>
|
||||||
|
environment:
|
||||||
|
DOMAIN: <FILL IN>
|
||||||
|
STACK_NAME: <FILL IN e.g. subdomain_domain_tld>
|
||||||
|
SECRET_PAYLOAD_SECRET_VERSION: v1
|
||||||
|
SECRET_TOKEN_VERSION: v1
|
||||||
|
SECRET_MONGO_PASSWORD_VERSION: v1
|
||||||
|
depends_on:
|
||||||
|
- publish astro container
|
||||||
|
- publish payload container
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
|
1
.gitea/template
Normal file
1
.gitea/template
Normal file
@ -0,0 +1 @@
|
|||||||
|
.drone.yml
|
10
.github/dependabot.yml
vendored
10
.github/dependabot.yml
vendored
@ -1,10 +0,0 @@
|
|||||||
version: 2
|
|
||||||
updates:
|
|
||||||
- package-ecosystem: "npm"
|
|
||||||
directory: "/astro"
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
||||||
- package-ecosystem: "npm"
|
|
||||||
directory: "/payload"
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
Loading…
Reference in New Issue
Block a user