Commit Graph

370 Commits

Author SHA1 Message Date
Russell Cohen 9f1ef3d408
More work on cleaning up TODOs (#997)
* wip

* wip

* Refactor lint tool

* Add a lint to validate that TODOs have context

* cleanup lint some more

* fix codegen failure & remove unused arguments
2021-12-21 11:22:43 -05:00
John DiSanti e38c531464
Fix S3 canary and canary permissions (#994) 2021-12-17 11:12:51 -08:00
John DiSanti a536c15b6e
Improve the canary Lambda implementation (#993)
* Grant the canary Lamba permission to log to CloudWatch

* Don't log the S3 bucket name in the canary

* Emit an empty workspace for the canary manifest

* Add more context to S3 metadata failure message

* Log the full result
2021-12-17 18:10:25 +00:00
John DiSanti 17818ca7e5
Produce two publishable bundles in CI (#986)
* Move the publisher tool from `aws-sdk-rust`

* Add `rust-runtime:assemble` target to generate a publishable bundle

* Run `fix-manifests` on assemble output

* Produce publish-ready Smithy runtime bundle during CI

* Allow publish from any arbitrary directory

* Add safe-guard to prevent accidental publish from local dev

* Fix unit test target

* Incorporate feedback

* Add `buildSrc` tests and publisher tool to CI
2021-12-16 13:27:21 -08:00
Zelda Hessler ca97758707
add: Amazon styling to generated doc index page (#975) 2021-12-15 16:42:47 +00:00
Russell Cohen b9d5923ab3
Release 0.3.0 / 0.33.0 (#974)
* Fixup changelog generation

* Delete superceded changlog guidance

* Update changelogs

* Bump version numbers
2021-12-14 16:43:17 -05:00
John DiSanti f9e5d64a15
Implement a canary Lambda for the SDK (#956) 2021-12-11 01:11:25 +00:00
John DiSanti a273a55e8a
Split CI OIDC provider into its own stack (#948) 2021-12-09 19:13:57 +00:00
John DiSanti 3b54f12443
Reorganize CI and add per-crate CI checks (#942)
* Add ability to have per-crate CI checks

* Split SDK CI into a separate workflow file

* Combine SDK tests into one matrix job

* Rename the codegen diff workflow

* Combine codegen tests into one matrix job
2021-12-08 15:43:13 -08:00
John DiSanti 6e423810ab
Implement a doc preview bot (#924)
* Implement a doc preview bot

* Add `aws-smithy-http-server` to the doc preview crates

* Incorporate review feedback

* Fix missing history in index generation script
2021-12-07 00:40:35 +00:00
John DiSanti 80385399a2
Improve the codegen diff bot (#918) 2021-12-03 20:04:05 +00:00
Russell Cohen d4bc9d60b0
Changelog Automation (#922)
* Automate changelog update process

* Update PR template

* Update references

* Cleanups and comments
2021-12-03 11:47:52 -08:00
Russell Cohen c22ec5812d
Add license header checker & missing headers (#917)
* Add license header checker & missing headers

Adds a license check pre-commit hook + adds license checking to CI

* Update tools/sdk-lints/src/copyright.rs

Co-authored-by: John DiSanti <jdisanti@amazon.com>

Co-authored-by: John DiSanti <jdisanti@amazon.com>
2021-12-02 13:39:30 +00:00
Russell Cohen 1f71c35713
Docs licenses (#909)
* CR feedback

* Correct warning
2021-12-01 13:01:53 -05:00
Russell Cohen cc82edf173
docs.rs metadata & license linter & fixes (#904)
* Lint & fix docs.rs + LICENSEs

* Clippy fixups

* Update changelogs

* Fix reverse condition & make repo_root lazy_static

* Update copyright
2021-12-01 12:26:47 +01:00
Russell Cohen 35de48a214
Add a few READMEs + linter script (#899)
* Add a few READMEs + linter script

* Add initial linter script

* Add CI job

* Apply suggestions from code review

Co-authored-by: John DiSanti <jdisanti@amazon.com>

* Add README fix command

* Add newline in footer

* Add footer support to generator

* Also run fixes in CI

* Add note about smithy-types

* cleanups to scripts and READMEs

Co-authored-by: John DiSanti <jdisanti@amazon.com>
2021-11-30 14:37:42 -05:00
Matteo Bigoi aaf57c0953
Generate server diff in CI (#835) 2021-11-04 21:03:30 +00:00
Russell Cohen edcc7c1958
Fix preview builds when the build doesn't make any codegen changes (#796)
* graceful failure

* backout changes to secrets
2021-10-22 01:42:27 +00:00
Russell Cohen 64a9d925ef
create a common history for generated code branches (#782)
* create a common history for generated code branches

* fetch first

* hmm

* try github.head_ref

* fix divergent history issue

* Compute the base branch properly

* chck

* chk
2021-10-19 21:27:30 +00:00
Russell Cohen 5f83efa90a
GitHub action to show generated diff preview (#778)
* Add `mk-generated.sh`

`tools/mk-generated.sh` will run code generation and create an orphan branch containing the codegen results.

* Add GitHub action to push the generated code to a branch

* Add cleanup job

* backout accidental changes

* Apply suggestions from code review

Co-authored-by: Zelda Hessler <zelda.hessler@pm.me>

Co-authored-by: Zelda Hessler <zelda.hessler@pm.me>
2021-10-19 13:16:25 -04:00