gitops 0.11.0__tar.gz → 0.11.1__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 (76) hide show
  1. {gitops-0.11.0 → gitops-0.11.1}/Dockerfile +1 -0
  2. {gitops-0.11.0 → gitops-0.11.1}/PKG-INFO +1 -1
  3. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/Chart.yaml +1 -1
  4. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/environment.yml +1 -1
  5. {gitops-0.11.0 → gitops-0.11.1}/docker-compose.yml +0 -1
  6. {gitops-0.11.0 → gitops-0.11.1}/gitops/__init__.py +1 -1
  7. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/utils/__init__.py +1 -1
  8. {gitops-0.11.0 → gitops-0.11.1}/pyproject.toml +1 -1
  9. {gitops-0.11.0 → gitops-0.11.1}/.dockerignore +0 -0
  10. {gitops-0.11.0 → gitops-0.11.1}/.github/workflows/publish.yml +0 -0
  11. {gitops-0.11.0 → gitops-0.11.1}/.github/workflows/test.yml +0 -0
  12. {gitops-0.11.0 → gitops-0.11.1}/.gitignore +0 -0
  13. {gitops-0.11.0 → gitops-0.11.1}/.mise.toml +0 -0
  14. {gitops-0.11.0 → gitops-0.11.1}/.pre-commit-config.yaml +0 -0
  15. {gitops-0.11.0 → gitops-0.11.1}/LICENSE +0 -0
  16. {gitops-0.11.0 → gitops-0.11.1}/README.md +0 -0
  17. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/.helmignore +0 -0
  18. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/README.md +0 -0
  19. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/_helpers.tpl +0 -0
  20. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/certificate.yml +0 -0
  21. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/deployment.yml +0 -0
  22. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/ingress.yml +0 -0
  23. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/issuer.yml +0 -0
  24. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/secrets.yml +0 -0
  25. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/service.yml +0 -0
  26. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/templates/serviceaccount.yaml +0 -0
  27. {gitops-0.11.0 → gitops-0.11.1}/charts/gitops/values.yaml +0 -0
  28. {gitops-0.11.0 → gitops-0.11.1}/gitops/common/__init__.py +0 -0
  29. {gitops-0.11.0 → gitops-0.11.1}/gitops/common/app.py +0 -0
  30. {gitops-0.11.0 → gitops-0.11.1}/gitops/common/utils.py +0 -0
  31. {gitops-0.11.0 → gitops-0.11.1}/gitops/core.py +0 -0
  32. {gitops-0.11.0 → gitops-0.11.1}/gitops/db.py +0 -0
  33. {gitops-0.11.0 → gitops-0.11.1}/gitops/main.py +0 -0
  34. {gitops-0.11.0 → gitops-0.11.1}/gitops/py.typed +0 -0
  35. {gitops-0.11.0 → gitops-0.11.1}/gitops/settings.py +0 -0
  36. {gitops-0.11.0 → gitops-0.11.1}/gitops/shorthands.py +0 -0
  37. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/__init__.py +0 -0
  38. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/apps.py +0 -0
  39. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/async_runner.py +0 -0
  40. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/cli.py +0 -0
  41. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/exceptions.py +0 -0
  42. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/images.py +0 -0
  43. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/kube.py +0 -0
  44. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/tags.py +0 -0
  45. {gitops-0.11.0 → gitops-0.11.1}/gitops/utils/yaml.py +0 -0
  46. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/README.md +0 -0
  47. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/__init__.py +0 -0
  48. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/app.py +0 -0
  49. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/main.py +0 -0
  50. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/settings.py +0 -0
  51. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/types.py +0 -0
  52. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/utils/git.py +0 -0
  53. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/utils/github.py +0 -0
  54. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/utils/slack.py +0 -0
  55. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/__init__.py +0 -0
  56. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/deployer/__init__.py +0 -0
  57. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/deployer/deploy.py +0 -0
  58. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/deployer/hooks.py +0 -0
  59. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/deployer/worker.py +0 -0
  60. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/status_updater/__init__.py +0 -0
  61. {gitops-0.11.0 → gitops-0.11.1}/gitops_server/workers/status_updater/worker.py +0 -0
  62. {gitops-0.11.0 → gitops-0.11.1}/poetry.lock +0 -0
  63. {gitops-0.11.0 → gitops-0.11.1}/release.py +0 -0
  64. {gitops-0.11.0 → gitops-0.11.1}/ruff.toml +0 -0
  65. {gitops-0.11.0 → gitops-0.11.1}/secrets.example.env +0 -0
  66. {gitops-0.11.0 → gitops-0.11.1}/setup.cfg +0 -0
  67. {gitops-0.11.0 → gitops-0.11.1}/tests/__init__.py +0 -0
  68. {gitops-0.11.0 → gitops-0.11.1}/tests/sample_data.py +0 -0
  69. {gitops-0.11.0 → gitops-0.11.1}/tests/test_app.py +0 -0
  70. {gitops-0.11.0 → gitops-0.11.1}/tests/test_core.py +0 -0
  71. {gitops-0.11.0 → gitops-0.11.1}/tests/test_deploy.py +0 -0
  72. {gitops-0.11.0 → gitops-0.11.1}/tests/test_gitops_server.py +0 -0
  73. {gitops-0.11.0 → gitops-0.11.1}/tests/test_utils.py +0 -0
  74. {gitops-0.11.0 → gitops-0.11.1}/tests/utils.py +0 -0
  75. {gitops-0.11.0 → gitops-0.11.1}/tests/webhook_sample_data.py +0 -0
  76. {gitops-0.11.0 → gitops-0.11.1}/uv.lock +0 -0
@@ -39,6 +39,7 @@ COPY --link=true pyproject.toml uv.lock /app/
39
39
  RUN --mount=type=cache,target=/root/.cache/ \
40
40
  (uv sync --frozen --no-install-project --extra server || uv sync --frozen --no-install-project --extra server)
41
41
  # Install dependencies
42
+ RUN git config --global advice.detachedHead false
42
43
 
43
44
  COPY cluster.key /app/
44
45
  COPY gitops /app/gitops/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gitops
3
- Version: 0.11.0
3
+ Version: 0.11.1
4
4
  Summary: Manage multiple apps across one or more k8s clusters.
5
5
  Author-email: Jarek Głowacki <jarekwg@gmail.com>
6
6
  License-File: LICENSE
@@ -2,4 +2,4 @@ apiVersion: v1
2
2
  appVersion: "1.0"
3
3
  description: GitOps Server Helm chart.
4
4
  name: gitops
5
- version: 0.11.0
5
+ version: 0.11.1
@@ -4,5 +4,5 @@ metadata:
4
4
  name: {{ .Release.Name }}-environment
5
5
  data:
6
6
  {{- range $key, $val := .Values.environment }}
7
- {{ $key }}: {{ $val }}
7
+ {{ $key }}: {{ $val | quote }}
8
8
  {{- end }}
@@ -1,4 +1,3 @@
1
- version: "3.8"
2
1
  services:
3
2
  web:
4
3
  build: .
@@ -4,7 +4,7 @@ from pathlib import Path
4
4
 
5
5
  from .utils.cli import success, warning
6
6
 
7
- __version__ = "0.11.0"
7
+ __version__ = "0.11.1"
8
8
 
9
9
 
10
10
  # Checking gitops version matches cluster repo version.
@@ -19,7 +19,7 @@ async def run(command, suppress_errors=False) -> RunOutput:
19
19
  )
20
20
 
21
21
  stdout, stderr = await proc.communicate()
22
- exit_code = proc.returncode or 1
22
+ exit_code = proc.returncode if proc.returncode not in (None, 128) else 1 # type: ignore
23
23
  if exit_code == 0:
24
24
  return RunOutput(exit_code=exit_code, output=stdout.decode())
25
25
  else:
@@ -1,7 +1,7 @@
1
1
 
2
2
  [project]
3
3
  name = "gitops"
4
- version = "0.11.0"
4
+ version = "0.11.1"
5
5
  description = "Manage multiple apps across one or more k8s clusters."
6
6
  requires-python = ">=3.12"
7
7
  readme = "README.md"
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
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