-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* prepare for release 0.29.9 * docs: bump go version * docs: fix goreleaser install command * docs: furyctl version
- Loading branch information
1 parent
217cdcc
commit 76ccd5a
Showing
9 changed files
with
294 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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/[email protected] | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|
@@ -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/[email protected] | ||
> ``` | ||
Once you've ensured the above dependencies are installed, you can proceed with the installation. | ||
1. Clone the repository: | ||
```bash | ||
git clone [email protected]:sighupio/furyctl.git | ||
# cd into the cloned repository | ||
cd furyctl | ||
``` | ||
```bash | ||
git clone [email protected]: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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.