-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: upgrade container image from bitnami to self-built version
1. Refactored the coordination logic to replace bitnami with the new image coordination requirements. 2. Added e2e tests to ensure the stability and correctness of the refactored code across different scenarios. 3. Extracted the config, security, and listener modules from the original logic to improve code maintainability and extensibility. This refactoring not only adapts to the new image coordination logic but also enhances the robustness and modularity of the code, laying a solid foundation for future feature extensions and maintenance.
- Loading branch information
Showing
58 changed files
with
1,849 additions
and
785 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# e2e test | ||
|
||
name: e2e-test | ||
|
||
on: ['push', 'pull_request'] | ||
|
||
jobs: | ||
chainsaw-test: | ||
name: Chainsaw Test | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
k8s-version: ['1.26.14', '1.27.11'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.22' | ||
cache: false | ||
- name: Create KinD cluster | ||
env: | ||
KINDTEST_K8S_VERSION: ${{ matrix.k8s-version}} | ||
KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | ||
KIND_KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | ||
run: make kind-create | ||
- name: Chainsaw test setup | ||
env: | ||
KINDTEST_K8S_VERSION: ${{ matrix.k8s-version }} | ||
KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | ||
KIND_KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | ||
run: make chainsaw-setup | ||
- name: Test with Chainsaw | ||
env: | ||
KINDTEST_K8S_VERSION: ${{ matrix.k8s-version }} | ||
KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | ||
KIND_KUBECONFIG: kind-kubeconfig-${{ matrix.k8s-version }} | ||
run: make chainsaw-test |
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
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
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
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
Oops, something went wrong.