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
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea-act-runner-ceph
|
name: gitea-act-runner-longhorn
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
@@ -11,4 +11,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 100Mi
|
storage: 100Mi
|
||||||
storageClassName: csi-rbd-sc
|
storageClassName: longhorn
|
||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: gitea-act-runner-ceph
|
claimName: gitea-act-runner-longhorn
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-gitea
|
- name: wait-for-gitea
|
||||||
image: busybox
|
image: busybox
|
||||||
@@ -52,7 +52,7 @@ spec:
|
|||||||
- name: GITEA_INSTANCE_URL
|
- name: GITEA_INSTANCE_URL
|
||||||
value: "https://gitea.akshun-lab.cc"
|
value: "https://gitea.akshun-lab.cc"
|
||||||
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
- name: GITEA_RUNNER_REGISTRATION_TOKEN
|
||||||
value: "NvAHP4f1in4Fpe6VFaiwiN98IR0poOQoDv4dDKcN"
|
value: "uxvKmGvtraocJMCcfJ101XC9kUoY8OlCEN18CvgZ"
|
||||||
- name: CONFIG_FILE
|
- name: CONFIG_FILE
|
||||||
value: "/data/config.yaml"
|
value: "/data/config.yaml"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@@ -70,4 +70,3 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: docker-certs
|
- name: docker-certs
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
|
|
||||||
Reference in New Issue
Block a user