Skip to content

[Backport branch-0.3] allow object storage to be configured by env vars - #1150

Merged
tdas merged 2 commits into
branch-0.3from
backport-1146-to-branch-0.3
Nov 17, 2025
Merged

tdas merged 2 commits into
branch-0.3from
backport-1146-to-branch-0.3

Conversation

@tdas

@tdas tdas commented Nov 1, 2025

Copy link
Copy Markdown
Contributor

Backport of #1146 to branch-0.3.


PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

It's currently possible to use environment variables to configure server properties, however that's not the case for object storage configurations, as it seems they are being fetched directly from the properties files and not being fetched through the configuration precedence, this PR unify that logic with the rest of the configurations in server properteis

@tdas

tdas commented Nov 1, 2025

Copy link
Copy Markdown
Contributor Author

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-1146-to-branch-0.3
git worktree add --checkout .worktree/backport-1146-to-branch-0.3 backport-1146-to-branch-0.3
cd .worktree/backport-1146-to-branch-0.3
git reset --hard HEAD^
git cherry-pick -x bc99c38d00e608b57c0e1f3ad544c8b22f1464ed
git push --force-with-lease

@tdas
tdas marked this pull request as ready for review November 1, 2025 01:36
@tdas tdas mentioned this pull request Nov 4, 2025
1 of 4 tasks
tdas added a commit that referenced this pull request Nov 5, 2025
**PR Checklist**

- [x] A description of the changes is added to the description of this
PR.
  - [ ] If there is a related issue, make sure it is linked to this PR.
- [ ] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated

  **Description of changes**
Follow up of - #1148
It created this backport PR -
#1150
But the problem is that the commit in the backported PR dont have the
signoff. So even if there are no conflicts, the PR cannot be readily
merged.
So I modified the backport GitHub action to automatically amend backport
commits with sign-off. The workflow now:
- Extracts the original commit author's name and email from each
backport branch
- Amends the commit with `--signoff` flag using the original author's
credentials
  - Force pushes the updated branch

This ensures all backported commits include proper sign-off from the
original author.

Signed-off-by: Tathagata Das <[email protected]>
@tdas
tdas force-pushed the backport-1146-to-branch-0.3 branch from 4d16626 to ac9b06e Compare November 14, 2025 21:59
@tdas
tdas force-pushed the backport-1146-to-branch-0.3 branch from ac9b06e to b9cf40e Compare November 14, 2025 22:00
**PR Checklist**

- [x] A description of the changes is added to the description of this
PR.
- [ ] If there is a related issue, make sure it is linked to this PR.
- [ ] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated

**Description of changes**

<!-- Please state what you've changed and how it might affect the users.
-->

It's currently possible to use environment variables to configure server
properties, however that's not the case for object storage
configurations, as it seems they are being fetched directly from the
properties files and not being fetched through the configuration
precedence, this PR unify that logic with the rest of the configurations
in server properteis

---------

Signed-off-by: 1b5d <[email protected]>
Signed-off-by: Tathagata Das <[email protected]>
@tdas
tdas force-pushed the backport-1146-to-branch-0.3 branch from b9cf40e to 3a4f4a6 Compare November 14, 2025 22:01
@tdas
tdas enabled auto-merge (squash) November 14, 2025 22:01

@openinx openinx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @tdas for the backport.

@tdas
tdas disabled auto-merge November 14, 2025 23:49
@tdas tdas closed this Nov 14, 2025
@tdas tdas reopened this Nov 17, 2025
@tdas
tdas merged commit 9ed0cb5 into branch-0.3 Nov 17, 2025
tdas pushed a commit that referenced this pull request Nov 18, 2025
**PR Checklist**

- [x] A description of the changes is added to the description of this
PR.
- [x] If there is a related issue, make sure it is linked to this PR.
- [x] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated

**Description of changes**

Backport the [PR
change](#1193) of
[issue](#1175) to
branch-0.3
The backport progress is here:
#1163


After merged this
#1150, there is no
conflict any more. So it's a clean patch.

Signed-off-by: Zheng Hu <[email protected]>
@openinx
openinx deleted the backport-1146-to-branch-0.3 branch March 27, 2026 22:11
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.

3 participants