ci: add change directory to third-party-src logic #4950
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes:
We want to use
GeneralBatch
to replaceOmnibus
. After PR #4913, PR #4945, and PR #4946 are merged,GeneralBatch
provides more coverage thanOmnibus
, so we can useGeneralBatch
to deprecate the rest ofOmnibus
. However, there are four buildspec files inGeneralBatch
that are lacking the logic to cd into thethird-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.