Update
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
This commit is contained in:
rodič
22e0795bf0
revize
0a2a446c01
|
@ -22,7 +22,8 @@ function defaultOptions(conf) {
|
|||
|
||||
const strategies = {
|
||||
async default (conf, all) {
|
||||
const req = await fetch(conf.url, defaultOptions(conf))
|
||||
const options = conf.options || {}
|
||||
const req = await fetch(conf.url, { ...options, ...defaultOptions(conf) })
|
||||
const resp = await req.json()
|
||||
return jsonata(conf.query).evaluate(resp)
|
||||
},
|
||||
|
|
|
@ -153,13 +153,35 @@ services:
|
|||
|
||||
- name: Kubo (IPFS)
|
||||
host: ipfs.gwei.cz
|
||||
repo: ipfs/kubo
|
||||
server: hex
|
||||
monitor: 5
|
||||
version_conf:
|
||||
from:
|
||||
auth:
|
||||
type: basic
|
||||
env: GWEICZ_IPFS_AUTH
|
||||
url: https://ipfs-api.gwei.cz/api/v0/id
|
||||
options:
|
||||
method: post
|
||||
query: '$match(AgentVersion,/^kubo\/(.+)\//)[0].groups[0]'
|
||||
to:
|
||||
strategy: github
|
||||
|
||||
- name: IPFS Cluster
|
||||
host: ipfs-cluster.gwei.cz
|
||||
server: hex
|
||||
monitor: 39
|
||||
repo: ipfs-cluster/ipfs-cluster
|
||||
version_conf:
|
||||
from:
|
||||
auth:
|
||||
type: basic
|
||||
env: GWEICZ_IPFSCLUSTER_AUTH
|
||||
url: https://ipfs-cluster.gwei.cz/version
|
||||
query: version
|
||||
to:
|
||||
strategy: github
|
||||
|
||||
- name: Woodpecker CI
|
||||
host: ci.gwei.cz
|
||||
|
|
Načítá se…
Odkázat v novém úkolu