fix for drone

This commit is contained in:
Ivan Schaller 2022-05-10 22:03:52 +02:00
parent 790f3f0049
commit d64ef6f48c

View file

@ -20,7 +20,7 @@ steps:
- name: 'test code and generate coverage report' - name: 'test code and generate coverage report'
image: 'cr.44net.ch/drone-plugins/test' image: 'cr.44net.ch/drone-plugins/test'
pull: if-not-exists pull: if-not-exists
group: publish group: test
commands: commands:
- pip install -r requirements.txt - pip install -r requirements.txt
- coverage erase - coverage erase
@ -35,7 +35,7 @@ steps:
settings: settings:
sonar_host: 'https://sonarqube.44net.ch' sonar_host: 'https://sonarqube.44net.ch'
sonar_token: sonar_token:
from_secret: sq-44net-token from_secret: 'sq-44net-token'
usingProperties: true usingProperties: true
@ -68,9 +68,9 @@ steps:
auto_tag: true auto_tag: true
auto_tag_suffix: linux-arm64 auto_tag_suffix: linux-arm64
username: username:
from_secret: cr-dhub-username from_secret: 'cr-dhub-username'
password: password:
from_secret: cr-dhub-key from_secret: 'cr-dhub-key'
--- ---
@ -99,9 +99,9 @@ steps:
auto_tag: true auto_tag: true
auto_tag_suffix: linux-amd64 auto_tag_suffix: linux-amd64
username: username:
from_secret: cr-dhub-username from_secret: 'cr-dhub-username'
password: password:
from_secret: cr-dhub-key from_secret: 'cr-dhub-key'
--- ---
@ -126,9 +126,9 @@ steps:
auto_tag: true auto_tag: true
ignore_missing: true ignore_missing: true
username: username:
from_secret: cr-dhub-username from_secret: 'cr-dhub-username'
password: password:
from_secret: cr-dhub-key from_secret: 'cr-dhub-key'
depends_on: depends_on:
- docker-build-amd64 - docker-build-amd64
@ -165,7 +165,7 @@ steps:
group: publish group: publish
settings: settings:
api_key: api_key:
from_secret: gitea-token from_secret: 'gitea-token'
base_url: https://git.44net.ch base_url: https://git.44net.ch
files: manga-dlp-${DRONE_TAG}.tar.gz files: manga-dlp-${DRONE_TAG}.tar.gz
title: 'manga-dlp release: ${DRONE_TAG}' title: 'manga-dlp release: ${DRONE_TAG}'
@ -177,7 +177,7 @@ steps:
group: publish group: publish
settings: settings:
api_key: api_key:
from_secret: github-token from_secret: 'github-token'
files: manga-dlp-${DRONE_TAG}.tar.gz files: manga-dlp-${DRONE_TAG}.tar.gz
title: 'manga-dlp release: ${DRONE_TAG}' title: 'manga-dlp release: ${DRONE_TAG}'
note: CHANGELOG.md note: CHANGELOG.md