Skip to content

Commit

Permalink
feat: add support for githubresource
Browse files Browse the repository at this point in the history
Introduce GitHubResource.
With that L1 construct its possible to define most resources in github.
Usable when no L3 construct is available for your github resource.
  • Loading branch information
WtfJoke committed Jul 5, 2022
1 parent 6b6d6d5 commit 71441d3
Show file tree
Hide file tree
Showing 21 changed files with 943 additions and 34 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .projen/files.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ const project = new awscdk.AwsCdkConstructLibrary({
name: 'cdk-github',
cdkVersion: '2.25.0',
defaultReleaseBranch: 'main',
deps: ['@octokit/core', 'libsodium', 'libsodium-wrappers', '@aws-sdk/client-secrets-manager'], /* Runtime dependencies of this module. */
bundledDeps: ['@octokit/core', 'libsodium', 'libsodium-wrappers', '@aws-sdk/client-secrets-manager'], /* Dependencies that are bundled with this module. */
deps: ['@octokit/core', 'libsodium', 'libsodium-wrappers', '@aws-sdk/client-secrets-manager', '@aws-sdk/client-ssm'], /* Runtime dependencies of this module. */
bundledDeps: ['@octokit/core', 'libsodium', 'libsodium-wrappers', '@aws-sdk/client-secrets-manager', '@aws-sdk/client-ssm'], /* Dependencies that are bundled with this module. */
devDeps: ['esbuild', '@types/libsodium-wrappers', '@types/aws-lambda', 'nock', 'aws-sdk-client-mock'], /* Build dependencies for this module. */
gitignore: ['cdk.out'],
scripts: {
'cdk:actionsecret:deploy': 'npx cdk deploy --app "npx ts-node --prefer-ts-exts src/examples/action-secret/action-secret-app.ts"',
'cdk:actionenvironmentsecret:deploy': 'npx cdk deploy --app "npx ts-node --prefer-ts-exts src/examples/action-environment-secret/action-environment-secret-app.ts"',
'cdk:githubresourceissue:deploy': 'npx cdk deploy --app "npx ts-node --prefer-ts-exts src/examples/github-resource/github-resource-issue-app.ts"',
},
depsUpgradeOptions: {
workflowOptions: {
Expand Down
Loading

0 comments on commit 71441d3

Please sign in to comment.