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

Fix shell scripts to pass linter #563

Merged
merged 4 commits into from
Sep 29, 2021

Conversation

barroco
Copy link
Collaborator

@barroco barroco commented Sep 27, 2021

This pull request fixes shell scripts in order to pass shellcheck linter test.

Test command:

make lint

Please note that there are few TODO comments to be discussed with reviewers.

@BenjaminPelletier
Copy link
Member

I haven't had a chance to investigate why, but this PR currently seems to break the docker_e2e.sh integration test (verified on local machine as well)

@barroco barroco changed the base branch from scd_api_update to master September 28, 2021 12:36
@barroco
Copy link
Collaborator Author

barroco commented Sep 28, 2021

I haven't had a chance to investigate why, but this PR currently seems to break the docker_e2e.sh integration test (verified on local machine as well)

The PR was targeting the scd_api_update and failing because of the unfinished implementation of the tests.

I updated the PR to target master.

I had to add a filter to the linter to skip checks of the shell script in the astm-utm submodule. Let me know if you think that it would be preferable to propose the changes to the astm-utm repository instead. Please note that the script has been removed from the astm-utm repository in newer versions.

Copy link
Member

@BenjaminPelletier BenjaminPelletier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! A few comments below.

build/dev/startup/rid_bootstrapper.sh Outdated Show resolved Hide resolved
build/dev/startup/scd_bootstrapper.sh Outdated Show resolved Hide resolved
monitoring/rid_qualifier/host/run_locally.sh Outdated Show resolved Hide resolved
monitoring/rid_qualifier/run_locally.sh Show resolved Hide resolved
monitoring/tracer/run_poll_locally.sh Outdated Show resolved Hide resolved
monitoring/tracer/run_poll_locally.sh Show resolved Hide resolved
@BenjaminPelletier BenjaminPelletier merged commit 6ed0640 into interuss:master Sep 29, 2021
@barroco barroco deleted the fix-sh-lint branch September 29, 2021 18:46
BenjaminPelletier added a commit that referenced this pull request Oct 1, 2021
* [cleanup] Fix shell scripts to pass linter (#563)

* Fix shell scripts to pass linter

* Skip shell linter on submodule astm-utm

* Fix #563 comments - unused variables

* Fix #563 comments - boostrap script

* [ci] azure-pipelines: Add linter to build step (#576)

* azure-pipelines: Add linter to build step

* azure-pipelines: Revert to preserve job labels and pipeline name

* [deployment] Remove outdated files (#581)

* test cases updated with delete in the end.

* Script to run prober tests on local DSS instance

* Prober test run on local dss instances

* comments incorporated

* removed outdated files

* Update test_constraints_with_subscriptions to support 0.3.17

Co-authored-by: Michael Barroco <michael@orbitalize.com>
Co-authored-by: Pratibha <40968555+pratibhagupta2109@users.noreply.github.com>
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.

None yet

2 participants