gitops 0.12.0__tar.gz → 0.12.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-0.12.0 → gitops-0.12.1}/PKG-INFO +1 -1
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/Chart.yaml +1 -1
- {gitops-0.12.0 → gitops-0.12.1}/gitops/__init__.py +1 -1
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/images.py +6 -2
- {gitops-0.12.0 → gitops-0.12.1}/pyproject.toml +1 -1
- {gitops-0.12.0 → gitops-0.12.1}/.dockerignore +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/.github/workflows/publish.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/.github/workflows/test.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/.gitignore +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/.mise.toml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/.pre-commit-config.yaml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/Dockerfile +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/LICENSE +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/README.md +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/.helmignore +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/README.md +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/_helpers.tpl +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/certificate.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/deployment.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/environment.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/ingress.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/issuer.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/secrets.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/service.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/templates/serviceaccount.yaml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/charts/gitops/values.yaml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/docker-compose.yml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/common/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/common/app.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/common/utils.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/core.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/main.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/py.typed +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/settings.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/shorthands.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/apps.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/async_runner.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/cli.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/exceptions.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/kube.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/tags.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops/utils/yaml.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/README.md +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/app.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/main.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/settings.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/types.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/utils/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/utils/git.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/utils/github.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/utils/slack.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/deployer/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/deployer/deploy.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/deployer/hooks.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/deployer/worker.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/status_updater/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/gitops_server/workers/status_updater/worker.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/release.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/ruff.toml +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/secrets.example.env +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/setup.cfg +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/__init__.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/conftest.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/sample_data.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/test_app.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/test_core.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/test_deploy.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/test_git.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/test_gitops_server.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/test_utils.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/utils.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/tests/webhook_sample_data.py +0 -0
- {gitops-0.12.0 → gitops-0.12.1}/uv.lock +0 -0
|
@@ -46,13 +46,17 @@ def get_latest_image(repository_name: str, prefix: str, ecr_repository: str | No
|
|
|
46
46
|
image_tag = f"{prefix}-latest" if prefix else "latest"
|
|
47
47
|
|
|
48
48
|
def add_image_to_results(image: "ImageDetailTypeDef") -> None:
|
|
49
|
+
"""This function adds the image to the results list if it matches the prefix and is not the latest image.
|
|
50
|
+
|
|
51
|
+
We want to ignore the latest image tag otherwise we will never diff anything other than `develop-latest` etc.
|
|
52
|
+
"""
|
|
49
53
|
if prefix != "":
|
|
50
54
|
if prefix_tags := [
|
|
51
|
-
tag for tag in image["imageTags"] if tag.startswith(prefix + "-") and "latest"
|
|
55
|
+
tag for tag in image["imageTags"] if tag.startswith(prefix + "-") and not tag.endswith("latest")
|
|
52
56
|
]:
|
|
53
57
|
results.append((prefix_tags[0], image["imagePushedAt"]))
|
|
54
58
|
else:
|
|
55
|
-
if prefix_tags := [tag for tag in image["imageTags"] if "-" not in tag and "latest"
|
|
59
|
+
if prefix_tags := [tag for tag in image["imageTags"] if "-" not in tag and not tag.endswith("latest")]:
|
|
56
60
|
results.append((prefix_tags[0], image["imagePushedAt"]))
|
|
57
61
|
|
|
58
62
|
try:
|
|
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
|
|
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
|