gitea runner
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
19
.gitea/workflows/demo.yaml
Normal file
19
.gitea/workflows/demo.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
!monitoring/grafana/prometheus.yml
|
!monitoring/grafana/prometheus.yml
|
||||||
!caddy/config/**
|
!caddy/config/**
|
||||||
|
!.gitea/**
|
||||||
@@ -42,6 +42,9 @@
|
|||||||
@pdf host pdf.ccalifice.com
|
@pdf host pdf.ccalifice.com
|
||||||
reverse_proxy @pdf http://192.168.1.202:8585
|
reverse_proxy @pdf http://192.168.1.202:8585
|
||||||
|
|
||||||
|
@loki host loki.ccalifice.com
|
||||||
|
reverse_proxy @loki http://192.168.1.202:3100
|
||||||
|
|
||||||
# @ariang host ariang.ccalifice.com
|
# @ariang host ariang.ccalifice.com
|
||||||
# reverse_proxy @ariang http://192.168.1.202:6880
|
# reverse_proxy @ariang http://192.168.1.202:6880
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,3 +38,18 @@ services:
|
|||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgres:/var/lib/postgresql/data
|
- ./postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
runner:
|
||||||
|
image: docker.io/gitea/act_runner:nightly
|
||||||
|
environment:
|
||||||
|
CONFIG_FILE: /config.yaml
|
||||||
|
GITEA_INSTANCE_URL: http://gitea:3000
|
||||||
|
GITEA_RUNNER_REGISTRATION_TOKEN: "JjKRS66pgttENtYVVmhnT3TpfjVMfH7mIdEY19R3"
|
||||||
|
GITEA_RUNNER_NAME: "services-runner"
|
||||||
|
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
|
||||||
|
volumes:
|
||||||
|
- ./runner/config.yaml:/config.yaml
|
||||||
|
- ./runner/data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
networks:
|
||||||
|
- gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user