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

Bugfix/10453 fix proxy config #9

Merged
merged 15 commits into from
Jul 20, 2022
Merged

Bugfix/10453 fix proxy config #9

merged 15 commits into from
Jul 20, 2022

Conversation

rom3be
Copy link
Contributor

@rom3be rom3be commented Jul 11, 2022

Description

  • Configure devcontainer to support building devcontainer behind corporate proxies
  • Tested on Mac, Windows and Linux on three different machines/users
  • Calling configure proxy script while building devcontainer

Azure DevOps PBI/Task reference

AB#[PBI/Task number]

Checklist

  • Vehicle App can be started with dapr run and is connecting to vehicle data broker

  • Vehicle App can process MQTT messages and call the seat service

  • Vehicle App can be deployed to local K3D and is running

  • Created/updated tests, if necessary. Code Coverage percentage on new code shall be >= 70%.

  • Extended the documentation in Velocitas repo

  • Extended the documentation in README.md

  • [ x ] Devcontainer can be opened successfully

  • [ x ] Devcontainer can be opened successfully behind a corporate proxy

  • [ x ] Devcontainer can be re-built successfully

  • Release workflow is passing

@github-actions
Copy link

github-actions bot commented Jul 11, 2022

Unit Test Results

4 tests  ±0   4 ✔️ ±0   6s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ±0 

Results for commit 329f89a. ± Comparison against base commit 161da86.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 11, 2022

Trivy Scan Results (seatadjuster)

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
1 files   ±0   0 ±0 

Results for commit 329f89a. ± Comparison against base commit 161da86.

♻️ This comment has been updated with latest results.

Copy link
Contributor Author

@rom3be rom3be left a comment

Choose a reason for hiding this comment

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

@emsameen If you might have a task, would it be possible for you to create a k3d Cluster and test it that apps are deployed and run successfully?

Copy link
Contributor Author

@rom3be rom3be left a comment

Choose a reason for hiding this comment

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

@rom3be fix linter

@github-actions
Copy link

Coverage after merging bugfix/10453-fix-proxy-config into main will be

93.88%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/SeatAdjusterApp
   test_run.py93.88%100%100%93.88%114–115, 118

Copy link
Member

@emsameen emsameen left a comment

Choose a reason for hiding this comment

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

LGTM.

Next improvement shall consider:

  • finding a better fix for the redundant proxy setup in every script files
  • observe and regression issue due to the removal of the wgetrc proxy setup.

Thanks!

@@ -96,13 +96,6 @@ if [ "${USE_PROXIES}" = "true" ]; then
git config --global https.proxy ${HTTPS_PROXY}
fi

echo "# Proxy settings" >> /etc/wgetrc
Copy link
Member

Choose a reason for hiding this comment

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

We need to observe any regression issue with the wget due to this change.

  • But currently no action is required

@rom3be rom3be merged commit 560369f into main Jul 20, 2022
@mml5bg mml5bg deleted the bugfix/10453-fix-proxy-config branch December 13, 2022 07:09
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.

2 participants