[Skip-Ci] Update process description

This commit is contained in:
erik 2023-08-03 11:49:31 +02:00
parent 483c2b8bba
commit 2e5e1ea0ee

View file

@ -6,35 +6,47 @@ from .devops_build import DevopsBuild
# General process for deploying prebuilt (meissa) binaries to our own repo server.
# [-1]
# Building is handled by other entities
# is another pybuilder task
# the binary is reachable with devops.build_path()
# we might need to establish a "build" that does lein builds for us
# we might need to establish a "build" that does gradlew build for us
# same for all other projects that produce binaries
# currently the c4k_build.py just creates the auth and config yamls
# [0]
# get artifact deployment url
# Base url: https://repo.prod.meissa.de/api/v1/repos/
# Changeable: /meissa/provs/
# persitent suffix to url: releases
# name is accessible from input
# [1]
# build ubejarServer
# build ubejarDesktop
# build ubejarSyspec
# get release token
# could be an api token for repo.prod.meissa.de
# credential mapping as described in the docs
# [2]
# get release token
# get release tag
# is the version of the project
# get from gitApi
# [3]
# get release tag
# [4]
# post a json message containting [3] to [0], watching stdout for answers
# authorized by [2]
# validate if [4] was successful by reading stdout
# post a json message containting [2] to [0], watching stdout for answers
# authorized by [1]
# validate if [3] was successful by reading stdout
# or create error message containing ID of release
# [5]
# get release-id
# [4]
# get release-id from stdout of [3]
# print release-id
# [6]
# generate sha256 sums & generate sha512 sums of results of [1]
# [5]
# generate sha256 sums & generate sha512 sums of results of [-1]
# [7]
# push results of [1] & [6] to [0]/[5]
# [6]
# push results of [-1] & [5] to [0]/[4]
# """