-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ci): fix release pipelines issues #1250
Conversation
Important Auto Review SkippedAuto reviews are limited to the following labels: coderabbit. Please add one of these labels to enable auto reviews. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
.github/actions/delivery/action.yml
Outdated
@@ -116,7 +116,7 @@ runs: | |||
if [ "${{ inputs.stability }}" == "stable" ]; then | |||
echo "[DEBUG] - Stability is ${{ inputs.stability }}, not delivering." | |||
else | |||
jf rt upload "$ARCH/*.rpm" "$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --sync-deletes="$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --flat | |||
jf rt upload "$ARCH/*.rpm" "$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --sync-deletes="$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --sync-deletes="$ROOT_REPO_PATH/$UPLOAD_REPO_PATH/"--flat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jf rt upload "$ARCH/*.rpm" "$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --sync-deletes="$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --sync-deletes="$ROOT_REPO_PATH/$UPLOAD_REPO_PATH/"--flat | |
jf rt upload "$ARCH/*.rpm" "$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --sync-deletes="$ROOT_REPO_PATH/$UPLOAD_REPO_PATH" --flat |
github_base_ref: | ||
description: "Release base ref" | ||
github_ref_name: | ||
description: "Release base ref name for push event" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description: "Release base ref name for push event" | |
description: "Release base ref name for push event" |
# Build search path based on release_cloud and release_type values | ||
# if cloud, search in testing-<release_type> path | ||
# if non-cloud, search in the testing usual path | ||
if [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "hotfix" ]] || [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "release" ]];then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "hotfix" ]] || [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "release" ]];then | |
if [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "hotfix" ]] || [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "release" ]]; then |
# if non-cloud, search in the testing usual path | ||
if [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "hotfix" ]] || [[ ${{ inputs.release_cloud }} -eq 1 && ${{ inputs.release_type }} == "release" ]];then | ||
SEARCH_REPO_PATH="${{ inputs.major_version }}/${{ inputs.distrib }}/testing-${{ inputs.release_type }}/$ARCH/${{ inputs.module_name }}" | ||
elif [[ ${{ inputs.release_cloud }} -eq 0 ]];then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elif [[ ${{ inputs.release_cloud }} -eq 0 ]];then | |
elif [[ ${{ inputs.release_cloud }} -eq 0 ]]; then |
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
* fix(ci): fix release pipelines issues * fix(ci): fix libzmq promote input * fix invalid rpm promote command
Description
Fix additional issues resulting from previous conflicts resolution and PRs
use github_ref_name on push even instead of github_base_ref
use proper path in promote search loop
Fixes #MON-35276
Type of change
Target serie
How this pull request can be tested ?
Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.
Any relevant details of the configuration to perform the test should be added.
Checklist