Skip to content
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

Add shellcheck extension to dev container #7963

Merged
merged 5 commits into from
Nov 14, 2024

Conversation

brooke-hamilton
Copy link
Contributor

Description

Adds the shell check extension to the dev container. See https://marketplace.visualstudio.com/items?itemName=timonwong.shellcheck.

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: N/A

@rynowak FYI

@brooke-hamilton brooke-hamilton requested review from a team as code owners September 25, 2024 18:12
rynowak
rynowak previously approved these changes Sep 25, 2024
@radius-functional-tests
Copy link

radius-functional-tests bot commented Sep 25, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository brooke-hamilton/radius
Commit ref 47f09ec
Unique ID funcca714fa79f
Image tag pr-funcca714fa79f
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcca714fa79f
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcca714fa79f
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcca714fa79f
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcca714fa79f
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
⌛ Starting datastoresrp-cloud functional tests...
✅ datastoresrp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded
❌ Test tool installation for ucp-cloud failed. Please check the logs for more details
❌ Failed to install Radius for ucp-cloud functional test. Please check the logs for more details
❌ ucp-cloud functional test failed. Please check the logs for more details

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.17%. Comparing base (125b9fd) to head (87f85e4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7963      +/-   ##
==========================================
- Coverage   59.21%   59.17%   -0.04%     
==========================================
  Files         579      579              
  Lines       38697    38697              
==========================================
- Hits        22914    22899      -15     
- Misses      14145    14155      +10     
- Partials     1638     1643       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
@radius-functional-tests
Copy link

radius-functional-tests bot commented Sep 27, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository brooke-hamilton/radius
Commit ref 7278347
Unique ID func958dcfde7b
Image tag pr-func958dcfde7b
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func958dcfde7b
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func958dcfde7b
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func958dcfde7b
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func958dcfde7b
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting datastoresrp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ datastoresrp-cloud functional tests succeeded
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
@radius-functional-tests
Copy link

radius-functional-tests bot commented Oct 24, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository brooke-hamilton/radius
Commit ref f5cb333
Unique ID funcdffc2b0903
Image tag pr-funcdffc2b0903
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcdffc2b0903
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcdffc2b0903
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcdffc2b0903
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcdffc2b0903
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@superbeeny
Copy link
Contributor

Anything that can catch me being forgetful before the push is awesome, along the same lines how do folk feel about pre-commit and post-receive hooks?

@brooke-hamilton
Copy link
Contributor Author

Anything that can catch me being forgetful before the push is awesome, along the same lines how do folk feel about pre-commit and post-receive hooks?

@superbeeny thank you for the comment! 🎸 I created issue #8022 to track this. In the issue I described adding shellcheck to the PR validation checks, and I'm thinking that using the VS Code extension + the PR checks is enough, but if you think we should also configure pre- and post-commit checks in git lets continue the discussion.

@rynowak
Copy link
Contributor

rynowak commented Nov 6, 2024

Anything that can catch me being forgetful before the push is awesome, along the same lines how do folk feel about pre-commit and post-receive hooks?

I'm a fan of pre-commit hooks, but also understand that they optional and a lot of folk will ignore them 😆.

I'm not sure I've seen a post-receive hook in the wild. What do you use them for?

@superbeeny
Copy link
Contributor

Anything that can catch me being forgetful before the push is awesome, along the same lines how do folk feel about pre-commit and post-receive hooks?

I'm a fan of pre-commit hooks, but also understand that they optional and a lot of folk will ignore them 😆.

I'm not sure I've seen a post-receive hook in the wild. What do you use them for?

Let them ignore them at their peril! I'd like a hook to run make generate before committing 🤣 I haven't used post-receive in a long time, but would use them for notifications and any other server side nonsense

@rynowak
Copy link
Contributor

rynowak commented Nov 6, 2024

Let them ignore them at their peril! I'd like a hook to run make generate before committing 🤣 I haven't used post-receive in a long time, but would use them for notifications and any other server side nonsense

If you want to add something, send us a PR 😆 As long as it's optional, that seems like a good experiment to try.

@radius-functional-tests
Copy link

radius-functional-tests bot commented Nov 13, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository brooke-hamilton/radius
Commit ref 8c86fb2
Unique ID func25d155d253
Image tag pr-func25d155d253
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func25d155d253
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func25d155d253
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-func25d155d253
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func25d155d253
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func25d155d253
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@radius-functional-tests
Copy link

radius-functional-tests bot commented Nov 13, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository brooke-hamilton/radius
Commit ref 87f85e4
Unique ID func961b1df22c
Image tag pr-func961b1df22c
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr: 1.12.0
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func961b1df22c
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func961b1df22c
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-func961b1df22c
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func961b1df22c
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func961b1df22c
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@ytimocin ytimocin merged commit 70ff3f8 into radius-project:main Nov 14, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants