50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
include:
|
|
- project: 'esv/bsf/pypi/prosper'
|
|
ref: v0.64.1
|
|
file: '/prosper/templates/projects/docker.yml'
|
|
|
|
variables:
|
|
# renovate: datasource=gitlab-tags depName=esv/bsf/pypi/prosper versioning=semver registryUrl=https://gitlab.global.bsf.tools
|
|
PROSPER_VERSION: v0.64.1
|
|
|
|
kics:
|
|
allow_failure: true
|
|
|
|
hadolint:
|
|
allow_failure: true
|
|
|
|
|
|
# Run Python tests
|
|
python_tests:
|
|
stage: test
|
|
image: deps.global.bsf.tools/docker/python:3.12-slim
|
|
before_script:
|
|
- pip install -r backend/requirements.txt
|
|
- pip install pytest pytest-asyncio httpx
|
|
script:
|
|
- cd backend
|
|
- python -m pytest -v || echo "No tests yet"
|
|
|
|
# deploy_helm_charts:
|
|
# stage: deploy
|
|
# image:
|
|
# name: deps.global.bsf.tools/registry-1.docker.io/alpine/k8s:1.29.12
|
|
# parallel:
|
|
# matrix:
|
|
# # - ENV: "prod"
|
|
# # VALUES_FILE: "helm/values-prod.yaml"
|
|
# # CONTEXT: "esv/bsf/bsf-services/gitlab-kaas-agent-config:services-prod-agent"
|
|
# # NAMESPACE: "bsf-services-namespace"
|
|
# # ONLY: "main"
|
|
# - ENV: "dev"
|
|
# VALUES_FILE: "helm/orchard/values.yaml"
|
|
# CONTEXT: "esv/bsf/bsf-services/gitlab-kaas-agent-config:services-prod-agent"
|
|
# NAMESPACE: "bsf-services-dev-namespace"
|
|
# # ONLY: ["branches", "!main"]
|
|
# script:
|
|
# - kubectl config use-context $CONTEXT
|
|
# - echo "Deploy - buildah push ${IMAGE_NAME}:latest"
|
|
# - |
|
|
# helm upgrade --install orchard-dev ./helm/orchard --namespace $NAMESPACE -f $VALUES_FILE
|
|
|