gitea-package/.woodpecker/test-image.yml
OCram85 803a79e380
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/test-image Pipeline was successful
add tests
2024-05-17 08:49:26 +02:00

69 lines
1.6 KiB
YAML

when:
- event: [pull_request, tag, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
depends_on:
- "ci"
steps:
next:
image: gitea.ocram85.com/plugins/gitea-package:next
pull: true
secrets: [ gitea_user, gitea_passwd]
settings:
user:
from_secret: gitea_user
password:
from_secret: gitea_passwd
owner: "plugins"
package_name: "dummy_package"
package_version: "0.1.0"
file_source: "./README.md"
file_name: "readme.md"
update: "true"
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
next-debug:
image: gitea.ocram85.com/plugins/gitea-package:next
pull: true
secrets: [ gitea_user, gitea_passwd]
settings:
user:
from_secret: gitea_user
password:
from_secret: gitea_passwd
owner: "plugins"
package_name: "dummy_package"
package_version: "0.1.0"
file_source: "./README.md"
file_name: "readme.md"
update: "true"
debug: "true"
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
next-no-update:
image: gitea.ocram85.com/plugins/gitea-package:next
pull: true
failure: ignore
secrets: [ gitea_user, gitea_passwd]
settings:
user:
from_secret: gitea_user
password:
from_secret: gitea_passwd
owner: "plugins"
package_name: "dummy_package"
package_version: "0.1.0"
file_source: "./README.md"
file_name: "readme.md"
debug: "true"
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}