-
Notifications
You must be signed in to change notification settings - Fork 275
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 go to 1.22.3, fix make compose and optimize ut script for 1.2-dev #16644
Conversation
1. bump go version from 1.21.5 to 1.22.3 2. fix `make compose` to make it work 3. `make ut` will read `UT_WORKDIR` env variable to store report, it will be `$HOME` if `UT_WORKDIR` is empty Approved by: @zhangxu19830126, @sukki37
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue # https://github.com/matrixorigin/MO-Cloud/issues/3413 https://github.com/matrixorigin/MO-Cloud/issues/3397
What this PR does / why we need it:
make compose
to make it workmake ut
will readUT_WORKDIR
env variable to store report, it will be$HOME
ifUT_WORKDIR
is emptyPR Type
Enhancement, Bug fix
Description
UT_WORKDIR
environment variable..dockerignore
to exclude scratch directories.COMPOSE_LAUNCH
profile and added additional cleanup commands in Makefile.Changes walkthrough 📝
1 files
compose_bvt.sh
Fix and optimize Docker Compose BVT script.
optools/compose_bvt/compose_bvt.sh
.bak
file deletion.exit $?
statement.3 files
entrypoint.sh
Improve MySQL readiness check and update paths.
optools/compose_bvt/entrypoint.sh
utilities.sh
Add support for `UT_WORKDIR` environment variable.
optools/utilities.sh
UT_WORKDIR
environment variable.Makefile
Update Docker Compose launch profile and cleanup commands.
Makefile
COMPOSE_LAUNCH
profile.2 files
.dockerignore
Update `.dockerignore` to exclude scratch directories.
.dockerignore
**/scratch/
to ignore list.compose.yaml
Remove version declaration from Docker Compose file.
etc/launch-tae-compose/compose.yaml
4 files
go.mod
Bump Go version to 1.22.3.
go.mod
Dockerfile
Update base image to Go 1.22.3.
optools/bvt_ut/Dockerfile
Dockerfile.tester
Update base image and remove redundant installation.
optools/compose_bvt/Dockerfile.tester
apt
installation.Dockerfile
Update base image to Go 1.22.3.
optools/images/Dockerfile