Skip to content
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

DLPX-88225 Automated hotfix process leads to hotfix branch engine version always being set as latest engine version TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling #304

Merged

Conversation

sonamkindy
Copy link
Contributor

@sonamkindy sonamkindy commented Oct 18, 2023

Problem

DLPX-88225

The earlier change checked into dms-core-gate at https://github.com/delphix/dms-core-gate/pull/251 unfortunately introduced a slew of issues, including the automated hotfix process not picking up the right engine version for the given hotfix.

TOOL-23229

We should reduce repetition when it comes to passing the secret build args needed to fetch secrets from the AWS secret store.

Solution

DLPX-88225

The environment variable DELPHIX_RELEASE_VERSION is what we actually care about - if that's set, we can directly pass it as a gradle property via the gradle command (that way, the dms-core-gate get-branch-version.sh shell script doesn't get executed at all).

TOOL-23229

Add a function in lib/common.sh that can be used by the virtualization, masking and containerized-masking linux-pkg jobs.

Testing Done

❯ git-ab-pre-push -b "masking virtualization"
Running `git push -f origin fa96e214f6469d599f4e60f4ba343181da9872b3:refs/heads/dlpx/test/___develop___/sonamkindy/fa96e214f6469d599f4e60f4ba343181da9872b3`
Your build is at: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7291/

http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7291/

@sonamkindy sonamkindy force-pushed the dlpx/pr/sonamkindy/62bd47d9-7ad9-4023-8a11-73cc323747da branch 2 times, most recently from 8a7cf52 to 88c5368 Compare October 18, 2023 21:16
@sonamkindy sonamkindy changed the title Automated hotfix process leads to hotfix branch engine version always being set as latest engine version DLPX-88225 Automated hotfix process leads to hotfix branch engine version always being set as latest engine version Oct 18, 2023
@sonamkindy sonamkindy force-pushed the dlpx/pr/sonamkindy/62bd47d9-7ad9-4023-8a11-73cc323747da branch from 88c5368 to ebbc897 Compare October 18, 2023 22:43
@sonamkindy sonamkindy changed the title DLPX-88225 Automated hotfix process leads to hotfix branch engine version always being set as latest engine version DLPX-88225 Automated hotfix process leads to hotfix branch engine version always being set as latest engine version TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling Oct 18, 2023
@sonamkindy sonamkindy force-pushed the dlpx/pr/sonamkindy/62bd47d9-7ad9-4023-8a11-73cc323747da branch from ebbc897 to 94cfb3b Compare October 18, 2023 22:52
…sion always being set as latest engine version

TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling

PR URL: https://www.github.com/delphix/linux-pkg/pull/304
@sonamkindy sonamkindy force-pushed the dlpx/pr/sonamkindy/62bd47d9-7ad9-4023-8a11-73cc323747da branch from 94cfb3b to a46c957 Compare October 18, 2023 23:16
@sonamkindy sonamkindy marked this pull request as ready for review October 18, 2023 23:18
lib/common.sh Outdated Show resolved Hide resolved
packages/containerized-masking/config.sh Outdated Show resolved Hide resolved
packages/masking/config.sh Outdated Show resolved Hide resolved
@sonamkindy sonamkindy merged commit 3c141bb into develop Oct 19, 2023
10 checks passed
@sonamkindy sonamkindy deleted the dlpx/pr/sonamkindy/62bd47d9-7ad9-4023-8a11-73cc323747da branch October 19, 2023 18:30
sandeep-delphix pushed a commit that referenced this pull request Mar 27, 2024
…sion always being set as latest engine version TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling (#304)

PR URL: https://www.github.com/delphix/linux-pkg/pull/304
sandeep-delphix pushed a commit that referenced this pull request Jun 12, 2024
…sion always being set as latest engine version TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling (#304)

PR URL: https://www.github.com/delphix/linux-pkg/pull/304
bhavinee-jadav pushed a commit that referenced this pull request Jun 18, 2024
…sion always being set as latest engine version TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling (#304)

PR URL: https://www.github.com/delphix/linux-pkg/pull/304
sandeep-delphix pushed a commit that referenced this pull request Jun 19, 2024
…sion always being set as latest engine version TOOL-23229 Improvements to masking/containerized-masking/virtualization linux-pkg handling (#304)

PR URL: https://www.github.com/delphix/linux-pkg/pull/304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants