Skip to content

Commit

Permalink
Fix CI (#9)
Browse files Browse the repository at this point in the history
* Fix CI

* Add pip dependabot

* Update help

* Disable VALIDATE_MARKDOWN
  • Loading branch information
veerendra2 authored Dec 24, 2024
1 parent 04b9d74 commit 173c3ae
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 20 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ jobs:
uses: github/super-linter@v7
env:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: \.github.*|catalog-info\.yaml
FILTER_REGEX_EXCLUDE: \.github.*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: .
PYTHON_BLACK_CONFIG_FILE: pyproject.toml
PYTHON_ISORT_CONFIG_FILE: pyproject.toml
PYTHON_PYLINT_CONFIG_FILE: pyproject.toml
VALIDATE_ALL_CODEBASE: false
VALIDATE_CHECKOV: false
VALIDATE_DOCKERFILE_HADOLINT: false
VALIDATE_JSCPD: false
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_MARKDOWN: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_PYINK: false
VALIDATE_PYTHON_RUFF: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
default: "yes"

jobs:
publish:
name: Publish PyPi
deploy:
name: Publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 0 additions & 2 deletions .isort.cfg

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Kompozit

![Docker Pulls](https://img.shields.io/docker/pulls/veerendra2/kompozit) ![PyPI - Status](https://img.shields.io/pypi/status/kompozit) ![PyPI - Version](https://img.shields.io/pypi/v/kompozit) [![Release](https://github.com/veerendra2/kompozit/actions/workflows/release.yml/badge.svg)](https://github.com/veerendra2/kompozit/actions/workflows/release.yml)
> ℹ Mostly likely you may want to use [Use multiple Compose files](https://docs.docker.com/compose/how-tos/multiple-compose-files/) in Docker Compose itself.
[![Docker Pulls](https://img.shields.io/docker/pulls/veerendra2/kompozit)](https://hub.docker.com/r/veerendra2/kompozit) [![PyPI - Status](https://img.shields.io/pypi/status/kompozit)](https://pypi.org/project/kompozit/) [![PyPI - Version](https://img.shields.io/pypi/v/kompozit)](https://pypi.org/project/kompozit/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/kompozit)](https://pypi.org/project/kompozit/) [![Release](https://github.com/veerendra2/kompozit/actions/workflows/release.yml/badge.svg)](https://github.com/veerendra2/kompozit/actions/workflows/release.yml)

> ℹ Mostly likely you may want to use [Use multiple Compose files](https://docs.docker.com/compose/how-tos/multiple-compose-files/) in Docker Compose itself.
Declarative Configuration Management Tool for Docker Compose.

Expand Down Expand Up @@ -43,15 +43,15 @@ Additionally, kompozit allows you to combine multiple `docker-compose.yml` files
```bash
python -m pip install kompozit

kompozit --help
kompozit -h
usage: kompozit [-h] [-b BUILD_PATH] [-o OUTPUT_DIR] [-v]

Declarative Configuration Management Tool for Docker Compose.

options:
-h, --help show this help message and exit
-b, --build BUILD_PATH
Path to a directory containing 'komposition.yaml'. (default: .)
Path to a directory containing 'kompozition.yaml' or 'kompozition.yml'. (default: .)
-o, --output-dir OUTPUT_DIR
Directory to save the generated Docker Compose files. (default: None)
-v, --version Show kompozit version
Expand All @@ -65,7 +65,7 @@ options:
docker pull veerendra2/kompozit
```

## Usage ⚙️
## Usage Examples ⚙️

```bash
git clone [email protected]:veerendra2/kompozit.git
Expand Down
4 changes: 2 additions & 2 deletions kompozit/kompozit.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from jsonpatch import JsonPatchConflict
from jsonpointer import JsonPointerException

__version__ = "0.2.0-beta"
__version__ = "0.2.1-beta"


CONFIG_FILE_NAMES = ["kompozition.yaml", "kompozition.yml"]
Expand All @@ -37,7 +37,7 @@ def parse_arguments():
dest="build_path",
type=str,
required=False,
help="Path to a directory containing 'komposition.yaml'.",
help="Path to a directory containing 'kompozition.yaml' or 'kompozition.yml'.",
)
parser.add_argument(
"-o",
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ build-backend = "setuptools.build_meta"
line-length = 88

[tool.pylint.messages_control]
disable = [
"C0301"
]
disable = ["C0301", "E0401"]

[tool.isort]
profile = "black"

[tool.mypy]
ignore_missing_imports = true
Expand All @@ -17,4 +18,4 @@ ignore_missing_imports = true
output-format = "colorized"

[tool.pylint.reporter]
max-line-length = 120
max-line-length = 120
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"""
setup.py
"""
# pylint: disable=C0301

import re

Expand Down Expand Up @@ -30,7 +29,7 @@
"Documentation": "https://veerendra2.gitbook.io/kompozit",
},
keywords=["gitops", "cicd", "docker-compose", "configuration management"],
license="MIT",
license="Apache License",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: System Administrators",
Expand Down

0 comments on commit 173c3ae

Please sign in to comment.