Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Bump golang to 1.22.9 #2089

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
75e6dbc
Update README in release-1.7
mboukhalfa Apr 23, 2024
58ea275
Merge pull request #1618 from Nordix/update-readme-release-1.7/mohammed
metal3-io-bot Apr 24, 2024
1f0e8bc
improve hack/verify-release.sh
tuminoid Apr 25, 2024
af80cfa
Merge pull request #1627 from metal3-io-bot/cherry-pick-1626-to-relea…
metal3-io-bot Apr 26, 2024
7cd2d16
Bump CAPI to v1.7.1
kashifest Apr 24, 2024
8f096e3
Merge pull request #1629 from metal3-io-bot/cherry-pick-1620-to-relea…
metal3-io-bot Apr 30, 2024
5b5ee48
Move furkatgofurov7 to emeritus approvers
furkatgofurov7 May 10, 2024
758fa59
Merge pull request #1656 from metal3-io-bot/cherry-pick-1653-to-relea…
metal3-io-bot May 13, 2024
8b48d7b
Add Adil, Moshiur, Sunnat and Tuomo as approver and Dmitry as a reviewer
kashifest May 14, 2024
ca72246
Merge pull request #1669 from metal3-io-bot/cherry-pick-1663-to-relea…
metal3-io-bot May 15, 2024
64bf77a
:seedling: Bump softprops/action-gh-release from 2.0.4 to 2.0.5
dependabot[bot] May 17, 2024
d5aa2b5
:seedling: Bump actions/checkout from 4.1.2 to 4.1.6
dependabot[bot] May 17, 2024
d510a7a
:seedling: Bump actions/setup-go from 5.0.0 to 5.0.1
dependabot[bot] May 17, 2024
dea2603
:seedling: Bump github.com/onsi/gomega from 1.32.0 to 1.33.1 in /api
dependabot[bot] May 17, 2024
2f537f9
Update generated code
dependabot[bot] May 17, 2024
fe76279
:seedling: Bump github.com/docker/docker in /test
dependabot[bot] May 17, 2024
3537959
add OWNERS_ALIASES support
tuminoid May 17, 2024
27e5db2
Merge pull request #1720 from metal3-io-bot/cherry-pick-1718-to-relea…
metal3-io-bot May 17, 2024
95561d1
Merge pull request #1679 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot May 17, 2024
73f39c5
:seedling: Bump golangci/golangci-lint-action from 4.0.0 to 4.0.1
dependabot[bot] May 17, 2024
dff8ac2
:seedling: Bump github/codeql-action from 3.24.9 to 3.24.11
dependabot[bot] May 17, 2024
88010af
:seedling: Bump k8s.io/code-generator
dependabot[bot] May 17, 2024
46b638d
Merge pull request #1682 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot May 17, 2024
9f5c305
Merge pull request #1715 from metal3-io/dependabot/go_modules/test/re…
metal3-io-bot May 17, 2024
6d748b8
Merge pull request #1714 from metal3-io/dependabot/go_modules/hack/to…
metal3-io-bot May 20, 2024
bc3b23b
Merge pull request #1722 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot May 20, 2024
5bd1df3
Merge pull request #1677 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot May 20, 2024
8ee42c7
Merge pull request #1723 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot May 20, 2024
694d61b
Bump CAPI to v1.7.2
Sunnatillo May 21, 2024
3c92202
Merge pull request #1727 from Nordix/uplift-capi-tov1.7.2/sunnat
metal3-io-bot May 21, 2024
ebb360f
Add slack notifiactions for image building failures
NymanRobin May 6, 2024
b987a53
Merge pull request #1728 from metal3-io-bot/cherry-pick-1642-to-relea…
metal3-io-bot May 22, 2024
7ae75b2
Merge pull request #1706 from metal3-io/dependabot/go_modules/api/rel…
metal3-io-bot May 22, 2024
54e05c4
:seedling: Bump sigs.k8s.io/kustomize/kustomize/v5 in /hack/tools
dependabot[bot] May 24, 2024
3c7d5d2
:seedling: Bump github.com/go-logr/logr from 1.4.1 to 1.4.2
dependabot[bot] May 24, 2024
b711145
Merge pull request #1736 from metal3-io/dependabot/go_modules/hack/to…
metal3-io-bot May 24, 2024
983ca17
Merge pull request #1737 from metal3-io/dependabot/go_modules/release…
metal3-io-bot May 27, 2024
4d41d10
bump golang to 1.21.11
tuminoid Jun 10, 2024
69f2e05
Merge pull request #1749 from Nordix/tuomo/bump-golang-1.21.11
metal3-io-bot Jun 10, 2024
eb503d4
bump capi to 1.7.3
tuminoid Jun 12, 2024
e9b2a25
Changing errors in pause annotation functions from terminal to tansient
adilGhaffarDev Jun 13, 2024
3093802
Merge pull request #1766 from metal3-io-bot/cherry-pick-1765-to-relea…
metal3-io-bot Jun 13, 2024
913c278
Merge pull request #1761 from Nordix/tuomo/bump-capi-1.7
metal3-io-bot Jun 17, 2024
04af00e
:seedling: Bump the kubernetes group in /test with 4 updates
dependabot[bot] Jun 17, 2024
306f07f
:seedling: Bump the kubernetes group with 5 updates
dependabot[bot] Jun 17, 2024
795bf88
Merge pull request #1774 from metal3-io/dependabot/go_modules/test/re…
metal3-io-bot Jun 18, 2024
bdfc339
Merge pull request #1777 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Jun 18, 2024
520763f
Bump bmo to 0.6.1
adilGhaffarDev Jun 18, 2024
87ba59a
:seedling: Bump actions/checkout from 4.1.6 to 4.1.7
dependabot[bot] Jun 18, 2024
eb6484d
Merge pull request #1784 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot Jun 19, 2024
a7bef1e
Merge pull request #1782 from Nordix/bump-bmo-1.7/adil
metal3-io-bot Jun 24, 2024
6e9cc24
Bump IPAM to v1.7.1
mquhuy Jun 24, 2024
bdd44a7
Merge pull request #1804 from Nordix/mquhuy/bump-ipam-in-release-1.7
metal3-io-bot Jun 24, 2024
d969242
:seedling: Bump softprops/action-gh-release from 2.0.5 to 2.0.6
dependabot[bot] Jun 28, 2024
6ba4f8a
:seedling: Bump sigs.k8s.io/controller-runtime from 0.17.3 to 0.17.5
dependabot[bot] Jun 28, 2024
2c9921d
Merge pull request #1813 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot Jun 28, 2024
f6794bd
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3
dependabot[bot] Jun 28, 2024
da1d73d
Merge pull request #1815 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Jul 1, 2024
63eea79
Merge pull request #1816 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Jul 1, 2024
0cca50d
:seedling: Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 in /test
dependabot[bot] Jul 1, 2024
bb72712
remove KUBECTL_SHA256 passthru
tuminoid Jul 2, 2024
25ef027
Merge pull request #1827 from Nordix/tuomo/remove-kubectl-sha-1.7
metal3-io-bot Jul 3, 2024
5b20ad8
Merge pull request #1825 from metal3-io/dependabot/go_modules/test/re…
metal3-io-bot Jul 4, 2024
2c49c13
Fixing bmo version for clusterctl tests
adilGhaffarDev Apr 15, 2024
b89ff45
Bump CAPI to v1.7.4
Sunnatillo Jul 10, 2024
ef66e21
Merge pull request #1833 from Nordix/fix-ironic-bmo-upgrade-1.7/adil
metal3-io-bot Jul 10, 2024
8d8d3a7
Merge pull request #1835 from Nordix/uplift-capi-tov1.7.4/sunnat
metal3-io-bot Jul 10, 2024
a5a8497
:seedling: Bump the kubernetes group across 4 directories with 6 updates
dependabot[bot] Jul 17, 2024
9cc6b0d
Merge pull request #1848 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Jul 19, 2024
e5e1cab
Bump golang to v1.22
NymanRobin Jul 22, 2024
dad52e8
:seedling: Bump sigs.k8s.io/kustomize/kustomize/v5 in /hack/tools
dependabot[bot] Jul 24, 2024
d6a2166
Merge pull request #1852 from Nordix/bump-golang-1.22-in-realse-1.7
metal3-io-bot Jul 25, 2024
4acc217
:seedling: Bump softprops/action-gh-release from 2.0.6 to 2.0.8
dependabot[bot] Aug 1, 2024
d73ab85
:seedling: Bump actions/setup-go from 5.0.1 to 5.0.2
dependabot[bot] Aug 1, 2024
0f4afe7
Merge pull request #1857 from metal3-io/dependabot/go_modules/hack/to…
metal3-io-bot Aug 5, 2024
1f21d1e
Merge pull request #1871 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot Aug 5, 2024
d2acca8
Merge pull request #1872 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot Aug 5, 2024
63b116c
:seedling: Bump sigs.k8s.io/controller-runtime in /api
dependabot[bot] Aug 12, 2024
2910e34
Update generated code
dependabot[bot] Aug 12, 2024
6dffd78
Merge pull request #1824 from metal3-io/dependabot/go_modules/api/rel…
metal3-io-bot Aug 13, 2024
f077a13
bump docker/docker to v26.1.5
tuminoid Aug 14, 2024
57dc2fe
fix verify-release.sh to understand go directive better
tuminoid Aug 14, 2024
64abe18
Merge pull request #1894 from metal3-io-bot/cherry-pick-1890-to-relea…
metal3-io-bot Aug 14, 2024
c4b75d9
bump golang to 1.22.6
tuminoid Aug 14, 2024
eabfaac
Merge pull request #1892 from Nordix/tuomo/bump-gomod-1.7
metal3-io-bot Aug 14, 2024
45fd16e
:seedling: Bump sigs.k8s.io/cluster-api from 1.7.4 to 1.7.5 in /api
dependabot[bot] Aug 14, 2024
03cf10f
Update generated code
dependabot[bot] Aug 14, 2024
d10de7b
Merge pull request #1905 from metal3-io/dependabot/go_modules/api/rel…
metal3-io-bot Aug 15, 2024
45c550e
:seedling: Bump sigs.k8s.io/controller-runtime in /api
dependabot[bot] Aug 15, 2024
870a88e
Update generated code
dependabot[bot] Aug 15, 2024
776d927
Merge pull request #1897 from metal3-io-bot/cherry-pick-1891-to-relea…
metal3-io-bot Aug 15, 2024
8239679
Merge pull request #1904 from metal3-io/dependabot/go_modules/api/rel…
metal3-io-bot Aug 15, 2024
d332027
Bump IPAM to v1.7.2
mquhuy Aug 15, 2024
56da07c
Merge pull request #1909 from Nordix/mquhuy/uplift-ipam-to-v1.7.2
metal3-io-bot Aug 16, 2024
7c5cb66
:seedling: Bump sigs.k8s.io/cluster-api/test in /test
dependabot[bot] Aug 21, 2024
1c7ccf0
Merge pull request #1917 from metal3-io/dependabot/go_modules/test/re…
metal3-io-bot Aug 22, 2024
aa02f06
:seedling: Bump the kubernetes group across 4 directories with 6 updates
dependabot[bot] Aug 22, 2024
806721f
Merge pull request #1916 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Aug 22, 2024
c482cf5
Move Image build to GH runner
mquhuy Aug 8, 2024
c0c323d
Merge pull request #1921 from metal3-io-bot/cherry-pick-1882-to-relea…
metal3-io-bot Aug 28, 2024
14c76e3
Uplift BMO to v0.6.2
mquhuy Sep 3, 2024
0905157
Fix minor issues on README
mquhuy Sep 4, 2024
4d889c4
Merge pull request #1949 from Nordix/mquhuy/uplift-bmo-v0.6.2
metal3-io-bot Sep 4, 2024
78b88f8
Merge pull request #1957 from Nordix/mquhuy/update-job-trigger-releas…
metal3-io-bot Sep 4, 2024
856ed42
Fix Centos E2E feature test badge
mquhuy Sep 4, 2024
10ed4b5
Merge pull request #1959 from Nordix/mquhuy/fix-test-badge
metal3-io-bot Sep 5, 2024
9e3a67c
Bump Golang to 1.22.7
mquhuy Sep 6, 2024
8840fa1
Merge pull request #1969 from metal3-io-bot/cherry-pick-1967-to-relea…
metal3-io-bot Sep 9, 2024
70ccf80
Bump CAPI v1.7.6
Sunnatillo Sep 11, 2024
d980f73
Merge pull request #1974 from Nordix/uplift-capi-v1.7.6/sunnat
metal3-io-bot Sep 12, 2024
cbcbeed
:seedling: Bump the kubernetes group across 4 directories with 6 updates
dependabot[bot] Sep 18, 2024
886cecf
Merge pull request #1990 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Sep 20, 2024
06cd73f
bump markdownlint-cli2 to v0.12.0
tuminoid Oct 7, 2024
10e3a00
Merge pull request #2011 from Nordix/tuomo/bump-markdownlint-cli2-1.7
metal3-io-bot Oct 7, 2024
6982acd
:seedling: Bump the capi group across 3 directories with 2 updates
dependabot[bot] Oct 11, 2024
3bd9fef
Merge pull request #2033 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Oct 11, 2024
16906f3
bump golang to 1.22.8
tuminoid Oct 10, 2024
dffc1b8
Merge pull request #2037 from metal3-io-bot/cherry-pick-2027-to-relea…
metal3-io-bot Oct 11, 2024
7775044
:seedling: Bump the kubernetes group across 4 directories with 6 updates
dependabot[bot] Oct 23, 2024
d5eead2
Merge pull request #2049 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Oct 24, 2024
2640e31
:seedling: Bump softprops/action-gh-release from 2.0.8 to 2.0.9
dependabot[bot] Nov 1, 2024
86ce2f5
Merge pull request #2073 from metal3-io/dependabot/github_actions/rel…
metal3-io-bot Nov 4, 2024
38744a4
:seedling: Bump the capi group across 3 directories with 2 updates
dependabot[bot] Nov 6, 2024
5054f5b
Merge pull request #2082 from metal3-io/dependabot/go_modules/release…
metal3-io-bot Nov 8, 2024
9bf9cc4
Bump Golang from 1.22.8 to 1.22.9
peppi-lotta Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 12 additions & 21 deletions .github/workflows/build-images-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,18 @@ on:
tags:
- 'v*'

permissions: {}
permissions:
contents: read

jobs:
build:
name: Build container images
runs-on: ubuntu-latest

permissions:
contents: read

build_CAPM3:
name: Build CAPM3 image
if: github.repository == 'metal3-io/cluster-api-provider-metal3'
steps:
- name: build capm3 image
uses: toptal/jenkins-job-trigger-action@137fff703dd260b52b53d3ba1960396415abc568 # 1.0.2
with:
jenkins_url: "https://jenkins.nordix.org/"
jenkins_user: "[email protected]"
jenkins_token: ${{ secrets.JENKINS_TOKEN }}
job_name: "metal3_cluster-api-provider-metal3_container_image_building"
job_params: |
{
"BUILD_CONTAINER_IMAGE_GIT_REFERENCE": "${{ github.ref }}"
}
job_timeout: "1000"
uses: metal3-io/project-infra/.github/workflows/container-image-build.yml@main
with:
image-name: 'cluster-api-provider-metal3'
pushImage: true
secrets:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
4 changes: 2 additions & 2 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ steps.vars.outputs.go_version }}
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
- api

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: golangci-lint-${{matrix.working-directory}}
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
uses: golangci/golangci-lint-action@d6238b002a20823d52840fda27e2d4891c5952dc # v4.0.1
with:
version: v1.56.2
working-directory: ${{matrix.working-directory}}
6 changes: 3 additions & 3 deletions .github/workflows/kubesec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'metal3-io/cluster-api-provider-metal3'
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Collect all yaml
id: list_yaml
Expand All @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Run kubesec scanner
uses: controlplaneio/kubesec-action@43d0ddff5ffee89a6bb9f29b64cd865411137b14 # v0.0.2
Expand All @@ -63,6 +63,6 @@ jobs:

- name: Upload Kubesec scan results to GitHub Security tab
if: ${{ steps.save_result.outputs.result != '[]' }}
uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
uses: github/codeql-action/upload-sarif@a12c274149a487a5539a726cb05bc6d1b7e0b5f2 # v3.24.11
with:
sarif_file: ${{ matrix.value }}.sarif
2 changes: 1 addition & 1 deletion .github/workflows/lint-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: read

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
with:
use-quiet-mode: 'yes'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
- name: Export RELEASE_TAG var
run: echo "RELEASE_TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
- name: checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Install go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.21'
- name: Generate release artifacts and notes
run: |
make release
- name: Release
uses: softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564 # v2.0.4
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9
with:
draft: true
files: out/*
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ is defined above.

| Minor Release | API Version | Supported Until |
| ------------- | ------------ | -------------------------------------------- |
| v1.7.x | **v1beta1** | when v1.9.0 will be released |
| v1.6.x | **v1beta1** | when v1.8.0 will be released |
| v1.5.x | **v1beta1** | when v1.7.0 will be released |
| v1.5.x | **v1beta1** | EOL since 2024-04-18 |
| v1.4.x | **v1beta1** | EOL since 2024-01-10 |
| v1.3.x | **v1beta1** | EOL since 2023-09-27 |
| v1.2.x | **v1beta1** | EOL since 2023-05-17 |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Support FROM override
ARG BUILD_IMAGE=docker.io/golang:1.21.9@sha256:7d0dcbe5807b1ad7272a598fbf9d7af15b5e2bed4fd6c4c2b5b3684df0b317dd
ARG BUILD_IMAGE=docker.io/golang:1.22.9@sha256:97ccb917d1dfe5b12cb4cfea1fb37989b28d3a87d28e89f27a71336c4700a87f
ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:9ecc53c269509f63c69a266168e4a687c7eb8c0cfd753bd8bfcaa4f58a90876f

# Build the manager binary on golang image
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SHELL:=/usr/bin/env bash

.DEFAULT_GOAL:=help

GO_VERSION ?= 1.21.9
GO_VERSION ?= 1.22.9
GO := $(shell type -P go)
# Use GOPROXY environment variable if set
GOPROXY := $(shell $(GO) env GOPROXY)
Expand Down
24 changes: 9 additions & 15 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- furkatgofurov7
- kashifest
- lentzi90
- mboukhalfa
- cluster-api-provider-metal3-maintainers

reviewers:
- adilGhaffarDev
- Rozzii
- smoshiur1237
- Sunnatillo
- tuminoid
- zhouhao3
- cluster-api-provider-metal3-maintainers
- cluster-api-provider-metal3-reviewers

emeritus_approvers:
- fmuyassarov
- maelk
- Xenwar
- fmuyassarov
- furkatgofurov7
- maelk
- Xenwar

emeritus_reviewers:
- jan-est
- namnx228
- jan-est
- namnx228
16 changes: 16 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

aliases:
cluster-api-provider-metal3-maintainers:
- adilGhaffarDev
- kashifest
- lentzi90
- mboukhalfa
- smoshiur1237
- Sunnatillo
- tuminoid

cluster-api-provider-metal3-reviewers:
- dtantsur
- Rozzii
- zhouhao3
99 changes: 53 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

[![CLOMonitor](https://img.shields.io/endpoint?url=https://clomonitor.io/api/projects/cncf/metal3-io/badge)](https://clomonitor.io/projects/cncf/metal3-io)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/metal3-io/cluster-api-provider-metal3/badge)](https://securityscorecards.dev/viewer/?uri=github.com/metal3-io/cluster-api-provider-metal3)
[![Ubuntu E2E Integration main build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-ubuntu-e2e-integration-test-main&subject=Ubuntu%20e2e%20integration%20main)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-ubuntu-e2e-integration-test-main/)
[![CentOS E2E Integration main build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-centos-e2e-integration-test-main&subject=Centos%20e2e%20integration%20main)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-centos-e2e-integration-test-main/)
[![Ubuntu E2E feature main build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-ubuntu-e2e-feature-test-main/&subject=Ubuntu%20E2E%20feature%20main)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-ubuntu-e2e-feature-test-main/)
[![CentOS E2E feature main build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-centos-e2e-feature-test-main/&subject=CentOS%20E2E%20feature%20main)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-centos-e2e-feature-test-main/)
[![Ubuntu E2E Integration 1.7 build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-ubuntu-e2e-integration-test-release-1-7&subject=Ubuntu%20E2E%20integration%201.7)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-ubuntu-e2e-integration-test-release-1-7/)
[![CentOS E2E Integration 1.7 build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-centos-e2e-integration-test-release-1-7&subject=Centos%20E2E%20integration%201.7)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-centos-e2e-integration-test-release-1-7/)
[![CentOS E2E feature 1.7 build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-centos-e2e-feature-test-release-1-7-features/&subject=CentOS%20E2E%20feature%201.7)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-centos-e2e-feature-test-release-1-7-features/)
[![CentOS E2E pivot 1.7 build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-centos-e2e-feature-test-release-1-7-pivoting/&subject=CentOS%20E2E%20pivot%201.7)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-centos-e2e-feature-test-release-1-7-pivoting/)
[![CentOS E2E remediation 1.7 build status](https://jenkins.nordix.org/buildStatus/icon?job=metal3-periodic-centos-e2e-feature-test-release-1-7-remediation/&subject=CentOS%20E2E%20remediation%201.7)](https://jenkins.nordix.org/view/Metal3%20Periodic/job/metal3-periodic-centos-e2e-feature-test-release-1-7-remediation/)

Kubernetes-native declarative infrastructure for Metal3.

Expand All @@ -28,6 +29,7 @@ Metal3.
| v1beta1 | v1beta1 | v1.4.X |  v1.4.X        |
| v1beta1 | v1beta1 | v1.5.X |  v1.5.X        |
| v1beta1 | v1beta1 | v1.6.X |  v1.6.X        |
| v1beta1 | v1beta1 | v1.7.X |  v1.7.X        |

## Deploying the metal3 provider

Expand All @@ -46,9 +48,9 @@ need to be manually installed. Example flow of installing Metal3 provider:
level of the logging verbose with a positive integer number, ie. -v5.

```shell
clusterctl init --core cluster-api:v1.7.0 \
--bootstrap kubeadm:v1.7.0 \
--control-plane kubeadm:v1.7.0 -v5
clusterctl init --core cluster-api:v1.7.4 \
--bootstrap kubeadm:v1.7.4 \
--control-plane kubeadm:v1.7.4 -v5
```

1. Install Metal3 provider. This will install the latest version of Cluster API
Expand All @@ -62,7 +64,7 @@ need to be manually installed. Example flow of installing Metal3 provider:
provider name as follows:

```shell
clusterctl init --infrastructure metal3:v1.6.0
clusterctl init --infrastructure metal3:v1.7.0
```

1. Deploy Baremetal Operator manifests and CRDs. You need to install
Expand Down Expand Up @@ -140,6 +142,13 @@ To trigger e2e test on a PR, use the following phrases:
- **/test-centos-e2e-integration-test-main** runs integration e2e
tests with CAPM3 API version v1beta1 and branch main on CentOS

Release-1.7 branch:

- **/test metal3-ubuntu-e2e-integration-test-release-1-7** runs integration e2e
tests with CAPM3 API version v1beta1 and branch release-1.7 on Ubuntu
- **/test metal3-centos-e2e-integration-test-release-1-7** runs integration e2e
tests with CAPM3 API version v1beta1 and branch release-1.7 on CentOS

Release-1.6 branch:

- **/test metal3-ubuntu-e2e-integration-test-release-1-6** runs integration e2e
Expand All @@ -154,22 +163,15 @@ Release-1.5 branch:
- **/test metal3-centos-e2e-integration-test-release-1-5** runs integration e2e
tests with CAPM3 API version v1beta1 and branch release-1.5 on CentOS

Release-1.4 branch:

- **/test metal3-ubuntu-e2e-integration-test-release-1-4** runs integration e2e
tests with CAPM3 API version v1beta1 and branch release-1.4 on Ubuntu
- **/test metal3-centos-e2e-integration-test-release-1-4** runs integration e2e
tests with CAPM3 API version v1beta1 and branch release-1.4 on CentOS

## Basic tests

Unlike integration tests, basic tests focus on the target cluster creation
without involving pivoting from the bootstrap cluster. To run basic tests use:

- **/test metal3-ubuntu-e2e-basic-test-main** runs basic e2e tests with main
branch on Ubuntu
- **/test metal3-centos-e2e-basic-test-release-1-6** runs basic e2e tests on
release-1.6 branch with centos
- **/test metal3-centos-e2e-basic-test-release-1-7** runs basic e2e tests on
release-1.7 branch with centos

### Feature tests

Expand All @@ -180,6 +182,13 @@ On main branch:
- **/test metal3-centos-e2e-feature-test-main** runs e2e feature tests with
CAPM3 API version v1beta1 and branch main on CentOS

Release-1.7 branch:

- **/test metal3-ubuntu-e2e-feature-test-release-1-7** runs e2e feature tests
with CAPM3 API version v1beta1 and branch release-1.7 on Ubuntu
- **/test metal3-centos-e2e-feature-test-release-1-7** runs e2e feature tests
with CAPM3 API version v1beta1 and branch release-1.7 on CentOS

Release-1.6 branch:

- **/test metal3-ubuntu-e2e-feature-test-release-1-6** runs e2e feature tests with
Expand All @@ -194,48 +203,46 @@ Release-1.5 branch:
- **/test metal3-centos-e2e-feature-test-1-5** runs e2e feature tests with CAPM3
API version v1beta1 and branch release-1.5 on CentOS

Release-1.4 branch:

- **/test metal3-ubuntu-e2e-feature-test-release-1-4** runs e2e feature tests
with CAPM3 API version v1beta1 and branch release-1.4 on Ubuntu
- **/test metal3-centos-e2e-feature-test-release-1-4** runs e2e feature tests
with CAPM3 API version v1beta1 and branch release-1.4 on CentOS

### Upgrade tests

#### Clusterctl upgrade tests

CAPM3 tests upgrade from all supported release to the current one.
We run upgrade test on main branch from different releases:

z- **/test-e2e-upgrade-main-from-release-1-3** runs e2e upgrade tests from CAPM3
API version v1beta1/branch release-1.3 to CAPM3 API version v1beta1/branch
main on Ubuntu
- **/test metal3-e2e-clusterctl-upgrade-test-main** runs e2e clusterctl
upgrade tests on main with Ubuntu

- **/test-e2e-upgrade-main-from-release-1-4** runs e2e upgrade tests from CAPM3
API version v1beta1/branch release-1.4 to CAPM3 API version v1beta1/branch
main on Ubuntu
- **/test metal3-e2e-clusterctl-upgrade-test-release-1-7** runs e2e clusterctl
upgrade tests on release-1.7 with Ubuntu

- **/test-e2e-upgrade-main-from-release-1-5** runs e2e upgrade tests from CAPM3
API version v1beta1/branch release-1.5 to CAPM3 API version v1beta1/branch
main on Ubuntu
- **/test metal3-e2e-clusterctl-upgrade-test-release-1-6** runs e2e clusterctl
upgrade tests on release-1.6 with Ubuntu

- **/test-e2e-upgrade-main-from-release-1-6** runs e2e upgrade tests from CAPM3
API version v1beta1/branch release-1.6 to CAPM3 API version v1beta1/branch
main on Ubuntu
- **/test metal3-e2e-clusterctl-upgrade-test-release-1-5** runs e2e clusterctl
upgrade tests on release-1.5 with Ubuntu

### Keep VM
#### K8s upgrade tests

After the e2e test is completed, Jenkins executes another script to clean up the
environment first and then deletes the VM. However, sometimes it may be
desirable to keep the VM for debugging purposes. To avoid clean up and deletion
operations, use `keep-` prefix e.g:
CAPM3 tests upgrading kubernetes between last 3 releases.
The trigger takes the format:
`/test metal3-e2e-<from-minor-k8s-v>-<to-minor-k8s-v>-upgrade-test-<branch>`

- **/keep-test-ubuntu-e2e-integration-main** run keep e2e tests with CAPM3 API
version v1beta1 and branch main on Ubuntu
- **/test metal3-e2e-1-28-1-29-upgrade-test-main**
- **/test metal3-e2e-1-27-1-28-upgrade-test-main**
- **/test metal3-e2e-1-26-1-27-upgrade-test-main**
- **/test metal3-e2e-1-28-1-29-upgrade-test-release-1-7**
- **/test metal3-e2e-1-27-1-28-upgrade-test-release-1-7**
- **/test metal3-e2e-1-26-1-27-upgrade-test-release-1-7**
- **/test metal3-e2e-1-28-1-29-upgrade-test-release-1-6**
- **/test metal3-e2e-1-27-1-28-upgrade-test-release-1-6**
- **/test metal3-e2e-1-26-1-27-upgrade-test-release-1-6**
- **/test metal3-e2e-1-28-1-29-upgrade-test-release-1-5**
- **/test metal3-e2e-1-27-1-28-upgrade-test-release-1-5**
- **/test metal3-e2e-1-26-1-27-upgrade-test-release-1-5**

Note:

- Triggers follow the pattern: `/[keep-|parallel-]test-<os>-e2e-<type>-<branch>`
- Test VM created with `keep-` prefix will not be kept forever but deleted after
24 hours.
- Triggers follow the pattern: `/test metal3-<image-os>-e2e-<test-type>-test-<branch>`

More info about e2e test can be found [here](docs/e2e-test.md)
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def fixup_yaml_empty_arrays(yaml_str):

tilt_helper_dockerfile_header = """
# Tilt image
FROM golang:1.21 as tilt-helper
FROM golang:1.22 as tilt-helper
# Support live reloading with Tilt
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \
wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && \
Expand Down
Loading