Skip to content

chore: update run-rosetta.sh#18127

Merged
mergify[bot] merged 26 commits intomasterfrom
conroy/workflow
Dec 27, 2021
Merged

chore: update run-rosetta.sh#18127
mergify[bot] merged 26 commits intomasterfrom
conroy/workflow

Conversation

@kaizencc
Copy link
Copy Markdown
Contributor

@kaizencc kaizencc commented Dec 21, 2021

This point of this PR is to streamline the docs build in run-rosetta.sh. We now
utilize the npm package cdk-generate-synthetic-examples owned by yours truly.
We also run rosetta extract twice, to properly translate generated examples. We purposefully ignore infused examples for this step.

In addition, we remove the generate-examples project


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

@kaizencc kaizencc requested a review from rix0rrr December 21, 2021 23:12
@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Dec 21, 2021

@github-actions github-actions bot added the @aws-cdk/pipelines CDK Pipelines library label Dec 21, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Dec 21, 2021
pack.sh Outdated

# Jsii packaging (all at once using jsii-pacmak)
echo "Packaging jsii modules" >&2
rosetta_cache_file=$HOME/.s3buildcache/rosetta-cache.tabl.json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

should this be an environment variable instead? currently I just copied and pasted from run-rosetta and it seems fragile.

@rix0rrr rix0rrr added the pr/do-not-merge This PR should not be merged at this time. label Dec 22, 2021
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr left a comment

Choose a reason for hiding this comment

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

Provisional approval, upon addressing these issues and the investigation work you're going to be doing

@kaizencc
Copy link
Copy Markdown
Contributor Author

The test pipeline is working for this commit, so I'm going to go ahead and merge.

@kaizencc kaizencc removed the pr/do-not-merge This PR should not be merged at this time. label Dec 27, 2021
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 19620c1
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 0fd80e1 into master Dec 27, 2021
@mergify mergify bot deleted the conroy/workflow branch December 27, 2021 23:12
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Dec 27, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
This point of this PR is to streamline the docs build in `run-rosetta.sh`. We now
utilize the npm package [`cdk-generate-synthetic-examples`](https://github.com/cdklabs/cdk-generate-synthetic-examples) owned by yours truly.
We also run `rosetta extract` twice, to properly translate generated examples. We purposefully ignore infused examples for this step.

In addition, we remove the `generate-examples` project

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/pipelines CDK Pipelines library contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants