Skip to content

Commit

Permalink
ci: k3d network
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Yang <[email protected]>
  • Loading branch information
reaver-flomesh committed Jan 4, 2025
1 parent 719c5b5 commit 79b359e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,16 +248,9 @@ jobs:
needs: build
strategy:
matrix:
k8s_version: [""]
k8s_version: ["", "v1.19.16-k3s1", "v1.21.16-k3s1", "v1.23.17-k3s1"]
focus: [""]
bucket: [6]
include:
- k8s_version: v1.19.16-k3s1
bucket: ".*"
- k8s_version: v1.21.16-k3s1
bucket: ".*"
- k8s_version: v1.23.17-k3s1
bucket: ".*"
env:
CTR_TAG: ${{ github.sha }}
CTR_REGISTRY: "localhost:5000"
Expand All @@ -284,7 +277,7 @@ jobs:
- name: Create k3d managed registry
if: ${{ env.CLUSTER_INSTALL_TYPE == 'K3dCluster' }}
run: |
k3d registry create "registry" --port "127.0.0.1:5001"
k3d registry create "registry" --port "127.0.0.1:5001" --default-network bridge
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
Expand Down
2 changes: 1 addition & 1 deletion tests/framework/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ func (td *FsmTestData) k3dClusterConfig() *k3dCfg.ClusterConfig {
},
Servers: 1,
Agents: 1,
Network: "fsm",
Network: "bridge",
Ports: []k3dCfg.PortWithNodeFilters{
{
Port: "80:80",
Expand Down

0 comments on commit 79b359e

Please sign in to comment.