Skip to content

Commit

Permalink
prepare for release 0.29.9 (#546)
Browse files Browse the repository at this point in the history
* prepare for release 0.29.9

* docs: bump go version

* docs: fix goreleaser install command

* docs: furyctl version
  • Loading branch information
alessiodionisi authored Oct 8, 2024
1 parent 217cdcc commit 76ccd5a
Show file tree
Hide file tree
Showing 9 changed files with 294 additions and 321 deletions.
20 changes: 10 additions & 10 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: main

steps:
- name: prepare
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- clone
Expand All @@ -22,7 +22,7 @@ steps:
GOTMPDIR: /drone/src/.go/tmp

- name: license
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- prepare
Expand All @@ -35,7 +35,7 @@ steps:
GOTMPDIR: /drone/src/.go/tmp

- name: lint
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- prepare
Expand All @@ -48,7 +48,7 @@ steps:
GOTMPDIR: /drone/src/.go/tmp

- name: test-unit
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- prepare
Expand All @@ -61,7 +61,7 @@ steps:
GOTMPDIR: /drone/src/.go/tmp

- name: test-integration
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- prepare
Expand All @@ -84,8 +84,8 @@ steps:
- apt update
- apt install -y curl git make ssh unzip
# Install Golang & deps
- curl -sL https://go.dev/dl/go1.22.3.linux-amd64.tar.gz -o go1.22.3.tar.gz
- rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.3.tar.gz
- curl -sL https://go.dev/dl/go1.23.2.linux-amd64.tar.gz -o go1.23.2.tar.gz
- rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.2.tar.gz
- echo 'export PATH=$$PATH:/usr/local/go/bin:/root/go/bin' >> /etc/profile
- export PATH=$$PATH:/usr/local/go/bin:/root/go/bin
- go install github.com/onsi/ginkgo/v2/ginkgo@v2.15.0
Expand All @@ -108,7 +108,7 @@ steps:
# Run tests
- make test-e2e
# Cleanup
- rm go1.22.3.tar.gz
- rm go1.23.2.tar.gz
- rm awscliv2.zip
environment:
CGO_ENABLED: 0
Expand All @@ -132,7 +132,7 @@ steps:
from_secret: TERRAFORM_TF_STATES_BUCKET_NAME

- name: build
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- lint
Expand All @@ -158,7 +158,7 @@ steps:
from_secret: GITHUB_TOKEN

- name: build-release
image: quay.io/sighup/golang:1.22.3
image: quay.io/sighup/golang:1.23.2
pull: always
depends_on:
- lint
Expand Down
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/goreleaser/goreleaser/v2.3.2/www/docs/static/schema.json

# Copyright (c) 2017-present SIGHUP s.r.l All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

---
version: 2
project_name: furyctl
before:
hooks:
Expand Down Expand Up @@ -30,7 +32,7 @@ archives:
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-develop"
version_template: "{{ incpatch .Version }}-develop"
changelog:
sort: asc
filters:
Expand Down
8 changes: 4 additions & 4 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bats 1.8.2
bats 1.11.0
drone 1.7.0
golang 1.22.3
golangci-lint 1.59.1
goreleaser 1.24.0
golang 1.23.2
golangci-lint 1.61.0
goreleaser 2.3.2
kubectx 0.9.5
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ clean: deps
build:
@export GO_VERSION=$$(go version | cut -d ' ' -f 3) && \
goreleaser check && \
goreleaser release --debug --snapshot --clean
goreleaser release --verbose --snapshot --clean

release:
@export GO_VERSION=$$(go version | cut -d ' ' -f 3) && \
goreleaser check && \
goreleaser release --debug --clean
goreleaser release --verbose --clean

# Helpers

Expand Down
58 changes: 29 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<p>The Swiss Army Knife<br/>for the Kubernetes Fury Distribution</p>

[![Build Status](https://ci.sighup.io/api/badges/sighupio/furyctl/status.svg?ref=refs/heads/main)](https://ci.sighup.io/sighupio/furyctl)
![Release](https://img.shields.io/badge/furyctl-v0.29.7-blue)
![Release](https://img.shields.io/badge/furyctl-v0.29.9-blue)
![Slack](https://img.shields.io/badge/slack-@kubernetes/fury-yellow.svg?logo=slack)
![License](https://img.shields.io/github/license/sighupio/furyctl)
[![Go Report Card](https://goreportcard.com/badge/github.com/sighupio/furyctl)](https://goreportcard.com/report/github.com/sighupio/furyctl)
Expand Down Expand Up @@ -67,64 +67,64 @@ Check that everything is working correctly with `furyctl version`:
```bash
$ furyctl version
...
goVersion: go1.22
goVersion: go1.23
osArch: amd64
version: 0.29.7
version: 0.29.9
```

### Installing from source

Prerequisites:

- `make >= 4.1`
- `go >= 1.22`
- `goreleaser >= v1.24`
- `go >= 1.23`
- `goreleaser >= 2.3`

> You can install `goreleaser` with the following command once you have Go in your system:
>
> ```bash
> go install github.com/goreleaser/goreleaser@v1.24.0
> go install github.com/goreleaser/goreleaser/v2@v2.3.2
> ```
Once you've ensured the above dependencies are installed, you can proceed with the installation.
1. Clone the repository:
```bash
git clone git@github.com:sighupio/furyctl.git
# cd into the cloned repository
cd furyctl
```
```bash
git clone git@github.com:sighupio/furyctl.git
# cd into the cloned repository
cd furyctl
```
2. Build the binaries by running the following command:
```bash
go build .
```
```bash
go build .
```
3. You will find the binaries for your current architecture inside the current folder:
```bash
$ ls furyctl
furyctl
```
```bash
$ ls furyctl
furyctl
```
4. Check that the binary is working as expected:
```bash
$ ./furyctl version
buildTime: unknown
gitCommit: unknown
goVersion: unknown
osArch: unknown
version: unknown
```
```bash
$ ./furyctl version
buildTime: 2024-10-08T07:46:28Z
gitCommit: 217cdcc8bf075fccfdb11c41ccc6bb317ec704bc
goVersion: go1.23.2
osArch: arm64
version: 0.29.9
```
5. (optional) move the binary to your `bin` folder, in macOS:
```bash
sudo mv ./furyctl /usr/local/bin/furyctl
```
```bash
sudo mv ./furyctl /usr/local/bin/furyctl
```
## Usage
Expand Down
4 changes: 4 additions & 0 deletions docs/COMPATIBILITY_MATRIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Note: Always use the latest `furyctl` version, we make sure that is compatible w

| Furyctl / KFD | 1.29.4 | 1.29.3 | 1.29.2 | 1.29.1 | 1.29.0 | 1.28.4 | 1.28.3 | 1.28.2 | 1.28.1 | 1.28.0 | 1.27.9 | 1.27.8 | 1.27.7 | 1.27.6 | 1.27.5 | 1.27.4 | 1.27.3 | 1.27.2 | 1.27.1 | 1.27.0 | 1.26.6 | 1.26.5 | 1.26.4 | 1.26.3 | 1.25.10 | 1.25.9 | 1.25.8 |
| ------------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| 0.29.9 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.8 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.7 | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.6 | | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.5 | | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: | :warning: |
Expand All @@ -32,6 +34,8 @@ Note: Always use the latest `furyctl` version, we make sure that is compatible w

| Furyctl / Providers | EKSCluster | KFDDistribution | OnPremises |
| ------------------- | ------------------ | ------------------ | ------------------ |
| 0.29.9 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.8 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.7 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.6 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| 0.29.5 | :x: | :x: | :x: |
Expand Down
Loading

0 comments on commit 76ccd5a

Please sign in to comment.