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

chore: Adds new workflow for building the full sdk #802

Merged
merged 6 commits into from
Jan 5, 2023

Conversation

epau
Copy link
Contributor

@epau epau commented Jan 4, 2023

This PR adds a workflow for regenerating all models, building the full sdk (models included) and running tests.

Issue #

#801

Description of changes

New/existing dependencies impact assessment, if applicable

Conventional Commits

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

@epau epau requested review from jbelkins and ganeshnj January 4, 2023 20:49
@epau epau requested a review from jbelkins January 5, 2023 00:41
@ganeshnj
Copy link
Contributor

ganeshnj commented Jan 5, 2023

IMHO, this new workflow is redundant to CI job. What we should do it to make CI do all of this so we get the feedback early.

I totally understand the timing issue as it will take a while to build, but there are ways to speed up the build process for example batching the build to separate hosts

  • Build Runtimes
  • Start n number of hosts to build services in parallel

@epau
Copy link
Contributor Author

epau commented Jan 5, 2023

@ganeshnj i agree, do we think it's acceptable to add this now (we can remove it when we add this functionality to the CI job). I'll file an issue to address adding this functionality to the CI job.

chmod a+x builder.pyz
AWS_CRT_SWIFT_CI_DIR="${{ env.AWS_CRT_SWIFT_CI_DIR }}" AWS_SDK_SWIFT_CI_DIR="${{ env.AWS_SDK_SWIFT_CI_DIR }}" SMITHY_SWIFT_CI_DIR="${{ env.SMITHY_SWIFT_CI_DIR }}" ./builder.pyz build -p ${{ env.PACKAGE_NAME }}
./gradlew -p codegen/sdk-codegen build
rm -rf release/
Copy link
Contributor

Choose a reason for hiding this comment

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

this is worrying, we must root cause what is being generated/added that causes us to remove the dir.

@ganeshnj
Copy link
Contributor

ganeshnj commented Jan 5, 2023

@ganeshnj i agree, do we think it's acceptable to add this now (we can remove it when we add this functionality to the CI job). I'll file an issue to address adding this functionality to the CI job.

backlog is fine as of now. We must keep this workflow trigger to manual dispatch.

@epau epau merged commit 10df4ee into main Jan 5, 2023
@epau epau deleted the epau/chore/build-full-sdk branch January 5, 2023 22:37
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