mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-11 18:56:23 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,16 +1,3 @@
|
||||
# You can override the included template(s) by including variable overrides
|
||||
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
|
||||
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
|
||||
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
|
||||
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
|
||||
# Note that environment variables can be set in several places
|
||||
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
|
||||
default:
|
||||
image:
|
||||
name: quay.io/rhn_support_ofalk/fedora35-python3
|
||||
entrypoint:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
before_script:
|
||||
- virtualenv -p python3 /tmp/.virtualenv
|
||||
- source /tmp/.virtualenv/bin/activate
|
||||
@@ -20,7 +7,13 @@ before_script:
|
||||
- pip install coverage
|
||||
- pip install pycco
|
||||
- pip install django_coverage_plugin
|
||||
|
||||
test_and_coverage:
|
||||
image:
|
||||
name: quay.io/rhn_support_ofalk/fedora35-python3
|
||||
entrypoint:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
stage: test
|
||||
coverage: "/^TOTAL.*\\s+(\\d+\\%)$/"
|
||||
script:
|
||||
@@ -36,7 +29,13 @@ test_and_coverage:
|
||||
artifacts:
|
||||
paths:
|
||||
- htmlcov/
|
||||
|
||||
pycco:
|
||||
image:
|
||||
name: quay.io/rhn_support_ofalk/fedora35-python3
|
||||
entrypoint:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
stage: test
|
||||
script:
|
||||
- "/bin/true"
|
||||
@@ -46,7 +45,13 @@ pycco:
|
||||
paths:
|
||||
- pycco/
|
||||
expire_in: 14 days
|
||||
|
||||
pages:
|
||||
image:
|
||||
name: quay.io/rhn_support_ofalk/fedora35-python3
|
||||
entrypoint:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
before_script:
|
||||
- "/bin/true"
|
||||
- "/bin/true"
|
||||
@@ -63,6 +68,7 @@ pages:
|
||||
expire_in: 14 days
|
||||
only:
|
||||
- master
|
||||
|
||||
build-image:
|
||||
image: docker
|
||||
services:
|
||||
@@ -100,4 +106,4 @@ stages:
|
||||
sast:
|
||||
stage: test
|
||||
include:
|
||||
- template: Auto-DevOps.gitlab-ci.yml
|
||||
- template: Auto-DevOps.gitlab-ci.yml
|
||||
Reference in New Issue
Block a user