Skip to content

Commit

Permalink
chore(test): e2e: apply remote expecteddeploymentscales CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1907 committed Nov 23, 2023
1 parent 213bbc9 commit 402221b
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 62 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
- "bot"
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
uses: mikepenz/action-junit-report@v2
if: always() # always run even if the previous step fails
with:
report_paths: "junit.xml"
report_paths: "junit.xml"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# wiremind-kubernetes

## v7.4.1 (2023-11-23)
### Chore
- tests: e2e: apply expecteddeploymentscales CRD from wiremind helm chart repository

## v7.4.0 (2023-07-21)
### Feature
- kubernetes: support StorageV1Api
Expand Down
57 changes: 0 additions & 57 deletions CustomResourceDefinition-expecteddeploymentscales.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ or a logical set of standard Kubernetes controllers through the `expecteddeploym

## Installation

This library requires the `expecteddeploymentscales.wiremind.io` CRD: `kubectl apply -f CustomResourceDefinition-expecteddeploymentscales.yaml`.
This library requires the `expecteddeploymentscales.wiremind.io` CRD:
```bash
helm repo add wiremind https://wiremind.github.io/wiremind-helm-charts
helm install wiremind-crds wiremind/wiremind-crds --version 0.1.0
```

## Usage

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.0
7.4.1
3 changes: 2 additions & 1 deletion src/wiremind_kubernetes/tests/e2e_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ def delete_namespace() -> None:

@pytest.fixture
def populate_cluster() -> Generator[None, None, None]:
run_command("helm repo add wiremind https://wiremind.github.io/wiremind-helm-charts")
run_command(
f"kubectl apply -f {absolute_path}/../../CustomResourceDefinition-expecteddeploymentscales.yaml",
"helm install wiremind-crds wiremind/wiremind-crds --version 0.1.0",
)

try:
Expand Down
2 changes: 1 addition & 1 deletion src/wiremind_kubernetes/tests/e2e_tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
import subprocess
import sys
import urllib
import urllib.parse
from typing import Any, Dict, List

import kubernetes
Expand Down

0 comments on commit 402221b

Please sign in to comment.