-
Notifications
You must be signed in to change notification settings - Fork 90
chore: Remove empty CDK test #1542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
3475bd6
631d2f3
2f69e81
b4cda11
0a99e83
6dd90d4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,10 @@ jobs: | |
with: | ||
distribution: 'corretto' | ||
java-version: 11 | ||
- name: Build Project | ||
working-directory: . | ||
run: | | ||
mvn install -DskipTests | ||
- name: Run SAM validator to check syntax of IaC templates - Java | ||
working-directory: examples/powertools-examples-core/${{ matrix.project }} | ||
run: | | ||
|
@@ -38,7 +42,7 @@ jobs: | |
terraform -version | ||
terraform init -backend=false | ||
terraform validate | ||
terraform plan | ||
echo terraform plan # We can't do this without a credentials source | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one needs IAM credentials ?! I've removed it so we do all of the validation apart from the part that connects to AWS. I think this is reasonable. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, let's remove the part that needs AWS credentials, it will avoid failed builds for non-PT-members who push a PR.
jeromevdl marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: Setup Terraform lint | ||
uses: terraform-linters/setup-tflint@a5a1af8c6551fb10c53f1cd4ba62359f1973746f # v3.1.1 | ||
- name: Run Terraform lint to check for best practices, errors, deprecated syntax etc. | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
terraform validate
needs to be able to find the artifacts of the build process. Because they are all-SNAPSHOT
, they have to be built. So, build them.