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
|
description: Neither Forderungen nor Zahlungen available
|
||||||
500:
|
500:
|
||||||
description: Some server error
|
description: Some server error
|
||||||
# /hv/zahlung:
|
/hv/zahlung:
|
||||||
# post:
|
post:
|
||||||
# tags: [ "Zahlung" ]
|
tags: [ "Zahlung" ]
|
||||||
# operationId: ZahlungenForderungen.put_zahlung
|
operationId: ZahlungenForderungen.put_zahlung
|
||||||
# summary: Inserts a new Zahlung
|
summary: Inserts a new Zahlung
|
||||||
# parameters:
|
parameters:
|
||||||
# - name: zahlung
|
- name: zahlung
|
||||||
# in: body
|
in: body
|
||||||
# schema:
|
schema:
|
||||||
# $ref: '#/components/schemas/Zahlung'
|
$ref: '#/components/schemas/Zahlung'
|
||||||
# responses:
|
responses:
|
||||||
# 202:
|
202:
|
||||||
# description: Zahlung successfully inserted
|
description: Zahlung successfully inserted
|
||||||
# 500:
|
500:
|
||||||
# description: Some server or database error
|
description: Some server or database error
|
||||||
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user