Compare commits
1 Commits
5dd015fbd3
...
d628fdabf6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d628fdabf6 |
17
.drone.yml
Normal file
17
.drone.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
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-longhorn
|
name: gitea-act-runner-ceph
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
@@ -11,4 +11,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 100Mi
|
storage: 100Mi
|
||||||
storageClassName: longhorn
|
storageClassName: csi-rbd-sc
|
||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: runner-data
|
- name: runner-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: gitea-act-runner-longhorn
|
claimName: gitea-act-runner-ceph
|
||||||
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: "uxvKmGvtraocJMCcfJ101XC9kUoY8OlCEN18CvgZ"
|
value: "NvAHP4f1in4Fpe6VFaiwiN98IR0poOQoDv4dDKcN"
|
||||||
- name: CONFIG_FILE
|
- name: CONFIG_FILE
|
||||||
value: "/data/config.yaml"
|
value: "/data/config.yaml"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@@ -70,3 +70,4 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: docker-certs
|
- name: docker-certs
|
||||||
mountPath: /certs
|
mountPath: /certs
|
||||||
|
|
||||||
Reference in New Issue
Block a user