You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the ai-lab uses release-droid for releases which is not maintained anymore as mid of 2024 the Java developers switched release automation with project-keeper.
The current ticket therefore requests to update the release process and documentation.
Current Release Process
For releasing the AI-Lab the developers currently call release-droid (RD), see How to Release the AI-Lab in the Developer Guide.
Extracts the numeric RELEASE_ID (datatype int) from the upload URL provided by RD with regular expression ^https://uploads.github.com/repos/([a-zA-Z0-9\-_/]+)/releases/([\d]+)/assets.
Except: create_github_release can be integrated into run_release_build as we don't need two separate CLIs.
This also removed the need in between parsing the ReleaseID from the output in order to pass it to the second call.
Currently, the ai-lab uses release-droid for releases which is not maintained anymore as mid of 2024 the Java developers switched release automation with project-keeper.
The current ticket therefore requests to update the release process and documentation.
Current Release Process
For releasing the AI-Lab the developers currently call
release-droid
(RD), see How to Release the AI-Lab in the Developer Guide.RD then calls GitHub workflow release_droid_upload_github_release_assets.yml, which then calls
cli/commands/start_release_build.py
calls lib/release_build/run_release_build.py whichRELEASE_ID
(datatypeint
) from the upload URL provided by RD with regular expression^https://uploads.github.com/repos/([a-zA-Z0-9\-_/]+)/releases/([\d]+)/assets
.The AWS CodeBuild template aws-code-build/ci/buildspec_release.yaml calls
lib/update_release/run_update_release.py finally
artifacts.md
Proposed Changes
lib/github_release_access.py
tag
message-file
for reading the release comment/message from specified filecli/commands/create_github_release.py
command forcreate_release()
--tag
,--title
,--message
,--comment-file
RELEASE_ID
for usage in a GitHub workflowcli/commands/start_release_build.py
:--release-id <int>
RELEASE_ID
tolib/release_build/run_release_build.py
_execute_release_build()
using theRELEASE_ID
directly without parsing it from the URL.release.yml
on: push: tags: - '**'
workflow_dispatch
create-github-release
(see below)start-release-build
with the obtainedRELEASE_ID
.CLI command call
Proposed New Release Process
prepare-release
, see instructions in the Developer Guide of SAPIPYrelease.yml
:The text was updated successfully, but these errors were encountered: