put zahlung
This commit is contained in:
parent
ab44de341d
commit
46db3d485a
38
.gitlab-ci.yml
Normal file
38
.gitlab-ci.yml
Normal file
@ -0,0 +1,38 @@
|
||||
stages:
|
||||
- check
|
||||
- dockerize
|
||||
|
||||
variables:
|
||||
IMAGE_NAME: $CI_REGISTRY/$CI_PROJECT_PATH
|
||||
|
||||
|
||||
check:
|
||||
image: registry.hottis.de/dockerized/base-build-env:latest
|
||||
stage: check
|
||||
tags:
|
||||
- hottis
|
||||
- linux
|
||||
- docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
script:
|
||||
- checksemver.py -v
|
||||
--versionToValidate "$CI_COMMIT_TAG"
|
||||
--validateMessage
|
||||
--messageToValidate "$CI_COMMIT_MESSAGE"
|
||||
|
||||
dockerize:
|
||||
image: registry.hottis.de/dockerized/docker-bash:latest
|
||||
stage: dockerize
|
||||
tags:
|
||||
- hottis
|
||||
- linux
|
||||
- docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
script:
|
||||
- tar -xzf dist.tgz
|
||||
- docker build --tag $IMAGE_NAME:latest --tag $IMAGE_NAME:$CI_COMMIT_TAG .
|
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
- docker push $IMAGE_NAME:latest
|
||||
- docker push $IMAGE_NAME:$CI_COMMIT_TAG
|
30
swagger.yaml
30
swagger.yaml
@ -314,21 +314,21 @@ paths:
|
||||
description: Neither Forderungen nor Zahlungen available
|
||||
500:
|
||||
description: Some server error
|
||||
# /hv/zahlung:
|
||||
# post:
|
||||
# tags: [ "Zahlung" ]
|
||||
# operationId: ZahlungenForderungen.put_zahlung
|
||||
# summary: Inserts a new Zahlung
|
||||
# parameters:
|
||||
# - name: zahlung
|
||||
# in: body
|
||||
# schema:
|
||||
# $ref: '#/components/schemas/Zahlung'
|
||||
# responses:
|
||||
# 202:
|
||||
# description: Zahlung successfully inserted
|
||||
# 500:
|
||||
# description: Some server or database error
|
||||
/hv/zahlung:
|
||||
post:
|
||||
tags: [ "Zahlung" ]
|
||||
operationId: ZahlungenForderungen.put_zahlung
|
||||
summary: Inserts a new Zahlung
|
||||
parameters:
|
||||
- name: zahlung
|
||||
in: body
|
||||
schema:
|
||||
$ref: '#/components/schemas/Zahlung'
|
||||
responses:
|
||||
202:
|
||||
description: Zahlung successfully inserted
|
||||
500:
|
||||
description: Some server or database error
|
||||
|
||||
|
||||
components:
|
||||
|
Loading…
x
Reference in New Issue
Block a user