Skip to content

Add support for Arbiter pools (#323) #32

Add support for Arbiter pools (#323)

Add support for Arbiter pools (#323) #32

Workflow file for this run

name: "On Release"
on:
push:
# Publish `1.2.3` tags as releases.
tags:
- "*"
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
release_amd64_arm64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Binnacle
run: |
curl -fsSL https://github.com/kadalu/binnacle/releases/latest/download/install.sh | sudo bash -x
binnacle --version
- name: Release builds
run: sudo VERSION="${{ github.ref_name }}" binnacle -vv ci/release_build.t
- name: "Upload kadalu-{amd64,arm64} to the release"
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: mgr/bin/kadalu-*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload Volfile templates
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: mgr/lib/volgen/templates/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
upload_release_files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Upload kadalu-mgr.service to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: extra/*.service
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload mount.kadalu script to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: extra/mount.kadalu
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Upload install.sh script to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: extra/install.sh
tag: ${{ github.ref }}
overwrite: true
file_glob: true