reorganize our CI stuff
This commit is contained in:
parent
22240f8365
commit
24b715d676
5 changed files with 51 additions and 40 deletions
|
|
@ -10,6 +10,9 @@ labels:
|
|||
platform: linux/amd64
|
||||
memory: 'high'
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
|
||||
variables:
|
||||
artifacts_uploader_settings: &artifacts_uploader_settings
|
||||
user:
|
||||
|
|
@ -45,20 +48,6 @@ steps:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
code-analysis:
|
||||
image: sonarsource/sonar-scanner-cli:11
|
||||
when:
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
- event: manual
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
environment:
|
||||
SONAR_TOKEN:
|
||||
from_secret: sonarqube-token
|
||||
entrypoint: *script_file_entrypoint
|
||||
commands:
|
||||
- sonar-scanner
|
||||
|
||||
upload-artifacts:
|
||||
image: docker.io/woodpeckercommunity/plugin-gitea-package:0.5.0
|
||||
when:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue