Commit Graph

54 Commits

Author SHA1 Message Date
Clare Liguori 3de962edc9 fix: create workflows dir in integ-tests 2020-01-31 16:51:26 -05:00
GitHub Actions 344f5cbe7e chore: Update dist 2020-01-31 02:34:18 +00:00
Laurence Armstrong 4faf8cd19a fix: sanitize AWS session tags (#20)
* Sanitize github actor tag

* Add some tests

* Sanitize Github actions workflow name

* Change sanitization character to an asterisk

* Update readme about assuming a role

* Tidy up assume role readme entry more

* Align sanitize spelling to use -ize

* typo: environement -> environment
2020-01-30 21:33:36 -05:00
Clare Liguori c69f29a23c Remove sudo from codebuild steps 2020-01-30 16:30:31 -05:00
Clare Liguori 52bc82a29b feat: Build and integ test scripts for pipeline 2020-01-30 16:16:17 -05:00
GitHub Actions 8cff48fde9 chore: Update dist 2020-01-28 14:50:47 +00:00
Laurence Armstrong e2fd53ab66 fix: set role credentials as secrets to mask them in logs (#19)
* Set role credentials as secrets to mask them in logs

* Always set aws credentuals as secrets

* Fix typo in comment
2020-01-28 09:50:15 -05:00
GitHub Actions 7b221d2e08 chore: Update dist 2020-01-22 19:04:40 +00:00
Matt Bullock 25960ab095 feat: add support for assuming a role (#17)
* first draft attempt at adding role assumption option

* refinements

* const not var

* clean up asserts

* set explicit sts endpoint and clarify required inputs error message

* streamline mocks

* add new inputs to Action definition

* ignore .idea directory

* add initial assume role test

* make tests fail usefully when not in GitHub Actions

* add logic to handle suppression of stack trace

* pull credentials exports out into function

* convert environment variable patching to use object for source and add needed members

* add test for STS call

* compartmentalization and use custom user agent in role assumption STS client

* change DO_NOT_SUPRESS_STACK_TRACE to SHOW_STACK_TRACE

* update role-to-assume input description
2020-01-22 11:04:03 -08:00
GitHub Actions e3c83cfe60 chore: Update dist 2020-01-06 20:38:44 +00:00
dependabot-preview[bot] cf2cbf51d2 chore: Bump aws-sdk from 2.597.0 to 2.598.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.597.0 to 2.598.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.597.0...v2.598.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:37:55 -08:00
GitHub Actions 6f58251f8d chore: Update dist 2020-01-06 20:28:06 +00:00
dependabot-preview[bot] d3c4189f16 chore: Bump aws-sdk from 2.596.0 to 2.597.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.596.0 to 2.597.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.596.0...v2.597.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:27:37 -08:00
dependabot-preview[bot] 4f6148fd2d chore: Bump @zeit/ncc from 0.20.5 to 0.21.0
Bumps [@zeit/ncc](https://github.com/zeit/ncc) from 0.20.5 to 0.21.0.
- [Release notes](https://github.com/zeit/ncc/releases)
- [Commits](https://github.com/zeit/ncc/compare/0.20.5...0.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:27:23 -08:00
GitHub Actions 5f791d0fc5 chore: Update dist 2020-01-01 23:27:33 +00:00
dependabot-preview[bot] 3e55b391c1 chore: Bump aws-sdk from 2.586.0 to 2.596.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.586.0 to 2.596.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.586.0...v2.596.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 15:26:52 -08:00
dependabot-preview[bot] 23d406d277 chore: Bump eslint from 6.7.2 to 6.8.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 15:26:27 -08:00
Clare Liguori 8588cbdcd3 chore: Automated packaging commit uses a conventional commit message 2020-01-01 15:17:20 -08:00
Clare Liguori be8d1ecb70 chore: upgrade to actions/checkout v2 2020-01-01 15:08:04 -08:00
Michael Hausenblas c2cc6055b3 fixes link to GitHub Actions secrets 2019-12-27 16:53:09 -08:00
GitHub Actions 9aba253d91 Update dist 2019-12-09 23:34:03 +00:00
dependabot-preview[bot] 83b93836ae chore: Bump aws-sdk from 2.578.0 to 2.586.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.578.0 to 2.586.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.578.0...v2.586.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 15:33:28 -08:00
dependabot-preview[bot] 1169129f3d chore: Bump eslint from 6.7.1 to 6.7.2 (#4)
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 15:03:08 -08:00
Clare Liguori 11ae4e96f3 Add link action.yml for full input/output documentation 2019-11-29 09:44:16 -08:00
GitHub Actions 18a79864eb Update dist v1.0.1 2019-11-25 14:48:30 +00:00
dependabot-preview[bot] 6f45a2f25a Bump aws-sdk from 2.573.0 to 2.578.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.573.0 to 2.578.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.573.0...v2.578.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 06:47:51 -08:00
dependabot-preview[bot] d352c53832 Bump eslint from 6.6.0 to 6.7.1
Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.6.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 06:42:20 -08:00
GitHub Actions d18f724ec8 Update dist 2019-11-18 17:48:26 +00:00
Clare Liguori b6dbec51a5 Packaging workflow, so that dist/ doesn't get out of date 2019-11-18 09:43:17 -08:00
dependabot-preview[bot] e673e43e70 Bump aws-sdk from 2.567.0 to 2.573.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.567.0 to 2.573.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.567.0...v2.573.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-17 19:19:07 -08:00
Clare Liguori 5cd5be4c98 Add pull request check 2019-11-17 19:08:41 -08:00
Clare Liguori aa26d1f826 Add branding v1.0.0 2019-11-07 21:36:30 -08:00
Clare Liguori 4572624916 Update example action tag 2019-11-07 21:17:03 -08:00
Clare Liguori 798dfd9d16 Update URLs, upgrade deps 2019-11-07 21:15:05 -08:00
Clare Liguori e13421fee5 Add custom user agent 2019-11-03 18:41:05 -08:00
Clare Liguori a9cc37a0ee Add ref to usage example 2019-11-02 17:58:10 -07:00
Clare Liguori acd27c836f Add third-party attributions 2019-11-01 22:09:26 -07:00
Clare Liguori 04db117296 Add dependabot config 2019-11-01 21:09:42 -07:00
Clare Liguori e763741485 Update dist 2019-11-01 20:49:39 -07:00
Clare Liguori da518c1c8a Add support for masking the AWS account ID from logs 2019-11-01 20:49:03 -07:00
Clare Liguori 3aa1c0e14d Various fixes
Remove file-based env vars
Add support for session credentials
Add account ID as an output
Remove testing actions workflow
2019-11-01 20:35:42 -07:00
Steve Winton 8ec2a2c672 Always ignore node_modules 2019-11-01 10:32:13 -07:00
Steve Winton 2127606fee Add packaged artifact for release 2019-11-01 10:32:13 -07:00
Steve Winton c0c7826537 Rename package 2019-11-01 10:32:13 -07:00
Steve Winton d322a17a44 Setup CI using Actions 2019-11-01 10:32:13 -07:00
Steve Winton bb4ecd82fd Add initial implementation 2019-11-01 10:32:13 -07:00
Steve Winton 6c5c32e279 Add build status, usage to README 2019-11-01 10:32:13 -07:00
Clare Liguori 3b916a0bc8 Update README 2019-10-30 16:38:38 -07:00
James Siri 428f75f8dc Creating initial file from template 2019-10-30 15:33:02 -07:00
James Siri 6c07390da9 Creating initial file from template 2019-10-30 15:33:01 -07:00