File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
docker/mongodb-kubernetes-tests Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,9 @@ WORKDIR /tests
81
81
82
82
# copying the test files after python build, otherwise pip install will be called each time the tests change
83
83
COPY . /tests
84
- # copying the helm_chart directory as well to support installation of the Operator from the test application
85
- COPY helm_chart /helm_chart
84
+ # copying the helm_chart/crds directory so that we can install CRDs before installing the operator helm chart to run a test.
85
+ # operator is installed via published OCI helm repo and not the local helm repo.
86
+ COPY helm_chart/crds /helm_chart/crds
86
87
COPY release.json /release.json
87
88
# we use the public directory to automatically test resources samples
88
89
COPY public /mongodb-kubernetes/public
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def publish_helm_chart():
70
70
logger .info (f"\n Cleaning up local file: { tgz_filename } " )
71
71
os .remove (tgz_filename )
72
72
73
- logger (f"Helm Chart { chart_name } :{ chart_version } was published successfully!" )
73
+ logger . info (f"Helm Chart { chart_name } :{ chart_version } was published successfully!" )
74
74
except (FileNotFoundError , RuntimeError , ValueError ) as e :
75
75
logger .error (f"\Failed publishing the helm chart: { e } " )
76
76
You can’t perform that action at this time.
0 commit comments