-
Notifications
You must be signed in to change notification settings - Fork 336
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
ci: upgrade e2e-test-ci #1149
ci: upgrade e2e-test-ci #1149
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1149 +/- ##
=======================================
Coverage 30.45% 30.45%
=======================================
Files 81 81
Lines 9839 9839
=======================================
Hits 2996 2996
Misses 6517 6517
Partials 326 326 Continue to review full report at Codecov.
|
ed2024a
to
ac3bb93
Compare
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.
I'm guessing it's because there are places in the code that need to be marked with their image tags?
docker tag apache/apisix:2.13.1-alpine $(REGISTRY)/apache/apisix:$(IMAGE_TAG) | ||
|
||
docker pull bitnami/etcd:3.4.14-debian-10-r0 | ||
docker tag bitnami/etcd:3.4.14-debian-10-r0 $(REGISTRY)/bitnami/etcd:$(IMAGE_TAG) | ||
|
||
docker pull kennethreitz/httpbin | ||
docker tag kennethreitz/httpbin $(REGISTRY)/kennethreitz/httpbin:$(IMAGE_TAG) | ||
|
||
docker build -t test-backend:$(IMAGE_TAG) --build-arg ENABLE_PROXY=$(ENABLE_PROXY) ./test/e2e/testbackend | ||
docker tag test-backend:$(IMAGE_TAG) $(REGISTRY)/test-backend:$(IMAGE_TAG) | ||
|
||
docker build -t apache/apisix-ingress-controller:$(IMAGE_TAG) --build-arg ENABLE_PROXY=$(ENABLE_PROXY) . | ||
docker tag apache/apisix-ingress-controller:$(IMAGE_TAG) $(REGISTRY)/apache/apisix-ingress-controller:$(IMAGE_TAG) | ||
|
||
docker pull jmalloc/echo-server:latest | ||
docker tag jmalloc/echo-server:latest $(REGISTRY)/jmalloc/echo-server:$(IMAGE_TAG) | ||
|
||
docker pull busybox:1.28 | ||
docker tag busybox:1.28 $(REGISTRY)/busybox:$(IMAGE_TAG) |
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.
I do not recommend unifying the tags of these images into dev.
If the task fails, we need to check the code to know which image is used.
Can you explain your benefit of unifying them?
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.
The advantage of this is that because we use a local repository, we don't need to care about these images tags in the code. When upgrading, we only need to change the Makefile
file.
At present, localhost:5000
is used to identify the local warehouse in our code. It's not difficult to track this problem.
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.
make sense, let's move forward.
Type of change:
What this PR does / why we need it:
ref: #1164
EnsureNum...
func to ensure resource update.It will retry 6 times to ensure the stability above 80%
retry 6 times:
pass: 6
faild: 0