Skip to content

Commit

Permalink
.github: Configure MinIO with LXD
Browse files Browse the repository at this point in the history
Signed-off-by: Din Music <[email protected]>
  • Loading branch information
MusicDin committed Sep 20, 2024
1 parent 8eda5b0 commit 01aed49
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,23 @@ jobs:
# Add HTTPS remote.
lxc remote add localhost "$(lxc config trust add --name lxd-terraform-provider --quiet)"
- name: Configure MinIO
run: |
arch=$(dpkg --print-architecture)
mkdir -p /opt/minio
# Download the minio server.
curl -sSfL "https://dl.min.io/server/minio/release/linux-${arch}/minio" --output "/opt/minio/minio"
chmod +x "/opt/minio/minio"
# Download the minio client.
curl -sSfL "https://dl.min.io/client/mc/release/linux-${arch}/mc" --output "/opt/minio/mc"
chmod +x "/opt/minio/mc"
# Set the snap config key for minio and reload LXD to have it take effect.
snap set lxd minio.path=/opt/minio
systemctl reload snap.lxd.daemon
- name: Configure OVN
run: |
sudo apt-get update
Expand Down

0 comments on commit 01aed49

Please sign in to comment.