Skip to content

Commit b1fe1a2

Browse files
Merge pull request #641 from Dee-6777/add-go-version-fix-issue
Add a section for Go Version Compatibility issues to readme
2 parents 941b70c + c8555c5 commit b1fe1a2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -455,3 +455,23 @@ To manually execute a vulnerability scan locally, run the following command:
455455
```
456456
make scan
457457
```
458+
459+
## Fixing Go Version Compatibility Issues
460+
When build failures occur due to Go version mismatches, follow these steps:
461+
462+
- Create Release Repository PR
463+
Open a PR against the openshift/release repository to update the CI configuration to the latest Go version.
464+
Example: PR [#62885](https://github.com/openshift/release/pull/62885): Bump to Go 1.21
465+
466+
- Merge Release PR
467+
Wait for the release repository PR to be merged by the CI bot.
468+
469+
- Update Backplane CLI
470+
Update the Go version in the Backplane CLI Dockerfile and verify CI builds:
471+
472+
```
473+
FROM golang:1.21 # Update version to match release PR
474+
```
475+
Example Implementation: PR [#636](https://github.com/openshift/backplane-cli/pull/636): OSD-28717 Fix build failures
476+
Update the dockerfile of backplane-cli with the latest go version and check if build passes.
477+
Check for any issues while updating the dockerfile and start a thread in #sd-ims-backplane channel to mitigate this issue.

0 commit comments

Comments
 (0)