itw-python-builder 0.2.4__py3-none-any.whl → 0.2.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -510,6 +510,10 @@ def analyze(ctx: Context):
510
510
 
511
511
  if not sonar_host or not sonar_token:
512
512
  raise RuntimeError('SONAR_HOST_URL and SONAR_TOKEN environment variables must be set.')
513
+
514
+ sonar_cache_dir = os.path.join(os.path.expanduser('~'), '.sonar', 'cache')
515
+ os.makedirs(sonar_cache_dir, exist_ok=True)
516
+
513
517
  ctx.run(
514
518
  f'podman run --rm -e SONAR_HOST_URL={sonar_host} -e SONAR_TOKEN={sonar_token} -e GIT_DEPTH={git_depth} --user=root -v "$(pwd)":/usr/src:Z -v $HOME/.sonar/cache:/opt/sonar-scanner/.sonar/cache:Z docker.io/sonarsource/sonar-scanner-cli:latest -Dsonar.projectVersion={sonar_version}')
515
519
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: itw_python_builder
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Standardized Django deployment pipeline with Docker, testing, and SonarQube integration
5
5
  Author-email: IT-Works <contact@it-works.io>
6
6
  License: MIT
@@ -3,15 +3,15 @@ itw_python_builder/__init__.py,sha256=0HwEqonfK8w1kx80BOX80fvxSL8ov1hmUD2Zi4SU75
3
3
  itw_python_builder/cli.py,sha256=K8ZaLtxr_i1YNlK7js1kCRCiC7tTXrybMbSVAHA3yEg,210
4
4
  itw_python_builder/notify.py,sha256=3cZx5tjpjIst5D_bbEGwfMOMYRayZ0s7ztCYTsGQbeY,3154
5
5
  itw_python_builder/ssr_tasks.py,sha256=TqkuGLH9XJqDkTPBuRnFAKJywYqvdf0lSlSMXtVPM5Y,15730
6
- itw_python_builder/tasks.py,sha256=rRo1VR8u0VHK6oBYqnk92Xj8En_lemo_jh0uyotHz78,24181
6
+ itw_python_builder/tasks.py,sha256=ekdStP1xEqoXdXapch11ubRPRamL18QyFvoz2wgcnts,24310
7
7
  itw_python_builder/utils.py,sha256=7dyuXwN-4kwb7-KGbkTdg-ylu4JtxNDGC8n71FfVZb8,19978
8
8
  itw_python_builder/version.py,sha256=RCSKNU4eblCP38-PH5hT6qMDKOyQq5YGCoT2mgpfZkE,3165
9
9
  itw_python_builder/templates/new_version_email.html,sha256=hdWYfL_3QCBsdrdRXu0KB75pK1uCC5eoBY9B6u5lrUw,1963
10
10
  itw_python_builder/templates/server.sitemap.snippet.ts,sha256=qjRCLiAqzDUTqsWxJLeqlr-jOluK0IE2IoN_lbSx0ec,669
11
11
  itw_python_builder/templates/sitemap.routes.ts,sha256=yOXZ8TpHq_-QKH7y_u75XpL8paCF4AEv5z5cvWeI7yY,1323
12
- itw_python_builder-0.2.4.dist-info/licenses/LICENSE,sha256=WZ75-earCxnov77gsH4vckNf7Ag8RPst-7y9dPaZTCU,1063
13
- itw_python_builder-0.2.4.dist-info/METADATA,sha256=JOH1-pGVaFltql5SKWkgfHcRSPNq7YUMcxmqIcBnoIE,4895
14
- itw_python_builder-0.2.4.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
15
- itw_python_builder-0.2.4.dist-info/entry_points.txt,sha256=Rx2zlbaCxl954YX8kF4hey3Y25fxsaxiEPXjBPw3ky0,52
16
- itw_python_builder-0.2.4.dist-info/top_level.txt,sha256=9djpWUrRa0vuSfdVrHc4-3gvAHbBvzh_lbyzgTHtkJA,19
17
- itw_python_builder-0.2.4.dist-info/RECORD,,
12
+ itw_python_builder-0.2.5.dist-info/licenses/LICENSE,sha256=WZ75-earCxnov77gsH4vckNf7Ag8RPst-7y9dPaZTCU,1063
13
+ itw_python_builder-0.2.5.dist-info/METADATA,sha256=zILdO6Tj-kkOp43RUOvwXMkJoQbV5TDCYJzdUq_UkMY,4895
14
+ itw_python_builder-0.2.5.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
15
+ itw_python_builder-0.2.5.dist-info/entry_points.txt,sha256=Rx2zlbaCxl954YX8kF4hey3Y25fxsaxiEPXjBPw3ky0,52
16
+ itw_python_builder-0.2.5.dist-info/top_level.txt,sha256=9djpWUrRa0vuSfdVrHc4-3gvAHbBvzh_lbyzgTHtkJA,19
17
+ itw_python_builder-0.2.5.dist-info/RECORD,,