From c0326159cd35c13b11b51ee43b2d1a8d87b56165 Mon Sep 17 00:00:00 2001 From: mrlutik Date: Thu, 11 Apr 2024 11:32:53 +0200 Subject: [PATCH] feat(cidi): Update cidi * Bump versions * Update cidi self-hosted labels * Updtae README.md RELEASE.md --- .github/workflows/main.yml | 4 ++-- README.md | 8 ++++---- RELEASE.md | 1 + bash-utils/bash-utils.sh | 3 ++- bip39gen/cmd/version.go | 2 +- build-tools/update_version.py | 2 +- ipfs-api/README.md | 2 +- ipfs-api/types/constants.go | 2 +- scripts/version.sh | 2 +- validator-key-gen/README.md | 2 +- validator-key-gen/main.go | 2 +- 11 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28669d54..6159c76b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: build-amd64: name: AMD64 - Repo Test & Build - runs-on: [ self-hosted, github-actions-amd64-runner-2 ] + runs-on: [ self-hosted, X64 ] permissions: contents: read packages: write @@ -99,7 +99,7 @@ jobs: path: ./tools-bin-amd64.tar.gz build-arm64: name: ARM64 - Repo Test & Build - runs-on: [ self-hosted, github-actions-arm64-runner-1 ] + runs-on: [ self-hosted, ARM64 ] needs: [build-amd64] permissions: contents: read diff --git a/README.md b/README.md index 43bb2863..51e8d426 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Cosign requires simple initial setup of the signer keys described more precisely ```bash # install cosign -COSIGN_VERSION="v2.0.0" && \ +COSIGN_VERSION="v2.2.3" && \ if [[ "$(uname -m)" == *"ar"* ]] ; then ARCH="arm64"; else ARCH="amd64" ; fi && echo $ARCH && \ PLATFORM=$(uname) && FILE=$(echo "cosign-${PLATFORM}-${ARCH}" | tr '[:upper:]' '[:lower:]') && \ wget https://github.com/sigstore/cosign/releases/download/${COSIGN_VERSION}/$FILE && chmod +x -v ./$FILE && \ @@ -37,7 +37,7 @@ KIRA bash-utils (BU) is a general purpose tool for simplifying scripts & command ```bash # one line install -TOOLS_VERSION="v0.3.40" && cd /tmp && FILE_NAME="bash-utils.sh" && \ +TOOLS_VERSION="v0.3.54" && cd /tmp && FILE_NAME="bash-utils.sh" && \ wget "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/${FILE_NAME}" -O ./$FILE_NAME && \ wget "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/${FILE_NAME}.sig" -O ./${FILE_NAME}.sig && \ cosign verify-blob --key="$KIRA_COSIGN_PUB" --signature=./${FILE_NAME}.sig ./$FILE_NAME --insecure-ignore-tlog && \ @@ -52,7 +52,7 @@ A simple and secure bip39 words generator that is able to mix computer and human ```bash # once BU is installed, you can easily and securely install all tools for a relevant architecture and platform # one line install with verification of IPFS CID referencing a public key used to sign the release -TOOLS_VERSION="v0.3.40" && TOOL_NAME="bip39gen" && cd /tmp && \ +TOOLS_VERSION="v0.3.54" && TOOL_NAME="bip39gen" && cd /tmp && \ bu safeWget ./${TOOL_NAME}.deb "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/${TOOL_NAME}-$(getPlatform)-$(getArch).deb" \ "QmeqFDLGfwoWgCy2ZEFXerVC5XW8c5xgRyhK5bLArBr2ue" && rm -rfv ./$TOOL_NAME&& dpkg-deb -x ./${TOOL_NAME}.deb ./$TOOL_NAME && \ cp -fv ./$TOOL_NAME/bin/$TOOL_NAME /usr/local/bin/$TOOL_NAME && chmod +x "/usr/local/bin/$TOOL_NAME" && \ @@ -60,4 +60,4 @@ TOOLS_VERSION="v0.3.40" && TOOL_NAME="bip39gen" && cd /tmp && \ # Check bip39gen version bip39gen version -``` \ No newline at end of file +``` diff --git a/RELEASE.md b/RELEASE.md index 6dee23cd..02b75972 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -2,4 +2,5 @@ Features: * Refactor: validator-key-gen refactored for package usage * Add: new mnemonic to set - PrivKeyMnemonic * Fix: toml parser in bu +* Cidi: change label for self-hosted runners diff --git a/bash-utils/bash-utils.sh b/bash-utils/bash-utils.sh index a1253e14..21bf13c1 100644 --- a/bash-utils/bash-utils.sh +++ b/bash-utils/bash-utils.sh @@ -26,7 +26,7 @@ function bashUtilsVersion() { # this is default installation script for utils # ./bash-utils.sh bashUtilsSetup "/var/kiraglob" function bashUtilsSetup() { - local BASH_UTILS_VERSION="v0.3.52" + local BASH_UTILS_VERSION="v0.3.54" local COSIGN_VERSION="v2.0.0" if [ "$1" == "version" ] ; then echo "$BASH_UTILS_VERSION" @@ -2326,3 +2326,4 @@ fi + diff --git a/bip39gen/cmd/version.go b/bip39gen/cmd/version.go index 150a00ba..62cff3bc 100644 --- a/bip39gen/cmd/version.go +++ b/bip39gen/cmd/version.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/cobra" ) -const Bip39GenVersion = "v0.3.52" +const Bip39GenVersion = "v0.3.54" func cmdVersion(cmd *cobra.Command, args []string) error { fmt.Println(Bip39GenVersion) diff --git a/build-tools/update_version.py b/build-tools/update_version.py index 86d21510..5aef28e6 100644 --- a/build-tools/update_version.py +++ b/build-tools/update_version.py @@ -1,7 +1,7 @@ import re import sys -version = "v0.3.52" +version = "v0.3.54" if len(sys.argv) != 2: print("Usage: python3 update_version.py ") diff --git a/ipfs-api/README.md b/ipfs-api/README.md index 75ff439f..5f42eada 100644 --- a/ipfs-api/README.md +++ b/ipfs-api/README.md @@ -5,7 +5,7 @@ A command-line interface (CLI) for interacting with the IPFS API, providing func To install the CLI, clone the repository and build the project using Go.= or dowload from existing release ``` -TOOLS_VERSION="v0.3.52" && rm -rfv /tmp/ipfs-api && \ +TOOLS_VERSION="v0.3.54" && rm -rfv /tmp/ipfs-api && \ safeWget /tmp/ipfs-api.deb "https://github.com/KiraCore/tools/releases/download/$TOOLS_VERSION/ipfs-api-$(getPlatform)-$(getArch).deb" "QmeqFDLGfwoWgCy2ZEFXerVC5XW8c5xgRyhK5bLArBr2ue" && \ dpkg-deb -x /tmp/ipfs-api.deb /tmp/ipfs-api && cp -fv "/tmp/ipfs-api/bin/ipfs-api" /usr/local/bin/ipfs-api && chmod -v 755 /usr/local/bin/ipfs-api && \ ipfs-api version diff --git a/ipfs-api/types/constants.go b/ipfs-api/types/constants.go index a5247358..d8b48218 100644 --- a/ipfs-api/types/constants.go +++ b/ipfs-api/types/constants.go @@ -1,7 +1,7 @@ package types const ( - IpfsApiVersion = "v0.3.52" + IpfsApiVersion = "v0.3.54" // Pinata v1 constants BASE_URL = "https://api.pinata.cloud" diff --git a/scripts/version.sh b/scripts/version.sh index b758b8f3..57dd4884 100644 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -echo "v0.3.53" +echo "v0.3.54" diff --git a/validator-key-gen/README.md b/validator-key-gen/README.md index 6652bc33..bf92b8ec 100644 --- a/validator-key-gen/README.md +++ b/validator-key-gen/README.md @@ -5,7 +5,7 @@ Validator Key Generator is a CLI tool that generates validator keys, node keys, ### Setup from binary file ```bash -TOOLS_VERSION="v0.3.52" +TOOLS_VERSION="v0.3.54" # Quick-Install bash-utils or see root repository README file for secure download FILE_NAME="bash-utils.sh" && \ diff --git a/validator-key-gen/main.go b/validator-key-gen/main.go index a5147519..8915768b 100644 --- a/validator-key-gen/main.go +++ b/validator-key-gen/main.go @@ -9,7 +9,7 @@ import ( valkeygen "github.com/KiraCore/tools/validator-key-gen/ValKeyGen" ) -const PrivValidatorKeyGenVersion = "v0.3.52" +const PrivValidatorKeyGenVersion = "v0.3.54" func main() {