Skip to content

Commit

Permalink
Install 4.x.x version of k3d
Browse files Browse the repository at this point in the history
  • Loading branch information
morenol committed Oct 5, 2021
1 parent 002398b commit b7e0a34
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cd_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
make FLUVIO_BIN=~/.fluvio/bin/fluvio CLI_VERSION=${{ matrix.cli_version }} CLUSTER_VERSION=${{ matrix.cluster_version }} cli-platform-cross-version-test
6 changes: 3 additions & 3 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -165,4 +165,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: k8_release_upgrade_log
path: /tmp/k8_*.log
path: /tmp/k8_*.log
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -134,4 +134,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: k8_longevity_log
path: /tmp/k8_*.log
path: /tmp/k8_*.log

0 comments on commit b7e0a34

Please sign in to comment.