updates
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
This commit is contained in:
rodič
5e6799e6d9
revize
bcfd26635c
|
@ -39,7 +39,14 @@ const strategies = {
|
|||
async default (conf, all) {
|
||||
const options = conf.options || {}
|
||||
const req = await fetch(conf.url, { ...options, ...defaultOptions(conf) })
|
||||
const resp = await req.json()
|
||||
let resp;
|
||||
try {
|
||||
resp = await req.json()
|
||||
} catch (e) {
|
||||
console.error(`Error: Failed!!!: ` + conf.url)
|
||||
resp = {}
|
||||
}
|
||||
|
||||
return jsonata(conf.query).evaluate(resp)
|
||||
},
|
||||
async github (conf, all) {
|
||||
|
|
|
@ -117,7 +117,21 @@ services:
|
|||
host: forum.dczk.cz
|
||||
repo: discourse/discourse
|
||||
server: homestead
|
||||
monitor: 2
|
||||
monitor: 14
|
||||
version_conf:
|
||||
from:
|
||||
strategy: none
|
||||
#strategy: html
|
||||
#url: https://forum.dczk.cz
|
||||
#query: 'content="Discourse ([^\s]+) -'
|
||||
to:
|
||||
strategy: github_tags
|
||||
|
||||
- name: Discourse (EthereumEG)
|
||||
host: ethevents.club
|
||||
repo: discourse/discourse
|
||||
server: homestead
|
||||
monitor: 45
|
||||
version_conf:
|
||||
from:
|
||||
strategy: none
|
||||
|
@ -241,13 +255,13 @@ services:
|
|||
strategy: github
|
||||
|
||||
- name: Pretix
|
||||
host: pretix.utxo.cz
|
||||
host: pretix.gwei.cz
|
||||
server: frontier
|
||||
repo: pretix/pretix
|
||||
monitor: 11
|
||||
version_conf:
|
||||
from:
|
||||
url: https://pretix.utxo.cz/api/v1/version
|
||||
url: https://pretix.gwei.cz/api/v1/version
|
||||
auth:
|
||||
type: token
|
||||
env: GWEICZ_PRETIX_TOKEN
|
||||
|
@ -385,4 +399,4 @@ services:
|
|||
url: https://app.windmill.dev/api/version
|
||||
query: "v([\\d\\.]+)"
|
||||
to:
|
||||
strategy: github
|
||||
strategy: github
|
||||
|
|
Načítá se…
Odkázat v novém úkolu