Add fleet versions 0.8 and 0.9 to CI

This commit is contained in:
Mario Manno
2024-01-12 16:28:39 +01:00
parent 1013d7fcbb
commit 42f015a5d9
12 changed files with 112 additions and 1 deletions

42
.github/workflows/ci-0.7.yml vendored Normal file
View File

@@ -0,0 +1,42 @@
name: CI v0.7
on:
schedule:
- cron: '0 5 * * *'
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
fleet_version:
- "v0.7.0"
steps:
-
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: "release/v0.7"
-
uses: actions/cache@v3
id: fleet-cli-cache
with:
path: /home/runner/.local/bin
key: ${{ runner.os }}-fleet-cli-${{ matrix.fleet_version }}
-
name: Download CLI
if: steps.fleet-cli-cache.outputs.cache-hit != 'true'
run: |
mkdir -p /home/runner/.local/bin
wget -nv "https://github.com/rancher/fleet/releases/download/${{ matrix.fleet_version }}/fleet-linux-amd64"
mv fleet-linux-amd64 /home/runner/.local/bin/fleet
chmod +x /home/runner/.local/bin/fleet
-
name: Test
run: |
tests/test.sh

View File

@@ -14,7 +14,8 @@ jobs:
fail-fast: false
matrix:
fleet_version:
- "v0.7.0-AGENT-rc.1"
- "v0.8.1"
- "v0.9.0"
steps:
-