Skip to content

Commit

Permalink
Bumped ocean version to ^0.10.5
Browse files Browse the repository at this point in the history
In addition, set all the dev dependencies need to support tests for each
integration.

As a part of this change, ruff was unified to the same version across
the board, and some helpers were added to the core `Makefile`
  • Loading branch information
actions-user authored and erikzaadi committed Aug 30, 2024
1 parent 0bb6780 commit d91925a
Show file tree
Hide file tree
Showing 88 changed files with 11,324 additions and 12,523 deletions.
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ define deactivate_virtualenv
fi
endef

.SILENT: install install/all test/all lint build run new test test/watch clean bump/integrations bump/single-integration
.SILENT: install install/all test/all lint build run new test test/watch clean bump/integrations bump/single-integration execute/all


# Install dependencies
Expand All @@ -66,6 +66,19 @@ test/all: test
fi; \
done;


execute/all:
# run script for all integrations (${SCRIPT_TO_RUN})
for dir in $(wildcard $(CURDIR)/integrations/*); do \
count=$$(find $$dir -type f -name '*.py' -not -path "*/venv/*" | wc -l); \
if [ $$count -ne 0 ]; then \
echo "Running '${SCRIPT_TO_RUN}' $$dir"; \
cd $$dir; \
${SCRIPT_TO_RUN} || exit_code=$$?; \
cd ../..; \
fi; \
done;

install/all: install
exit_code=0; \
for dir in $(wildcard $(CURDIR)/integrations/*); do \
Expand Down
8 changes: 8 additions & 0 deletions integrations/argocd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- towncrier release notes start -->

## 0.1.82 (2024-08-30)


### Improvements

- Bumped ocean version to ^0.10.5 (#1)


## 0.1.81 (2024-08-28)


Expand Down
784 changes: 355 additions & 429 deletions integrations/argocd/poetry.lock

Large diffs are not rendered by default.

19 changes: 13 additions & 6 deletions integrations/argocd/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
[tool.poetry]
name = "argocd"
version = "0.1.81"
version = "0.1.82"
description = "Argo CD integration powered by Ocean"
authors = ["Isaac Coffie <isaac@getport.io>"]

[tool.poetry.dependencies]
python = "^3.11"
port_ocean = {version = "^0.10.4", extras = ["cli"]}
port_ocean = {version = "^0.10.5", extras = ["cli"]}

[tool.poetry.group.dev.dependencies]
# Uncomment this if you want to debug the ocean core together with your integration
# port_ocean = { path = '../../', develop = true, extras = ['all'] }
pytest = "^7.2"
black = "^24.4.2"
mypy = "^1.3.0"
ruff = "^0.0.278"
pylint = "^2.17.4"
towncrier = "^23.6.0"
pylint = ">=2.17.4,<4.0.0"
pytest = ">=8.2,<9.0"
pytest-asyncio = ">=0.24.0"
pytest-httpx = ">=0.30.0"
pytest-xdist = "^3.6.1"
ruff = "^0.6.3"
towncrier = "^23.6.0"

[tool.towncrier]
directory = "changelog"
Expand Down Expand Up @@ -104,3 +106,8 @@ exclude = '''
|\.venv
)/
'''

[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-vv -n auto ./tests"
8 changes: 8 additions & 0 deletions integrations/aws/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- towncrier release notes start -->

## 0.2.35 (2024-08-30)


### Improvements

- Bumped ocean version to ^0.10.5 (#1)


## 0.2.34 (2024-08-28)


Expand Down
2 changes: 1 addition & 1 deletion integrations/aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ define run_checks
cd $1; \
poetry check || exit_code=$$?;\
mypy . || exit_code=$$?; \
ruff . || exit_code=$$?; \
ruff check . || exit_code=$$?; \
black --check . || exit_code=$$?; \
if [ $$exit_code -eq 1 ]; then \
echo "\033[0;31mOne or more checks failed with exit code $$exit_code\033[0m"; \
Expand Down
1,690 changes: 855 additions & 835 deletions integrations/aws/poetry.lock

Large diffs are not rendered by default.

21 changes: 14 additions & 7 deletions integrations/aws/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "aws"
version = "0.2.34"
version = "0.2.35"
description = "This integration will map all your resources in all the available accounts to your Port entities"
authors = ["Shalev Avhar <shalev@getport.io>", "Erik Zaadi <erik@getport.io>"]

[tool.poetry.dependencies]
python = "^3.11"
port_ocean = {version = "^0.10.4", extras = ["cli"]}
port_ocean = {version = "^0.10.5", extras = ["cli"]}
python-dotenv = "^1.0.1"
aioboto3 = "^12.4.0"
boto3-stubs = {version = "1.34.76", extras = ["acm", "apigateway", "appconfig", "athena", "cloudcontrol", "cloudformation", "cloudwatch", "dynamodb", "ec2", "ec2-instance-connect", "ecr", "ecs", "elasticache", "elb", "elbv2", "events", "iam", "lambda", "logs", "organizations", "rds", "route53", "s3", "sagemaker", "secretsmanager", "sns", "sqs", "ssm", "sts"]}
Expand All @@ -16,13 +16,15 @@ types-aiobotocore = {extras = ["sts"], version = "^2.12.3"}
[tool.poetry.group.dev.dependencies]
# Uncomment this if you want to debug the ocean core together with your integration
# port_ocean = { path = '../../', develop = true, extras = ['all'] }
pytest = "^7.2"
black = "^24.3.0"
black = "^24.4.2"
mypy = "^1.3.0"
ruff = "^0.0.278"
pylint = "^2.17.4"
towncrier = "^23.6.0"
pylint = ">=2.17.4,<4.0.0"
pytest = ">=8.2,<9.0"
pytest-asyncio = ">=0.24.0"
pytest-httpx = ">=0.30.0"
pytest-xdist = "^3.6.1"
ruff = "^0.6.3"
towncrier = "^23.6.0"

[tool.towncrier]
directory = "changelog"
Expand Down Expand Up @@ -109,3 +111,8 @@ exclude = '''
|\.venv
)/
'''

[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-vv -n auto ./tests"
8 changes: 8 additions & 0 deletions integrations/azure-devops/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- towncrier release notes start -->

## 0.1.60 (2024-08-30)


### Improvements

- Bumped ocean version to ^0.10.5 (#1)


## 0.1.59 (2024-08-28)


Expand Down
Loading

0 comments on commit d91925a

Please sign in to comment.