From 2e5e1ea0ee3b7980f81133ae6477bf15aaad5859 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 3 Aug 2023 11:49:31 +0200 Subject: [PATCH] [Skip-Ci] Update process description --- .../ddadevops/artifact_deployment_mixin.py | 44 ++++++++++++------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/src/main/python/ddadevops/artifact_deployment_mixin.py b/src/main/python/ddadevops/artifact_deployment_mixin.py index 808f976..144fe53 100644 --- a/src/main/python/ddadevops/artifact_deployment_mixin.py +++ b/src/main/python/ddadevops/artifact_deployment_mixin.py @@ -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] # """