Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
fix(unit-test): lose helm
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkuan committed Jul 16, 2021
1 parent e5e3a05 commit 64c7131
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 1,396 deletions.
1 change: 1 addition & 0 deletions .gitattributes

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

22 changes: 22 additions & 0 deletions .github/workflows/auto-approve.yml

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

8 changes: 8 additions & 0 deletions .github/workflows/release.yml

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

5 changes: 2 additions & 3 deletions .github/workflows/upgrade-dependencies.yml

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.

21 changes: 20 additions & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { ConstructLibrary } = require('projen');
const { ConstructLibrary, DependenciesUpgradeMechanism } = require('projen');
const PROJECT_DESCRIPTION = 'cdk8s-aws-load-balancer-controller is an CDK8S construct library that provides AWS Alb Load Balancer Controller Configure.';
const CDK_VERSION = '1.113.0';
const CDK8S_VERSION = '1.0.0-beta.10';
Expand Down Expand Up @@ -37,6 +37,25 @@ const project = new ConstructLibrary({
'@types/js-yaml@^3.12.5',
'js-yaml@^3.14.0',
],
depsUpgrade: DependenciesUpgradeMechanism.githubWorkflow({
workflowOptions: {
labels: ['auto-approve'],
secret: 'AUTOMATION_GITHUB_TOKEN',
},
}),
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['neilkuan'],
},
releaseWorkflowSetupSteps: [{
name: 'Install Helm',
id: 'install_helm',
run: `curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
sudo apt-get install apt-transport-https --yes
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm`,
}],
});

const common_exclude = ['cdk.out', 'cdk.context.json', 'image', 'yarn-error.log', 'coverage'];
Expand Down
Loading

0 comments on commit 64c7131

Please sign in to comment.