This commit is contained in:
parent
281a01db5e
commit
892f89b73f
22
.drone.yml
22
.drone.yml
@ -10,10 +10,26 @@ steps:
|
|||||||
- name: generate
|
- name: generate
|
||||||
image: thegeeklab/alpine-tools
|
image: thegeeklab/alpine-tools
|
||||||
commands:
|
commands:
|
||||||
- curl -SsfL -o /usr/local/bin/openapi2jsonschema "https://raw.githubusercontent.com/yannh/kubeconform/master/scripts/openapi2jsonschema.py"
|
|
||||||
- chmod +x /usr/local/bin/openapi2jsonschema
|
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: thegeeklab/drone-git-action
|
||||||
|
settings:
|
||||||
|
action:
|
||||||
|
- pages
|
||||||
|
author_email: shipper@rknet.org
|
||||||
|
author_name: shipper
|
||||||
|
branch: catalog
|
||||||
|
message: auto-update crds catalog
|
||||||
|
netrc_machine: gitea.rknet.org
|
||||||
|
netrc_password:
|
||||||
|
from_secret: gitea_token
|
||||||
|
pages_directory: dist/
|
||||||
|
remote_url: https://gitea.rknet.org/infra/${DRONE_REPO_NAME}
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/heads/main
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/main
|
- refs/heads/main
|
||||||
@ -59,6 +75,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a72cd768ef5389dc4d62333cf26ec47c9a7b14a3d244fa76c15ca73887cd1296
|
hmac: f93aa1c27fdb75892ba6c5d0574d37332da585254a2af407a209efa244f4ef83
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user