Compare commits
3 Commits
d628fdabf6
...
5dd015fbd3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5dd015fbd3 | ||
| ba5f105e2d | |||
| 08825d9087 |
17
.drone.yml
17
.drone.yml
@@ -1,17 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: renovate
|
||||
|
||||
steps:
|
||||
- name: renovate
|
||||
image: renovate/renovate:41.146.0
|
||||
commands:
|
||||
- unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL
|
||||
- renovate
|
||||
|
||||
environment:
|
||||
RENOVATE_TOKEN:
|
||||
from_secret: RENOVATE_TOKEN
|
||||
GITHUB_COM_TOKEN:
|
||||
from_secret: GITHUB_COM_TOKEN
|
||||
23
.gitea/workflows/renovate.yml
Normal file
23
.gitea/workflows/renovate.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "@daily"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: renovate/renovate:41.146.0
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run Renovate
|
||||
env:
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
GITHUB_COM_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
run: |
|
||||
renovate
|
||||
@@ -2,7 +2,7 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: gitea-act-runner-ceph
|
||||
name: gitea-act-runner-longhorn
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
@@ -11,4 +11,4 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
storageClassName: csi-rbd-sc
|
||||
storageClassName: longhorn
|
||||
@@ -25,7 +25,7 @@ spec:
|
||||
emptyDir: {}
|
||||
- name: runner-data
|
||||
persistentVolumeClaim:
|
||||
claimName: gitea-act-runner-ceph
|
||||
claimName: gitea-act-runner-longhorn
|
||||
initContainers:
|
||||
- name: wait-for-gitea
|
||||
image: busybox
|
||||
@@ -52,7 +52,7 @@ spec:
|
||||
- name: GITEA_INSTANCE_URL
|
||||
value: "https://gitea.akshun-lab.cc"
|
||||
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||
value: "NvAHP4f1in4Fpe6VFaiwiN98IR0poOQoDv4dDKcN"
|
||||
value: "uxvKmGvtraocJMCcfJ101XC9kUoY8OlCEN18CvgZ"
|
||||
- name: CONFIG_FILE
|
||||
value: "/data/config.yaml"
|
||||
volumeMounts:
|
||||
@@ -70,4 +70,3 @@ spec:
|
||||
volumeMounts:
|
||||
- name: docker-certs
|
||||
mountPath: /certs
|
||||
|
||||
Reference in New Issue
Block a user