rbx 3.28.0__tar.gz → 3.28.0.dev208__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.
Files changed (46) hide show
  1. {rbx-3.28.0 → rbx-3.28.0.dev208}/PKG-INFO +1 -1
  2. {rbx-3.28.0 → rbx-3.28.0.dev208}/pyproject.toml +2 -2
  3. rbx-3.28.0.dev208/rbx/__init__.py +1 -0
  4. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/auth/__init__.py +0 -1
  5. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/buildtools/tasks/ec2.py +13 -5
  6. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/place_exchange.py +0 -1
  7. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx.egg-info/PKG-INFO +1 -1
  8. rbx-3.28.0/rbx/__init__.py +0 -1
  9. {rbx-3.28.0 → rbx-3.28.0.dev208}/LICENSE +0 -0
  10. {rbx-3.28.0 → rbx-3.28.0.dev208}/README.md +0 -0
  11. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/auth/decorators.py +0 -0
  12. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/auth/id_token.py +0 -0
  13. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/auth/keystore.py +0 -0
  14. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/auth/mock.py +0 -0
  15. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/aws/__init__.py +0 -0
  16. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/aws/s3.py +0 -0
  17. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/buildtools/__init__.py +0 -0
  18. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/buildtools/cli.py +0 -0
  19. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/buildtools/tasks/__init__.py +0 -0
  20. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/buildtools/tasks/image.py +0 -0
  21. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/buildtools/tasks/misc.py +0 -0
  22. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/__init__.py +0 -0
  23. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/adsquare.py +0 -0
  24. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/broadsign.py +0 -0
  25. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/oxr.py +0 -0
  26. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/panels.py +0 -0
  27. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/reporting.py +0 -0
  28. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/clients/retry.py +0 -0
  29. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/exceptions.py +0 -0
  30. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/gcp/__init__.py +0 -0
  31. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/gcp/cloud_tasks.py +0 -0
  32. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/gcp/pubsub.py +0 -0
  33. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/gcp/storage.py +0 -0
  34. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/logging.py +0 -0
  35. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/settings.py +0 -0
  36. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/utils/__init__.py +0 -0
  37. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/utils/mdm.py +0 -0
  38. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/utils/vast.py +0 -0
  39. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/web/__init__.py +0 -0
  40. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx/web/handlers.py +0 -0
  41. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx.egg-info/SOURCES.txt +0 -0
  42. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx.egg-info/dependency_links.txt +0 -0
  43. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx.egg-info/entry_points.txt +0 -0
  44. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx.egg-info/requires.txt +0 -0
  45. {rbx-3.28.0 → rbx-3.28.0.dev208}/rbx.egg-info/top_level.txt +0 -0
  46. {rbx-3.28.0 → rbx-3.28.0.dev208}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rbx
3
- Version: 3.28.0
3
+ Version: 3.28.0.dev208
4
4
  Summary: A collection of common tools for Scoota services.
5
5
  Author-email: The Scoota Engineering Team <engineering@scoota.com>
6
6
  License:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rbx"
7
- version = "3.28.0"
7
+ version = "3.28.0.dev208"
8
8
  description = "A collection of common tools for Scoota services."
9
9
  authors = [
10
10
  { name = "The Scoota Engineering Team", email = "engineering@scoota.com" }
@@ -80,7 +80,7 @@ homepage = "https://github.com/rockabox/rbx"
80
80
  repository = "https://github.com/rockabox/rbx.git"
81
81
 
82
82
  [tool.bumpversion]
83
- current_version = "3.28.0"
83
+ current_version = "3.28.0.dev208"
84
84
  commit = true
85
85
  parse = """
86
86
  (?P<major>\\d+)\\.
@@ -0,0 +1 @@
1
+ __version__ = "3.28.0.dev208"
@@ -1,5 +1,4 @@
1
1
  from .keystore import Keystore
2
2
  from .mock import KeystoreMock
3
3
 
4
-
5
4
  __all__ = ["Keystore", "KeystoreMock"]
@@ -37,12 +37,22 @@ def deploy(host, user, key_filename, service, environment, sandboxed, version):
37
37
  echo=True,
38
38
  )
39
39
 
40
+ # Pull the new version before restarting the services.
41
+ connection.run(
42
+ f"docker compose -p {service}{environment} -f {service}/docker-compose.yml pull",
43
+ echo=True,
44
+ env={
45
+ "SANDBOXED": sandboxed,
46
+ "VERSION": version,
47
+ },
48
+ )
49
+
40
50
  # Restart the Docker container forcing recreate so that new version is used.
41
51
  # Using `force-recreate` alone doesn't seem to be enough to use the latest version. So we
42
52
  # do `down` and then `up`.
43
53
  connection.run(
44
- "docker-compose -p {service}{env} -f {service}/docker-compose.yml down"
45
- " --volumes --remove-orphans".format(service=service, env=environment),
54
+ f"docker compose -p {service}{environment} -f {service}/docker-compose.yml down"
55
+ " --volumes --remove-orphans",
46
56
  echo=True,
47
57
  env={
48
58
  "SANDBOXED": sandboxed,
@@ -51,9 +61,7 @@ def deploy(host, user, key_filename, service, environment, sandboxed, version):
51
61
  warn=True,
52
62
  )
53
63
  connection.run(
54
- "docker-compose -p {service}{env} -f {service}/docker-compose.yml up -d".format(
55
- service=service, env=environment
56
- ),
64
+ f"docker compose -p {service}{environment} -f {service}/docker-compose.yml up -d",
57
65
  echo=True,
58
66
  env={
59
67
  "SANDBOXED": sandboxed,
@@ -8,7 +8,6 @@ from requests.auth import AuthBase
8
8
  from . import Client
9
9
  from ..exceptions import ClientError, ServerError
10
10
 
11
-
12
11
  logger = logging.getLogger(__name__)
13
12
 
14
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rbx
3
- Version: 3.28.0
3
+ Version: 3.28.0.dev208
4
4
  Summary: A collection of common tools for Scoota services.
5
5
  Author-email: The Scoota Engineering Team <engineering@scoota.com>
6
6
  License:
@@ -1 +0,0 @@
1
- __version__ = "3.28.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes