-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Introduce
versions.yaml
file (#2172)
* chore: Introduce versions.yaml file * skip wait for image build for testing * comment out manual k8s version * remove maual k8s version * fix yq install * re-introduce manual dispatch k8s version * fix manual dispatch k8s version * use in golangci-lint; cosmetics * Revert "skip wait for image build for testing" This reverts commit 999d610. * use for check versions.sh * fix golangci-lint * update local test setup * fix golangci-lint * fix golangci-lint * fix golangci-lint * try to use working dir * align directory * align directory for go * prefix v
- Loading branch information
Showing
11 changed files
with
109 additions
and
45 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
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 |
---|---|---|
|
@@ -15,4 +15,3 @@ runs: | |
chmod +x k3d-linux | ||
mv k3d-linux ./k3d/bin/k3d | ||
echo "$(pwd)/k3d/bin" >> $GITHUB_PATH | ||
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Install yq | ||
description: Downloads yq and installs it locally. | ||
inputs: | ||
yq_version: | ||
description: The version of yq to install. For example, 4.45.1. | ||
required: true | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install yq | ||
shell: bash | ||
run: | | ||
mkdir -p ./yq/bin | ||
wget https://github.com/mikefarah/yq/releases/${{ inputs.yq_version }}/download/yq_linux_amd64 -o ./yq/bin/yq &&\ | ||
chmod +x ./yq/bin/yq | ||
echo "$(pwd)/yq/bin" >> $GITHUB_PATH |
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 |
---|---|---|
|
@@ -11,25 +11,37 @@ jobs: | |
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Checkout lifecycle-manager | ||
uses: actions/checkout@v4 | ||
with: | ||
path: lifecycle-manager | ||
|
||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: 'go.mod' | ||
go-version-file: './lifecycle-manager/go.mod' | ||
cache: false | ||
|
||
- name: Get configuration | ||
uses: ./lifecycle-manager/.github/actions/get-configuration | ||
id: configuration | ||
|
||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.60.3 | ||
version: v${{ steps.configuration.outputs.golangci_lint_version }} | ||
args: --verbose | ||
working-directory: ./lifecycle-manager | ||
|
||
- name: golangci-lint for api module | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.60.3 | ||
version: v${{ steps.configuration.outputs.golangci_lint_version }} | ||
args: --verbose | ||
working-directory: ./api | ||
working-directory: ./lifecycle-manager/api | ||
|
||
- name: golangci-lint for maintenancewindows module | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.60.3 | ||
version: v${{ steps.configuration.outputs.golangci_lint_version }} | ||
args: --verbose | ||
working-directory: ./maintenancewindows | ||
working-directory: ./lifecycle-manager/maintenancewindows |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"augustocdias.tasks-shell-input" | ||
] | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# defines the versions of the tools used in the project | ||
istio: "1.24.1" | ||
k3d: "5.7.4" | ||
modulectl: "1.1.3" | ||
certManager: "1.15.0" | ||
k8s: "1.30.3" | ||
kustomize: "5.3.0" | ||
controllerTools: "0.14.0" | ||
golangciLint: "1.60.3" | ||
kubectl: "1.31.3" | ||
go: "1.23.4" | ||
docker: "27.4.0" |