2023-07-17 19:32:05 +00:00
|
|
|
when:
|
2023-10-24 12:42:05 +00:00
|
|
|
- event: [pull_request, cron]
|
2023-07-17 19:32:05 +00:00
|
|
|
- event: push
|
2023-07-25 14:29:01 +00:00
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
2023-11-11 20:35:48 +00:00
|
|
|
- renovate/*
|
2023-07-17 19:32:05 +00:00
|
|
|
|
|
|
|
variables:
|
2024-05-24 20:35:04 +00:00
|
|
|
- &trivy_plugin docker.io/woodpeckerci/plugin-trivy:1.0.1
|
2023-07-17 19:32:05 +00:00
|
|
|
|
|
|
|
steps:
|
2024-01-10 14:10:56 +00:00
|
|
|
backend:
|
2023-12-28 15:39:14 +00:00
|
|
|
depends_on: []
|
2023-07-17 19:32:05 +00:00
|
|
|
image: *trivy_plugin
|
|
|
|
settings:
|
|
|
|
skip-dirs: web/,docs/
|
|
|
|
|
2024-01-10 14:10:56 +00:00
|
|
|
docs:
|
2023-12-28 15:39:14 +00:00
|
|
|
depends_on: []
|
2023-07-17 19:32:05 +00:00
|
|
|
image: *trivy_plugin
|
|
|
|
settings:
|
|
|
|
skip-dirs: node_modules/,plugins/woodpecker-plugins/node_modules/
|
2023-10-24 12:42:05 +00:00
|
|
|
dir: docs/
|
2024-05-24 20:35:04 +00:00
|
|
|
# well we should check it, but we can not do much about old deps if docusaurus do not take that seriously
|
2024-05-24 16:48:12 +00:00
|
|
|
# but this is not an issue as we just generate a static site anyway ...
|
|
|
|
failure: ignore
|
2023-07-17 19:32:05 +00:00
|
|
|
|
2024-01-10 14:10:56 +00:00
|
|
|
web:
|
2023-12-28 15:39:14 +00:00
|
|
|
depends_on: []
|
2023-07-17 19:32:05 +00:00
|
|
|
image: *trivy_plugin
|
|
|
|
settings:
|
|
|
|
skip-dirs: node_modules/
|
2023-10-24 12:42:05 +00:00
|
|
|
dir: web/
|