gitops 0.14.1__tar.gz → 1.0.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.
- gitops-1.0.1/.release-please-manifest.json +5 -0
- {gitops-0.14.1 → gitops-1.0.1}/CHANGELOG.md +23 -0
- {gitops-0.14.1 → gitops-1.0.1}/Dockerfile +1 -1
- {gitops-0.14.1 → gitops-1.0.1}/PKG-INFO +12 -8
- {gitops-0.14.1 → gitops-1.0.1}/README.md +8 -5
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/CHANGELOG.md +7 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/Chart.yaml +1 -1
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/secrets.yml +0 -1
- {gitops-0.14.1 → gitops-1.0.1}/gitops/__init__.py +2 -1
- {gitops-0.14.1 → gitops-1.0.1}/pyproject.toml +2 -2
- {gitops-0.14.1 → gitops-1.0.1}/release-please-config.json +3 -3
- gitops-1.0.1/uv.lock +1424 -0
- gitops-0.14.1/.release-please-manifest.json +0 -5
- gitops-0.14.1/uv.lock +0 -1291
- {gitops-0.14.1 → gitops-1.0.1}/.dockerignore +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/.github/workflows/release-please.yaml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/.github/workflows/test.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/.gitignore +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/.mise.toml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/.pre-commit-config.yaml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/LICENSE +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/.helmignore +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/README.md +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/_helpers.tpl +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/certificate.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/deployment.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/environment.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/ingress.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/issuer.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/service.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/templates/serviceaccount.yaml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/charts/gitops/values.yaml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/docker-compose.yml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/common/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/common/app.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/common/utils.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/core.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/main.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/py.typed +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/settings.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/shorthands.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/apps.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/async_runner.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/cli.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/exceptions.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/images.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/kube.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/tags.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops/utils/yaml.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/CHANGELOG.md +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/README.md +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/app.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/main.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/settings.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/types.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/utils/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/utils/git.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/utils/github.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/utils/slack.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/deployer/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/deployer/deploy.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/deployer/hooks.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/deployer/worker.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/status_updater/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/gitops_server/workers/status_updater/worker.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/release.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/ruff.toml +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/secrets.example.env +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/setup.cfg +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/__init__.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/conftest.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/sample_data.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/test_app.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/test_core.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/test_deploy.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/test_git.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/test_gitops_server.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/test_utils.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/utils.py +0 -0
- {gitops-0.14.1 → gitops-1.0.1}/tests/webhook_sample_data.py +0 -0
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.1](https://github.com/uptick/gitops/compare/cli-v1.0.0...cli-v1.0.1) (2025-01-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* do not use --reload on server ([d785d88](https://github.com/uptick/gitops/commit/d785d88dfae8d3fe1073a7807933a68fd56dc975))
|
|
9
|
+
|
|
10
|
+
## [1.0.0](https://github.com/uptick/gitops/compare/cli-v0.14.1...cli-v1.0.0) (2025-01-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* exit early if the gitops version is below the cluster minimum version
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* exit early if the gitops version is below the cluster minimum version ([790ef4e](https://github.com/uptick/gitops/commit/790ef4e75b92b5a68fdddc0b0d215a224ac6b5c0))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
* clarify installation instructions ([5171917](https://github.com/uptick/gitops/commit/517191793c3a73eff9a02cb6bdd9ffe1bbaf2ee8))
|
|
25
|
+
|
|
3
26
|
## [0.14.1](https://github.com/uptick/gitops/compare/cli-v0.14.0...cli-v0.14.1) (2024-12-06)
|
|
4
27
|
|
|
5
28
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: gitops
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Manage multiple apps across one or more k8s clusters.
|
|
5
5
|
Author-email: Jarek Głowacki <jarekwg@gmail.com>
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Requires-Python: >=3.12
|
|
7
8
|
Requires-Dist: boto3==1.35.4
|
|
8
9
|
Requires-Dist: colorama>=0.4.4
|
|
@@ -19,7 +20,7 @@ Requires-Dist: kubernetes-asyncio>=25.1.2; extra == 'server'
|
|
|
19
20
|
Requires-Dist: sentry-sdk>=1.3.0; extra == 'server'
|
|
20
21
|
Requires-Dist: slack-sdk>=3.33.5; extra == 'server'
|
|
21
22
|
Requires-Dist: uptick-observability[fastapi]>=0.2.2; extra == 'server'
|
|
22
|
-
Requires-Dist: uvicorn>=0.
|
|
23
|
+
Requires-Dist: uvicorn>=0.34.0; extra == 'server'
|
|
23
24
|
Description-Content-Type: text/markdown
|
|
24
25
|
|
|
25
26
|
# Gitops
|
|
@@ -40,7 +41,6 @@ The tool has two halves:
|
|
|
40
41
|
- Gitops Server - an instance of this gets deployed to each of your kubernetes clusters, listening on changes made to your gitops cluster repo. The server's responsibility is to update the deployments on the cluster it lives on to match the app specifications in the repo.
|
|
41
42
|
- Gitops CLI - this is a tool that you can use to interact comfortably with your cluster repo. It allows listing all deployed applications, what images they're presently running on, and which clusters they live on. It also provides numerous operations that can be applied to one or more apps at a time, such as bumping to a newer version of an image, or running a particular command across your app cohort.
|
|
42
43
|
|
|
43
|
-
You can install the CLI tool with: `pip install gitops`
|
|
44
44
|
|
|
45
45
|
Currently Kubernetes/Helm is the only supported cluster interface. All app deployments are performed as applications of Helm charts.
|
|
46
46
|
|
|
@@ -60,13 +60,17 @@ This is a git repository that you set up, where you list out all of your applica
|
|
|
60
60
|
+- jobs
|
|
61
61
|
</pre>
|
|
62
62
|
|
|
63
|
-
## Installation
|
|
63
|
+
## Gitops CLI Installation
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
1. Install the CLI tool with: `uv tool install gitops` and upgrade it with `uv tool upgrade gitops`.
|
|
66
|
+
|
|
67
|
+
2. Set up the environment variable `GITOPS_APPS_DIRECTORY` to invoke gitops from any directory.
|
|
66
68
|
|
|
67
|
-
|
|
69
|
+
## Gitops Server Installation
|
|
70
|
+
|
|
71
|
+
Secrets should be placed in `secrets.env`. The example file `secrets.example.env` has the environment variables you will need to supply.
|
|
68
72
|
|
|
69
|
-
Ensure that gitops has `edit` access to the namespace it is deploying to. An example RoleBinding is:
|
|
73
|
+
Ensure that the gitops service account has `edit` access to the namespace it is deploying to. An example RoleBinding is:
|
|
70
74
|
|
|
71
75
|
```
|
|
72
76
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
@@ -16,7 +16,6 @@ The tool has two halves:
|
|
|
16
16
|
- Gitops Server - an instance of this gets deployed to each of your kubernetes clusters, listening on changes made to your gitops cluster repo. The server's responsibility is to update the deployments on the cluster it lives on to match the app specifications in the repo.
|
|
17
17
|
- Gitops CLI - this is a tool that you can use to interact comfortably with your cluster repo. It allows listing all deployed applications, what images they're presently running on, and which clusters they live on. It also provides numerous operations that can be applied to one or more apps at a time, such as bumping to a newer version of an image, or running a particular command across your app cohort.
|
|
18
18
|
|
|
19
|
-
You can install the CLI tool with: `pip install gitops`
|
|
20
19
|
|
|
21
20
|
Currently Kubernetes/Helm is the only supported cluster interface. All app deployments are performed as applications of Helm charts.
|
|
22
21
|
|
|
@@ -36,13 +35,17 @@ This is a git repository that you set up, where you list out all of your applica
|
|
|
36
35
|
+- jobs
|
|
37
36
|
</pre>
|
|
38
37
|
|
|
39
|
-
## Installation
|
|
38
|
+
## Gitops CLI Installation
|
|
40
39
|
|
|
41
|
-
|
|
40
|
+
1. Install the CLI tool with: `uv tool install gitops` and upgrade it with `uv tool upgrade gitops`.
|
|
41
|
+
|
|
42
|
+
2. Set up the environment variable `GITOPS_APPS_DIRECTORY` to invoke gitops from any directory.
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
## Gitops Server Installation
|
|
45
|
+
|
|
46
|
+
Secrets should be placed in `secrets.env`. The example file `secrets.example.env` has the environment variables you will need to supply.
|
|
44
47
|
|
|
45
|
-
Ensure that gitops has `edit` access to the namespace it is deploying to. An example RoleBinding is:
|
|
48
|
+
Ensure that the gitops service account has `edit` access to the namespace it is deploying to. An example RoleBinding is:
|
|
46
49
|
|
|
47
50
|
```
|
|
48
51
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.3](https://github.com/uptick/gitops/compare/helm-v0.13.2...helm-v0.13.3) (2024-12-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove slack_url from helm chart ([aa4bf8b](https://github.com/uptick/gitops/commit/aa4bf8bbef5fe598149db554660eedc1b3a587fb))
|
|
9
|
+
|
|
3
10
|
## [0.13.2](https://github.com/uptick/gitops/compare/helm-v0.13.1...helm-v0.13.2) (2024-12-06)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -5,7 +5,6 @@ metadata:
|
|
|
5
5
|
type: Opaque
|
|
6
6
|
stringData:
|
|
7
7
|
ACCOUNT_ID: {{ .Values.secrets.ACCOUNT_ID | quote}}
|
|
8
|
-
SLACK_URL: {{ .Values.secrets.SLACK_URL| quote}}
|
|
9
8
|
GITHUB_OAUTH_TOKEN: {{ .Values.secrets.GITHUB_OAUTH_TOKEN| quote}}
|
|
10
9
|
GITHUB_WEBHOOK_KEY: {{ .Values.secrets.GITHUB_WEBHOOK_KEY| quote}}
|
|
11
10
|
SENTRY_DSN: {{ .Values.secrets.SENTRY_DSN| quote}}
|
|
@@ -6,7 +6,7 @@ from gitops.utils.apps import App, get_app_details, get_apps
|
|
|
6
6
|
|
|
7
7
|
from .utils.cli import success, warning
|
|
8
8
|
|
|
9
|
-
__version__ = "0.
|
|
9
|
+
__version__ = "1.0.1"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
# Checking gitops version matches cluster repo version.
|
|
@@ -27,5 +27,6 @@ if versions_path.exists():
|
|
|
27
27
|
f" requirement {success(min_gitops_version)}.",
|
|
28
28
|
file=sys.stderr,
|
|
29
29
|
)
|
|
30
|
+
sys.exit(1)
|
|
30
31
|
|
|
31
32
|
__all__ = ["App", "get_app_details", "get_apps", "__version__"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
[project]
|
|
3
3
|
name = "gitops"
|
|
4
|
-
version = "0.
|
|
4
|
+
version = "1.0.1"
|
|
5
5
|
description = "Manage multiple apps across one or more k8s clusters."
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
7
|
readme = "README.md"
|
|
@@ -24,7 +24,7 @@ gitops = "gitops.main:program.run"
|
|
|
24
24
|
[project.optional-dependencies]
|
|
25
25
|
server = [
|
|
26
26
|
"httpx>=0.23.0,<0.24.0",
|
|
27
|
-
"uvicorn>=0.
|
|
27
|
+
"uvicorn>=0.34.0",
|
|
28
28
|
"fastapi==0.109.2",
|
|
29
29
|
"kubernetes_asyncio>=25.1.2",
|
|
30
30
|
"sentry-sdk>=1.3.0",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"changelog-path": "CHANGELOG.md",
|
|
17
17
|
"extra-files": [
|
|
18
18
|
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
"type": "yaml",
|
|
20
|
+
"path": "../charts/gitops/Chart.yaml",
|
|
21
|
+
"jsonpath": "$.appVersion"
|
|
22
22
|
}
|
|
23
23
|
]
|
|
24
24
|
},
|