diff --git a/.github/workflows/cd_dev.yaml b/.github/workflows/cd_dev.yaml index b7b86c6c947..2605fa59e07 100644 --- a/.github/workflows/cd_dev.yaml +++ b/.github/workflows/cd_dev.yaml @@ -49,7 +49,8 @@ jobs: run: curl -fsS https://packages.fluvio.io/v1/install.sh | VERSION=latest bash - name: Set up K3d for Ubuntu if: ${{ matrix.os == 'ubuntu-latest' }} - uses: nolar/setup-k3d-k3s@v1 + run: | + curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash - name: Set up K8 for ubuntu(kind) if: ${{ matrix.os == 'ubuntu-latest' }} run: ./k8-util/cluster/reset-k3d.sh @@ -116,7 +117,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup K3d run: | - curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash ./k8-util/cluster/reset-k3d.sh - name: Run upgrade test timeout-minutes: 10 @@ -198,10 +199,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup K3d - run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash - name: Create K3d cluster run: | ./k8-util/cluster/reset-k3d.sh - name: CLI ${{ matrix.cli_version }} x Cluster ${{ matrix.cluster_version }} run: | - make FLUVIO_BIN=~/.fluvio/bin/fluvio CLI_VERSION=${{ matrix.cli_version }} CLUSTER_VERSION=${{ matrix.cluster_version }} cli-platform-cross-version-test \ No newline at end of file + make FLUVIO_BIN=~/.fluvio/bin/fluvio CLI_VERSION=${{ matrix.cli_version }} CLUSTER_VERSION=${{ matrix.cluster_version }} cli-platform-cross-version-test diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml index 66e4e924e73..0c6ed3da910 100644 --- a/.github/workflows/cd_release.yml +++ b/.github/workflows/cd_release.yml @@ -77,7 +77,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup K3d - run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash - name: Create K3d cluster run: | ./k8-util/cluster/reset-k3d.sh @@ -108,7 +108,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup K3d - run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash - name: Create K3d cluster run: | ./k8-util/cluster/reset-k3d.sh @@ -165,4 +165,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: k8_release_upgrade_log - path: /tmp/k8_*.log \ No newline at end of file + path: /tmp/k8_*.log diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a41526b26d..d5a63d5af03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -345,7 +345,6 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: nolar/setup-k3d-k3s@v1 - name: Download artifact - fluvio uses: actions/download-artifact@v2 with: @@ -365,7 +364,9 @@ jobs: - name: Print artifacts and mark executable run: chmod +x ./fluvio ./fluvio-test && ./fluvio version - name: Set up cluster - run: ./k8-util/cluster/reset-k3d.sh + run: | + curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash + ./k8-util/cluster/reset-k3d.sh - name: Run smoke-test if: ${{ matrix.test == 'smoke' }} timeout-minutes: 2 @@ -495,7 +496,7 @@ jobs: - name: Install K3d if: ${{ matrix.k8 == 'k3d' }} run: | - curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash ./k8-util/cluster/reset-k3d.sh - name: Load image to K3d if: ${{ matrix.k8 == 'k3d' }} @@ -574,7 +575,7 @@ jobs: - uses: actions/checkout@v2 - name: Setup K3d run: | - curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash ./k8-util/cluster/reset-k3d.sh # Download artifacts - name: Download artifact - fluvio @@ -649,7 +650,7 @@ jobs: - uses: actions/checkout@v2 - name: Install K3d run: | - curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash ./k8-util/cluster/reset-k3d.sh - name: Install stable CLI and start Fluvio cluster run: | diff --git a/.github/workflows/hourly.yml b/.github/workflows/hourly.yml index a266aba771e..9cb1d5760f7 100644 --- a/.github/workflows/hourly.yml +++ b/.github/workflows/hourly.yml @@ -52,7 +52,7 @@ jobs: # If they don't match, then let's run the test - name: Setup K3d - run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + run: curl -s https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v4.4.8 bash - name: Create K3d cluster run: | ./k8-util/cluster/reset-k3d.sh @@ -134,4 +134,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: k8_longevity_log - path: /tmp/k8_*.log \ No newline at end of file + path: /tmp/k8_*.log