superset-showtime 0.2.5__tar.gz → 0.2.6__tar.gz

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.

Potentially problematic release.


This version of superset-showtime might be problematic. Click here for more details.

Files changed (30) hide show
  1. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/PKG-INFO +1 -1
  2. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/__init__.py +1 -1
  3. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/cli.py +2 -2
  4. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/core/aws.py +5 -3
  5. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/.claude/settings.local.json +0 -0
  6. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/.gitignore +0 -0
  7. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/.pre-commit-config.yaml +0 -0
  8. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/CLAUDE.md +0 -0
  9. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/Makefile +0 -0
  10. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/README.md +0 -0
  11. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/dev-setup.sh +0 -0
  12. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/pypi-push.sh +0 -0
  13. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/pyproject.toml +0 -0
  14. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/requirements-dev.txt +0 -0
  15. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/requirements.txt +0 -0
  16. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/__main__.py +0 -0
  17. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/commands/__init__.py +0 -0
  18. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/commands/start.py +0 -0
  19. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/core/__init__.py +0 -0
  20. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/core/circus.py +0 -0
  21. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/core/emojis.py +0 -0
  22. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/core/github.py +0 -0
  23. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/core/label_colors.py +0 -0
  24. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/showtime/data/ecs-task-definition.json +0 -0
  25. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/tests/__init__.py +0 -0
  26. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/tests/unit/__init__.py +0 -0
  27. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/tests/unit/test_circus.py +0 -0
  28. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/uv.lock +0 -0
  29. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/workflows-reference/showtime-cleanup.yml +0 -0
  30. {superset_showtime-0.2.5 → superset_showtime-0.2.6}/workflows-reference/showtime-trigger.yml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: superset-showtime
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: 🎪 Apache Superset ephemeral environment management with circus tent emoji state tracking
5
5
  Project-URL: Homepage, https://github.com/apache/superset-showtime
6
6
  Project-URL: Documentation, https://superset-showtime.readthedocs.io/
@@ -4,7 +4,7 @@
4
4
  Circus tent emoji state tracking for Apache Superset ephemeral environments.
5
5
  """
6
6
 
7
- __version__ = "0.2.5"
7
+ __version__ = "0.2.6"
8
8
  __author__ = "Maxime Beauchemin"
9
9
  __email__ = "maximebeauchemin@gmail.com"
10
10
 
@@ -33,8 +33,8 @@ def _show_service_urls(show, context: str = "deployment"):
33
33
  """Show helpful AWS Console URLs for monitoring service"""
34
34
  urls = _get_service_urls(show)
35
35
  console.print(f"\n🎪 [bold blue]Monitor {context} progress:[/bold blue]")
36
- console.print(f" 📝 Live Logs: {urls['logs']}")
37
- console.print(f" 📊 ECS Service: {urls['service']}")
36
+ console.print(f"📝 Logs: {urls['logs']}")
37
+ console.print(f"📊 Service: {urls['service']}")
38
38
  console.print("")
39
39
 
40
40
 
@@ -139,7 +139,7 @@ class AWSInterface:
139
139
 
140
140
  # Step 4: Create new green service
141
141
  print(f"🟢 Creating green service: {service_name}")
142
- success = self._create_ecs_service(service_name, pr_number, github_user)
142
+ success = self._create_ecs_service(service_name, pr_number, github_user, task_def_arn)
143
143
  if not success:
144
144
  return EnvironmentResult(success=False, error="Green service creation failed")
145
145
 
@@ -373,14 +373,16 @@ class AWSInterface:
373
373
  except Exception:
374
374
  return False
375
375
 
376
- def _create_ecs_service(self, service_name: str, pr_number: int, github_user: str) -> bool:
376
+ def _create_ecs_service(
377
+ self, service_name: str, pr_number: int, github_user: str, task_def_arn: str
378
+ ) -> bool:
377
379
  """Create ECS service (replicate exact GHA create-service step)"""
378
380
  try:
379
381
  # Replicate exact GHA create-service command parameters
380
382
  self.ecs_client.create_service(
381
383
  cluster=self.cluster,
382
384
  serviceName=service_name, # pr-{pr_number}-service
383
- taskDefinition=self.cluster, # Uses cluster name as task def family
385
+ taskDefinition=task_def_arn, # Use our custom task definition with env vars
384
386
  launchType="FARGATE",
385
387
  desiredCount=1,
386
388
  platformVersion="LATEST",