Skip to content

fix github workflow to support new version format and use docker base…#95

Merged
esenkus merged 6 commits intorelease/25.3.xfrom
fix_workflow
Jun 26, 2025
Merged

fix github workflow to support new version format and use docker base…#95
esenkus merged 6 commits intorelease/25.3.xfrom
fix_workflow

Conversation

@mpolawar
Copy link
Contributor

@mpolawar mpolawar commented Jun 25, 2025

  1. Updating workflow file to use docker based xl-cli than dist based xl-cli, as xebialabsunsupported/xl-client and xebialabsunsupported/xl-release is updated more frequently with latest, and with nightly as well

  2. Updating version.json file with new version file format

Please go the Preview tab and select the appropriate PR sub-template:

Feature

@mpolawar mpolawar requested a review from Copilot June 25, 2025 06:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the GitHub Actions workflow to use a Docker-based xl-client instead of downloading the binary directly, and bumps the supported product versions to the new hyphenated format (including 25.3.x).

  • Switches from a manual wget install of xl-cli to running xl-client via Docker
  • Updates .github/config/versions.json with new version strings and adds support for release/25.3.x

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/Check-official-templates.yaml Removed manual xl-cli install step, replaced ./xl1 apply with docker run
.github/config/versions.json Updated release version formats for 24.1.x, 24.3.x, 25.1.x and added 25.3.x
Comments suppressed due to low confidence (2)

.github/workflows/Check-official-templates.yaml:74

  • The docker run invocation here won’t see your local YAML files or connect to the xl-release container by default. Consider mounting the workspace (e.g., -v $(pwd):/workspace -w /workspace), configuring a network or link to the xl-release container (or using --network host), and adding --rm to clean up the client container afterward.
            docker run  xebialabsunsupported/xl-client:$product_version apply -f "$file"

.github/workflows/Check-official-templates.yaml:45

  • Using a fixed sleep 100 may either waste time or fail if startup takes longer. Consider polling the service endpoint or using a retry loop/healthcheck to wait for readiness instead.
          sleep 100

@mpolawar mpolawar requested a review from esenkus June 25, 2025 06:44
esenkus
esenkus previously approved these changes Jun 25, 2025
@esenkus
Copy link
Contributor

esenkus commented Jun 26, 2025

don't forget to update the description and commit message as this is no longer changing xl-cli to be docker based

@esenkus esenkus merged commit 543500b into release/25.3.x Jun 26, 2025
2 checks passed
@esenkus esenkus deleted the fix_workflow branch June 26, 2025 08:57
@mpolawar mpolawar restored the fix_workflow branch June 26, 2025 09:04
@esenkus esenkus deleted the fix_workflow branch June 26, 2025 09:08
@esenkus esenkus restored the fix_workflow branch June 26, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants