-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify supportedversion.go and add unit tests #391
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e64afff
to
90910aa
Compare
These tests will not just ensure that the functions in supportedversion.go are okay, but also that the versions.yaml file is valid and is parsed successfully. Signed-off-by: Marko Lukša <mluksa@redhat.com>
d106e1f
to
32bfbff
Compare
Signed-off-by: Marko Lukša <mluksa@redhat.com>
Signed-off-by: Marko Lukša <mluksa@redhat.com>
Merged
dgn
approved these changes
Oct 8, 2024
Maybe we'll need to update the update version script as well to include the full version (including .commit_hash suffix)? It would be a bit annoying having to specify it though... Maybe we'll need some sort of version alias functionality |
Without the commit hash, the version number doesn't specify a single version, but a set of versions. For example, "1.24-alpha" is not just one single version, whereas "1.24-alpha.<hash>" is. Signed-off-by: Marko Lukša <mluksa@redhat.com>
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 8, 2024
* upstream/main: (30 commits) Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) Adding default value for IP_FAMILY (istio-ecosystem#378) Update/Fix Istioctl links and docs (istio-ecosystem#349) Fix broken url for sample gateway (istio-ecosystem#377) Implement e2e dualStack control plane tests (istio-ecosystem#373) Improve pull request template (istio-ecosystem#376) Add ability to specify resources in helm chart (istio-ecosystem#375) Update dependencies and fix transform (istio-ecosystem#374) E2E kubectl util refactor (istio-ecosystem#368) Update helm chart README (istio-ecosystem#370) Add pull request template (istio-ecosystem#366) Fix formatting in the charts readme page (istio-ecosystem#364) Add CODE-OF-CONDUCT to the project (istio-ecosystem#362) Update test labels in the wayofwork documentation (istio-ecosystem#359) Automatically adjust default release channel (istio-ecosystem#353) Adding wait after olm install in olm test setup (istio-ecosystem#357) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 8, 2024
* upstream/main: (40 commits) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) Adding default value for IP_FAMILY (istio-ecosystem#378) Update/Fix Istioctl links and docs (istio-ecosystem#349) Fix broken url for sample gateway (istio-ecosystem#377) Implement e2e dualStack control plane tests (istio-ecosystem#373) Improve pull request template (istio-ecosystem#376) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 8, 2024
* upstream/main: (42 commits) Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) Adding default value for IP_FAMILY (istio-ecosystem#378) Update/Fix Istioctl links and docs (istio-ecosystem#349) Fix broken url for sample gateway (istio-ecosystem#377) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 8, 2024
* upstream/main: (45 commits) Replace `manager` with `sail-operator` for the binary name Fix the update location for the rbac proxy Add the make clean target Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 9, 2024
* upstream/main: (45 commits) Replace `manager` with `sail-operator` for the binary name Fix the update location for the rbac proxy Add the make clean target Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 9, 2024
* upstream/main: (45 commits) Replace `manager` with `sail-operator` for the binary name Fix the update location for the rbac proxy Add the make clean target Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 9, 2024
* upstream/main: (45 commits) Replace `manager` with `sail-operator` for the binary name Fix the update location for the rbac proxy Add the make clean target Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 9, 2024
* upstream/main: (45 commits) Replace `manager` with `sail-operator` for the binary name Fix the update location for the rbac proxy Add the make clean target Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) Fix error handling in deployBookinfo (istio-ecosystem#384) ...
openshift-service-mesh-bot
pushed a commit
to openshift-service-mesh-bot/sail-operator
that referenced
this pull request
Oct 9, 2024
* upstream/main: (46 commits) Create GH Action for update-deps (istio-ecosystem#393) Replace `manager` with `sail-operator` for the binary name Fix the update location for the rbac proxy Add the make clean target Improve kubectl utility in e2e tests (istio-ecosystem#394) Don't add istiod-remote chart when updating latest version (istio-ecosystem#396) Make patch-csv.sh more readable Fix patch-csv.sh so that it finds hub, image, and tag in newer Istio versions Ensure Primary-Remote e2e test is also skipped for 1.24 pre-release versions Print Istio CNI logs when test fails Temporarily disable RemoteIstio tests for 1.24+ Make gen Add generics to EnqueueEventLogger and AdditionNotifierQueue Update Istio versions Remove reference to istiod-remote chart Ensure crd-all.gen.yaml file is found in newer and older Istio versions Add Helm artifacts publish automation (istio-ecosystem#385) Simplify supportedversion.go and add unit tests (istio-ecosystem#391) Clean up code (istio-ecosystem#392) Implement e2e dualStack data plane tests (istio-ecosystem#383) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These tests will not just ensure that the functions in supportedversion.go are okay, but also that the versions.yaml file is valid and is parsed successfully.