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

e2e: support docker hub as registry #1489

Merged
merged 3 commits into from
Dec 8, 2022
Merged

Conversation

AlinsRan
Copy link
Contributor

@AlinsRan AlinsRan commented Dec 5, 2022

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches

What this PR does / why we need it:

The free docker hub account does not support multi-level paths. such as api docker.io/xxx/xxx/xxx.
The ${REGISTRY}/apache/apisix:dev unable to push to personal docker hub.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2022

Codecov Report

Merging #1489 (1662f54) into master (1097792) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1489      +/-   ##
==========================================
+ Coverage   41.26%   41.38%   +0.12%     
==========================================
  Files          83       84       +1     
  Lines        7365     7382      +17     
==========================================
+ Hits         3039     3055      +16     
- Misses       3972     3974       +2     
+ Partials      354      353       -1     
Impacted Files Coverage Δ
pkg/providers/ingress/translation/translator.go 0.00% <0.00%> (ø)
...ation/annotations/upstreamscheme/upstreamscheme.go 100.00% <0.00%> (ø)
pkg/providers/ingress/translation/annotations.go 88.23% <0.00%> (+29.41%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AlinsRan AlinsRan changed the title e2e: udpate registry image e2e: support docker hub as registry Dec 6, 2022
@AlinsRan AlinsRan marked this pull request as ready for review December 6, 2022 02:07
.github/workflows/e2e-test-ci-v2-cron.yml Outdated Show resolved Hide resolved
.github/workflows/e2e-test-ci.yml Outdated Show resolved Hide resolved
.github/workflows/k8s-timer-ci.yml Outdated Show resolved Hide resolved
@@ -72,7 +72,7 @@ spec:
tcpSocket:
port: 9080
timeoutSeconds: 2
image: "localhost:5000/apache/apisix:dev"
image: "localhost:5000/apisix:dev"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also add a global variable that stores the $REGISTRY used instead of hardcoding it here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tao12345666333 tao12345666333 merged commit 051fc48 into apache:master Dec 8, 2022
@tao12345666333 tao12345666333 added this to the v1.6.0 milestone Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants