-
Notifications
You must be signed in to change notification settings - Fork 313
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
Add the build and test script for ARM64 #1133
base: development
Are you sure you want to change the base?
Conversation
- Add docker.arm64 in Makefile, use make docker.arm64 to build images for arm. - Add opensds-all-arm-dev.yaml to test opensds with noauth Signed-off-by: wangzihao <[email protected]>
Codecov Report
@@ Coverage Diff @@
## development #1133 +/- ##
============================================
Coverage 34.88% 34.88%
============================================
Files 97 97
Lines 17583 17583
============================================
Hits 6133 6133
Misses 10580 10580
Partials 870 870 |
type: Directory | ||
--- | ||
################################################################################################## | ||
# Authchecker service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unused code here
--- | ||
################################################################################################## | ||
# Dashboard service | ||
################################################################################################## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unused code
Makefile
Outdated
cp $(BUILD_DIR)/bin/osdsdock ./cmd/osdsdock | ||
cp $(BUILD_DIR)/bin/osdslet ./cmd/osdslet | ||
cp $(BUILD_DIR)/bin/osdsapiserver ./cmd/osdsapiserver | ||
docker build cmd/osdsdock -t opensdsio/opensds-dock-arm64:ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does ci mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @wisererik . I used ci tag to test on my machine ,and sorry for that . I have update it to latest. Please take a look, thanks!
go.mod
Outdated
@@ -46,7 +46,6 @@ require ( | |||
go.uber.org/zap v1.12.0 // indirect | |||
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529 | |||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect | |||
google.golang.org/appengine v1.4.0 // indirect | |||
google.golang.org/grpc v1.24.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please don't go.mod if there is no change of go code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have restore it
- remove unused code - change the tag of arm images - restore go.mod Signed-off-by: wangzihao <[email protected]>
for arm.
Signed-off-by: wangzihao [email protected]
What this PR does / why we need it:
This PR add the support for building opensds on ARM64. There are some ARM servers like huawei cloud is used to storage. Opensds may need to run on ARM.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #fixes #1130
Special notes for your reviewer:
Release note: