Skip to content

Conversation

@kumaab
Copy link
Contributor

@kumaab kumaab commented Feb 3, 2025

What changes were proposed in this pull request?

Adding an on-demand workflow to take input arguments and run ranger upgrades for pre-determined release branches with pre-determined ranger databases to the version passed during manual trigger.

This is helpful to test ranger upgrade path during release process.

How was this patch tested?

Triggered manually via command:

gh workflow run test-upgrade.yaml --ref ranger-upgrade-workflow --field release_branch="ranger-2.6"

Link to job: https://github.com/apache/ranger/actions/runs/13150138270

Copy link
Contributor

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 pull request adds an on-demand GitHub Actions workflow to test Apache Ranger upgrade paths and introduces a utility script to update environment variables for Docker builds.

  • Added a workflow file (.github/workflows/test-upgrade.yaml) to trigger Ranger upgrades.
  • Introduced a Python script (.github/scripts/dot_env_util.py) to update the .env file based on the release branch.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/test-upgrade.yaml Introduces a new workflow for triggering Ranger upgrade tests.
.github/scripts/dot_env_util.py Provides utility logic for updating the environment configuration.

@kumaab kumaab marked this pull request as draft July 13, 2025 00:38
- download earlier releases instead of building them
- refactor changes to include build-branch as input, for ex: ranger-2.7
@kumaab kumaab force-pushed the ranger-upgrade-workflow branch from 85a4423 to 18a03b9 Compare July 13, 2025 00:39
@kumaab kumaab marked this pull request as ready for review July 13, 2025 02:38
@kumaab
Copy link
Contributor Author

kumaab commented Jul 16, 2025

Re-opened here: #610

@kumaab kumaab closed this Jul 16, 2025
@kumaab kumaab deleted the ranger-upgrade-workflow branch July 16, 2025 04:17
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.

1 participant