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

ci: add change directory to third-party-src logic #4950

Merged
merged 4 commits into from
Dec 6, 2024

Conversation

boquan-fang
Copy link
Contributor

@boquan-fang boquan-fang commented Dec 4, 2024

Description of changes:

We want to use GeneralBatch to replace Omnibus. After PR #4913, PR #4945, and PR #4946 are merged, GeneralBatch provides more coverage than Omnibus, so we can use GeneralBatch to deprecate the rest of Omnibus. However, there are four buildspec files in GeneralBatch that are lacking the logic to cd into the third-party-src directory during the release process. Hence, this PR will add those logics for the release process to run properly.

Call-outs:

Another way to resolve such problem is to remove the third-party-src directory. However, that would present risks for users who build s2n-tls with their own scripts. Some of their directories might conflict with ours.

Testing:

GeneralBatch will be triggered by the Lambda function. Testing results is attached to this PR:
s2nGeneralBatch.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Dec 4, 2024
@boquan-fang boquan-fang marked this pull request as ready for review December 4, 2024 23:15
@boquan-fang boquan-fang requested a review from dougch as a code owner December 4, 2024 23:15
@boquan-fang boquan-fang requested a review from jmayclin December 4, 2024 23:15
Copy link
Contributor

@dougch dougch left a comment

Choose a reason for hiding this comment

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

As discussed off-line, putting this complexity into the lambda is still a goal, but we'd like to get rid of Omnibus more atm...

Copy link
Contributor

@jmayclin jmayclin left a comment

Choose a reason for hiding this comment

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

I think this is fine for now, but can we open an issue to just have the other copies of code mode themselves to the "root" directory?

Moving the other code to root would be a change in one place, but the current approach requires each of our buildspecs to have this if statement.

@boquan-fang boquan-fang enabled auto-merge (squash) December 6, 2024 00:46
@boquan-fang boquan-fang merged commit 82c87a1 into aws:main Dec 6, 2024
39 checks passed
@boquan-fang boquan-fang deleted the add-cd-logic branch December 18, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants