Skip to content

merge upstream release 0.15.0 #10

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

Merged
merged 347 commits into from
Jun 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
347 commits
Select commit Hold shift + click to select a range
4b9cb90
Correct typo (#2238)
fqsghostcloud Mar 22, 2018
65fde75
fix-link (#2239)
fqsghostcloud Mar 22, 2018
b45ee8d
Add missing configuration in #2235 (#2236)
halfcrazy Mar 22, 2018
e1c7892
to kubernetes (#2240)
yulng Mar 22, 2018
0b0a274
fix: cannot set $service_name if use rewrite (#2220)
oilbeater Mar 22, 2018
39cb880
Revert "Get file max from fs/file-max. (#2050)" (#2241)
maxlaverse Mar 22, 2018
84a6e0c
add http/2
agau4779 Mar 21, 2018
935a5ef
Merge pull request #2242 from agau4779/http2
k8s-ci-robot Mar 22, 2018
1f93a1c
fix: empty ingress path (#2244)
oilbeater Mar 23, 2018
b0a63fe
Fix grpc json tag name (#2246)
aledbf Mar 23, 2018
6e099c5
Add EWMA as configurable load balancing algorithm (#2229)
zrdaley Mar 23, 2018
93c72ef
Update go dependencies (#2234)
aledbf Mar 23, 2018
cd96245
Add deployment docs for AWS NLB (#1785)
aledbf Mar 24, 2018
5c016be
Update annotations.md (#2255)
AdamDang Mar 25, 2018
6bc4dad
Update README.md (#2267)
AdamDang Mar 27, 2018
3853689
Managing a whitelist for _/nginx_status (#2187)
sylr Mar 28, 2018
5738ddb
Revert deleted assignment in #2146 (#2270)
aledbf Mar 28, 2018
b09ecf7
Use SharedIndexInformers in place of Informers (#2271)
antoineco Mar 29, 2018
c6c219a
clean up tmpl (#2263)
oilbeater Mar 29, 2018
146db43
Disable opentracing for nginx internal urls (#2272)
aledbf Mar 29, 2018
660e67d
Typo fixes in modsecurity.md (#2274)
AdamDang Mar 29, 2018
46a97a4
Update go to 1.10.1 (#2273)
aledbf Mar 29, 2018
bcb162a
Update README.md (#2276)
AdamDang Mar 30, 2018
931e541
Fix bug when auth req is enabled(external authentication) (#2280)
ElvinEfendi Mar 30, 2018
e761191
Fix nlb instructions (#2282)
aledbf Mar 30, 2018
ee46f48
e2e tests for dynamic configuration and Lua features and a bug fix (#…
ElvinEfendi Apr 1, 2018
9b4d7f2
Fix flaky e2e tests by always waiting after redeploying the ingress c…
alvaroaleman Apr 1, 2018
e7aa74b
Add NoAuthLocations and default it to "/.well-known/acme-challenge" (…
alvaroaleman Apr 2, 2018
83974c3
Update controller.go (#2285)
sergeylanzman Apr 2, 2018
e2937cc
Fix custom-error-pages image publication script (#2289)
aledbf Apr 3, 2018
13d390e
Update nginx to 1.13.11 (#2290)
aledbf Apr 4, 2018
dd2bc91
Fix HSTS without preload (#2294)
aledbf Apr 5, 2018
ee30c55
Disable dynamic configuration in s390x and ppc64le (#2298)
aledbf Apr 5, 2018
ab83490
Improve indentation of generated nginx.conf (#2296)
aledbf Apr 5, 2018
82b6c33
Escape variables in add-base-url annotation
aledbf Apr 5, 2018
2a02b7c
Fix race condition when Ingress does not contains a secret (#2300)
aledbf Apr 6, 2018
82a6d4c
include lua-resty-waf and its dependencies in the base Nginx image (#…
ElvinEfendi Apr 6, 2018
6987b3f
include the rest of lua-resty-waf dependencies (#2303)
ElvinEfendi Apr 7, 2018
fd458df
Fix issues building nginx image in different platforms (#2305)
aledbf Apr 7, 2018
888b74b
Disable lua waf where luajit is not available (#2306)
aledbf Apr 7, 2018
1c65320
Add verification of lua load balancer to health check (#2308)
aledbf Apr 8, 2018
b17ed7b
Configure upload limits for setup of lua load balancer (#2309)
aledbf Apr 8, 2018
a6fe800
lua-resty-waf controller (#2304)
ElvinEfendi Apr 8, 2018
16faf30
annotation to ignore given list of WAF rulesets (#2314)
ElvinEfendi Apr 9, 2018
bad8295
extra waf rules per ingress (#2315)
ElvinEfendi Apr 9, 2018
d6eb443
run lua-resty-waf in different modes (#2317)
ElvinEfendi Apr 9, 2018
aced54c
Add ingress-nginx survey (#2319)
aledbf Apr 9, 2018
4c2b364
Fix survey link (#2321)
aledbf Apr 9, 2018
22a2e9b
Update nginx to 1.13.12 (#2327)
aledbf Apr 10, 2018
156bc7a
Update nginx image (#2328)
aledbf Apr 10, 2018
17f6996
fix nil pointer when ssl with ca.crt (#2331)
oilbeater Apr 11, 2018
1be1f65
disable lua for arch s390x and ppc64le
oilbeater Apr 11, 2018
353c631
Merge pull request #2333 from oilbeater/fix/disable-lua
k8s-ci-robot Apr 12, 2018
4b76ad1
Fix buildupstream name to work with dynamic session affinity
Apr 12, 2018
9198e2c
fix make verify-all failures
Apr 12, 2018
6ed256d
Add session affinity to custom load balancing
Apr 12, 2018
4b11fe4
Fix nginx template
Apr 12, 2018
cd4ddb7
Merge pull request #2340 from Shopify/sticky-upstream-name
k8s-ci-robot Apr 12, 2018
32ea682
Fixed tests
Apr 12, 2018
8855460
Merge pull request #2341 from Shopify/custom-sticky
k8s-ci-robot Apr 13, 2018
fec3ddc
Sync secrets (SSL certificates) on events
antoineco Apr 12, 2018
c786f55
Include missing secrets in secretIngressMap
antoineco Apr 13, 2018
0a56365
Add test for channel events with referenced secret
antoineco Apr 13, 2018
3fba5c0
Merge pull request #2342 from antoineco/object-ref-map
k8s-ci-robot Apr 13, 2018
361e53f
Merge pull request #2344 from aledbf/xss-base-tag
k8s-ci-robot Apr 13, 2018
73d6c26
Release nginx ingress controller 0.13.0
aledbf Apr 13, 2018
25d1988
aledbf Apr 13, 2018
690e868
Merge pull request #2347 from aledbf/update-owners
k8s-ci-robot Apr 13, 2018
6a223d4
Use same convention, curl + kubectl for GKE
FGRibreau Apr 14, 2018
3426789
Merge pull request #2348 from FGRibreau/patch-1
k8s-ci-robot Apr 14, 2018
e519edc
Correct some returned messages in server_tokens.go
AdamDang Apr 15, 2018
bf9edcc
Typo fix in cli-arguments.md
AdamDang Apr 15, 2018
d2d7d67
Correct some info in flags.go
AdamDang Apr 15, 2018
c859d32
Merge pull request #2352 from AdamDang/patch-5
k8s-ci-robot Apr 15, 2018
aea18af
Merge pull request #2351 from AdamDang/patch-4
k8s-ci-robot Apr 15, 2018
986e87e
Merge pull request #2350 from AdamDang/patch-2
k8s-ci-robot Apr 16, 2018
1c17962
Add proxy-add-original-uri-header config flag
Apr 16, 2018
564ec88
Merge pull request #2353 from bashofmann/master
k8s-ci-robot Apr 16, 2018
4bc943a
Merge pull request #2345 from aledbf/release-0.13
k8s-ci-robot Apr 16, 2018
c966bb8
aledbf Apr 17, 2018
c60ed24
Detect if header injected request_id before creating one
gianrubio Apr 17, 2018
bde3394
fix: fill missing patch yaml config.
oilbeater Apr 17, 2018
fe67ef9
Merge pull request #2366 from oilbeater/fix/path-yaml
k8s-ci-robot Apr 17, 2018
085263f
Merge pull request #2363 from gianrubio/review-request_id
k8s-ci-robot Apr 17, 2018
8886b8a
Add vts-sum-key config flag
nicknovitski Apr 17, 2018
19337f0
Introduce ConfigMap updating helpers into e2e/framework and retain de…
Apr 10, 2018
c37ed7e
Merge pull request #2356 from nicknovitski/vts-sum-key
k8s-ci-robot Apr 17, 2018
86b0c8e
aledbf Apr 17, 2018
444914b
Move the resetting logic into framework
Apr 16, 2018
882a99c
Fix leaky test
Apr 18, 2018
4237f29
fix the default cookie name in doc
rajatjindal Apr 18, 2018
54874d4
Merge pull request #2346 from Shopify/e2e-config-update-refactor
k8s-ci-robot Apr 18, 2018
396a19b
Merge pull request #2372 from rajatjindal/affinity-doc-fix
k8s-ci-robot Apr 18, 2018
54f1568
DOCS: Add clarification regarding ssl passthrough
Apr 19, 2018
8e57a47
Merge pull request #2377 from r7vme/sslpassthru
k8s-ci-robot Apr 19, 2018
c3ff76a
Merge pull request #2369 from aledbf/update-nginx
k8s-ci-robot Apr 19, 2018
62a80a3
Remove most of the time.Sleep from the e2e tests
aledbf Apr 18, 2018
0e8ac30
Accept ns/name Secret reference in annotations
antoineco Apr 19, 2018
9211f3b
Document changes to annotations with Secret reference
antoineco Apr 19, 2018
3c78f48
Merge pull request #2382 from antoineco/tokenize-ann-secret
k8s-ci-robot Apr 19, 2018
10fc254
Merge pull request #2374 from aledbf/improve-tests
k8s-ci-robot Apr 20, 2018
42e0c0a
Improve speed of e2e tests
aledbf Apr 20, 2018
13aa49c
Merge pull request #2383 from aledbf/improve-e2e-speed
k8s-ci-robot Apr 20, 2018
5bc8d4f
include lua-resty-balancer in nginx image
ElvinEfendi Apr 18, 2018
a98cb5d
Merge pull request #2385 from ElvinEfendi/add-lua-resty-balancer
k8s-ci-robot Apr 20, 2018
55facfa
Silence unnecessary MissingAnnotations errors
antoineco Apr 20, 2018
c7b2d73
Merge pull request #2388 from antoineco/silence-missingannotation
k8s-ci-robot Apr 20, 2018
7625c05
Merge pull request #2361 from aledbf/check-path
k8s-ci-robot Apr 20, 2018
e035ea8
Ensure dep fix fsnotify
aledbf Apr 20, 2018
8d4ff1f
Update nginx image
aledbf Apr 20, 2018
b2084c0
fix flaky dynamic configuration test
ElvinEfendi Apr 21, 2018
84385a0
shave off some more seconds
ElvinEfendi Apr 21, 2018
0837e81
cleanup redundant code
ElvinEfendi Apr 21, 2018
b8ab2b4
Merge pull request #2392 from aledbf/fix-fsnotify
k8s-ci-robot Apr 21, 2018
f1be6d0
Merge pull request #2395 from ElvinEfendi/fix-flaky-test
k8s-ci-robot Apr 21, 2018
293223e
Merge pull request #2370 from aledbf/update-nginx-image
k8s-ci-robot Apr 21, 2018
b7a799b
Update go dependencies
aledbf Apr 21, 2018
8179dfe
Merge pull request #2396 from aledbf/update-deps
k8s-ci-robot Apr 21, 2018
04ed2d9
Allow tls section without hosts in Ingress rule
aledbf Apr 21, 2018
c593236
Add test for store helper ListIngresses
aledbf Apr 21, 2018
27fcee4
Merge pull request #2398 from aledbf/empty-tls
k8s-ci-robot Apr 22, 2018
18a6a30
Merge pull request #2399 from aledbf/add-tests
k8s-ci-robot Apr 22, 2018
777c637
Add tests for controller getEndpoints
aledbf Apr 22, 2018
62895ff
Merge pull request #2401 from aledbf/test-endpoints
k8s-ci-robot Apr 22, 2018
4f98655
Add busted unit testing framework for lua code
Apr 23, 2018
b9e1961
Merge pull request #2379 from Shopify/lua-unit-test
k8s-ci-robot Apr 23, 2018
a41ffb8
Add deployment instructions for Docker for Mac (Edge)
cjlarose Apr 23, 2018
916ccf3
Update nginx-opentracing to 0.3.0
SEJeff Apr 23, 2018
d424eed
aledbf Apr 24, 2018
97d7119
Merge pull request #2414 from aledbf/fix-golint
k8s-ci-robot Apr 24, 2018
0d0d33a
add balancer unit tests
Apr 24, 2018
bb1d661
Merge pull request #2411 from SEJeff/update-opentracing-lib
k8s-ci-robot Apr 24, 2018
d3d383d
Endpoint Awareness: Read backends data from tmp file as well
Apr 5, 2018
3fb5ea1
aledbf Apr 24, 2018
c0cc3e5
Merge pull request #2416 from aledbf/update-nginx
k8s-ci-robot Apr 24, 2018
58f5eb4
automate dev environment build
Apr 24, 2018
57c10f9
Merge pull request #2417 from Shopify/dev-up
k8s-ci-robot Apr 24, 2018
3615583
Merge pull request #2410 from Shopify/balancer-tests
k8s-ci-robot Apr 24, 2018
9533aa4
Merge pull request #2408 from Shopify/updated-buffered-backends
k8s-ci-robot Apr 24, 2018
1ed2564
Remove unnecessary externalTrafficPolicy on Docker for Mac service
cjlarose Apr 24, 2018
0b17e31
Merge pull request #2409 from cjlarose/add-deploy-instructions-for-do…
k8s-ci-robot Apr 25, 2018
9bf5535
aledbf Apr 25, 2018
959d7b1
Merge pull request #2421 from aledbf/lint
k8s-ci-robot Apr 26, 2018
0aa9d2e
Move all documentation under docs/
akx Apr 24, 2018
d1479a2
Move miscellaneous tidbits from README to miscellaneous.md and other …
akx Apr 24, 2018
4b80166
Fix some document titles
akx Apr 24, 2018
dc18dff
Move deployment documentation under docs/deploy/
akx Apr 24, 2018
3431425
Remove empty ingress-annotations document; fix up annotations.md's la…
akx Apr 24, 2018
13ace4a
Configure mkdocs with mkdocs-material and friends
akx Apr 24, 2018
17745a9
Move "Customizing NGINX" documentation under "NGINX Configuration"
akx Apr 24, 2018
1196b48
Regenerate cli-arguments.md from the actual usage of 0.13
akx Apr 24, 2018
e677ea2
Remove default-ssl-certificate.md (the content is already in tls.md)
akx Apr 24, 2018
8aa9db8
Move documents related to third-party extensions under third-party-ad…
akx Apr 24, 2018
bad526b
Merge pull request #2413 from valohai/docstuff
k8s-ci-robot Apr 26, 2018
8b6f043
Add buffer configuration to external auth location config
Eddman Apr 26, 2018
89af4d6
make code-generator
Eddman Apr 26, 2018
c6728aa
Clean JSON before post request to update configuration
aledbf Apr 24, 2018
0a58b1f
Merge pull request #2365 from aledbf/clean-json
k8s-ci-robot Apr 26, 2018
adffe74
Merge pull request #2428 from Eddman/auth_proxy_buffer
k8s-ci-robot Apr 26, 2018
212f8bf
Add scripts and tasks to publish docs to github pages
aledbf Apr 26, 2018
9a20fe9
Merge pull request #2430 from aledbf/publish-docs
k8s-ci-robot Apr 26, 2018
357d794
Improve readme file
frandbf Apr 26, 2018
e35a7d2
Merge pull request #2431 from frandbf/docs
k8s-ci-robot Apr 27, 2018
4ddedd4
Fix broken links in the docs
aledbf Apr 27, 2018
a92bf82
aledbf Apr 27, 2018
c719e2a
aledbf Apr 27, 2018
108dfbf
Merge pull request #2434 from aledbf/check-ginkgo
k8s-ci-robot Apr 27, 2018
1086ec6
Merge pull request #2433 from aledbf/tests-race
k8s-ci-robot Apr 27, 2018
e5ed216
Update exposing-tcp-udp-services.md
mustafaakin Apr 27, 2018
016e647
Merge pull request #2432 from aledbf/fix-links
k8s-ci-robot Apr 27, 2018
22f7832
Merge pull request #2436 from mustafaakin/patch-1
k8s-ci-robot Apr 27, 2018
ce9d42b
Update custom-errors.md
SamFleming Apr 27, 2018
14105b8
Update README.md
SamFleming Apr 27, 2018
c995031
Add annotation to enable rewrite logs in a location
JordanP Apr 27, 2018
807f43f
Merge pull request #2438 from SamFleming/patch-1
k8s-ci-robot Apr 27, 2018
777b935
Merge pull request #2439 from SamFleming/patch-2
k8s-ci-robot Apr 27, 2018
0813b38
Merge pull request #2437 from JordanP/rewrite_log
k8s-ci-robot Apr 27, 2018
2ce9196
upstream-hash-by annotation support for dynamic configuraton mode
ElvinEfendi Apr 20, 2018
e907dbf
luacheck ignore subfolders too
ElvinEfendi Apr 27, 2018
82ca7e2
Merge pull request #2386 from ElvinEfendi/chash-lua
k8s-ci-robot Apr 27, 2018
acaf3d8
aledbf Apr 27, 2018
734361d
Merge pull request #2442 from aledbf/release-0.14.0
k8s-ci-robot Apr 27, 2018
7c246ec
Use local image name for e2e tests
antoineco Apr 27, 2018
c93f39f
Bump echoserver version used in e2e test (1.10)
antoineco Apr 27, 2018
553df8a
Refactor e2e framework for TLS tests
antoineco Apr 27, 2018
ca423e1
Add tests for global TLS settings
antoineco Apr 27, 2018
69fce01
Merge pull request #2440 from antoineco/tls-tests
k8s-ci-robot Apr 27, 2018
73dec94
improve build-dev-env.sh script
ElvinEfendi Apr 28, 2018
51cf184
always use x-request-id
ElvinEfendi Apr 28, 2018
cbb0f96
Add basic security context to deployment YAMLs
praseodym Apr 28, 2018
b090d4b
Update GitHub pull request template
praseodym Apr 28, 2018
2f6f9a2
Improve documentation format
frandbf Apr 29, 2018
451c695
Merge pull request #2443 from ElvinEfendi/improve-dev-en
k8s-ci-robot Apr 29, 2018
71e6a4e
Merge pull request #2448 from praseodym/update-pr-template
k8s-ci-robot Apr 29, 2018
29d8a18
Merge pull request #2446 from ElvinEfendi/always-set-request-id
k8s-ci-robot Apr 29, 2018
6dfbed7
Merge pull request #2449 from frandbf/docsstyle
k8s-ci-robot Apr 29, 2018
54957aa
Merge pull request #2447 from praseodym/add-security-context-yaml
k8s-ci-robot Apr 30, 2018
475e926
Add google analytics [ci skip]
aledbf Apr 30, 2018
237ad1f
Merge pull request #2453 from aledbf/analytics
k8s-ci-robot Apr 30, 2018
d97bf06
aledbf Apr 30, 2018
1341a9c
Adjust size of tables and only adjust the first column on mobile
frandbf Apr 30, 2018
ef89692
Assert or install go-bindata before incanting
Apr 30, 2018
ae62d9f
Merge pull request #2455 from frandbf/docsstyle
k8s-ci-robot Apr 30, 2018
278c055
Merge pull request #2456 from Shopify/bindata-fix
k8s-ci-robot May 1, 2018
07bbcae
Add Getting the Code section to Quick Start
May 1, 2018
3630084
Merge pull request #2457 from Shopify/update-quick-start
k8s-ci-robot May 1, 2018
52e7302
Merge pull request #2454 from aledbf/grpc-doc
k8s-ci-robot May 2, 2018
451a01b
TLS.md: Move the TLS secret misc bit to the TLS document
akx May 2, 2018
f65c8f0
TLS.md: Clarify how to set --default-ssl-certificate
akx May 2, 2018
aca5097
TLS.md: Remove the frankly useless curl output in the default certifi…
akx May 2, 2018
ec56200
TLS.md: Reformat and grammar check
akx May 2, 2018
ed48199
TLS.md: Remove useless manual TOC
akx May 2, 2018
572aac4
multiple-ingress.md: rework page for clarity and less repetition
akx May 2, 2018
f1f3785
Add upgrade documentation
akx May 3, 2018
b66efdd
Reformat log-format.md
akx May 3, 2018
4b85ef9
Add note about changing annotation prefixes
akx May 3, 2018
f1e5c9b
Clean up annotations.md; extract default backend from miscellaneous
akx May 3, 2018
a59b811
Index all examples and fix their titles
akx May 3, 2018
87d1b8b
Merge pull request #2464 from valohai/doc-fixes
k8s-ci-robot May 3, 2018
e98e3f3
Example of using nginx-ingress with gRPC
pcj Apr 6, 2018
326a274
Exclude grpc-fortune-teller from go list
pcj May 4, 2018
3435d8b
Fixed broken link in deploy README
Girbons May 4, 2018
e6cb9fb
Merge pull request #2467 from Girbons/fixed-broken-link
k8s-ci-robot May 4, 2018
cfc7cbc
Change TrimLeft for TrimPrefix on the from-to-www redirect
snelis May 7, 2018
a30b96b
Merge pull request #2477 from snelis/master
k8s-ci-robot May 8, 2018
c80365d
Merge pull request #2307 from pcj/grpc-example
k8s-ci-robot May 10, 2018
6cb28e0
use roundrobin from lua-resty-balancer library and refactor balancer.lua
ElvinEfendi May 4, 2018
992a68d
upstream-hash-by should override load-balance annotation
ElvinEfendi May 10, 2018
c01d537
Merge pull request #2472 from ElvinEfendi/refactor-round-robin
k8s-ci-robot May 10, 2018
86b0846
add resty cookie
ElvinEfendi May 10, 2018
e82cb31
Merge pull request #2490 from Shopify/add-resty-cookie
k8s-ci-robot May 10, 2018
b4b0bbe
[ci skip] bump nginx baseimage version
ElvinEfendi May 11, 2018
01eff79
Merge pull request #2495 from Shopify/bump-baseimage
k8s-ci-robot May 11, 2018
17e5b35
Add some clarification around multiple ingress controller behavior
mtougeron May 11, 2018
108be3b
Merge pull request #2498 from mtougeron/clarify-multiple-ingress-docs
k8s-ci-robot May 12, 2018
c210f80
aledbf May 13, 2018
5505174
aledbf May 13, 2018
c8fec06
Merge pull request #2502 from aledbf/update-go
k8s-ci-robot May 13, 2018
17307c3
Add KubeCon Europe 2018 Video to documentation
May 13, 2018
d234dd4
Merge pull request #2501 from aledbf/refactor-status
k8s-ci-robot May 14, 2018
6aeb7ce
Merge pull request #2503 from diazjf/add-video
k8s-ci-robot May 14, 2018
44ddd8a
force backend sync when worker starts
ElvinEfendi May 14, 2018
7983a2b
Merge pull request #2511 from Shopify/bug-fix
k8s-ci-robot May 14, 2018
b57a7cf
aledbf May 15, 2018
d4f2b5d
Fix and simplify local dev workflow and execution of e2e tests
aledbf May 15, 2018
71158e0
Merge pull request #2514 from aledbf/simplify-workflow
k8s-ci-robot May 15, 2018
b674973
Merge pull request #2512 from aledbf/custom-error
k8s-ci-robot May 15, 2018
c07cb23
aledbf May 16, 2018
df61bd7
Merge pull request #2516 from aledbf/release-0.15.0
k8s-ci-robot May 16, 2018
ed2dd11
Merge tag 'nginx-0.15.0' into upstream-0.15.0-take3
Jun 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage:
status:
project:
default:
target: 40%
threshold: null
patch: false
changes: false
5 changes: 2 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/devel/pull-requests.md#the-pr-submit-process and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide
2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/devel/pull-requests.md#best-practices-for-faster-reviews
3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/devel/pull-requests.md#write-release-notes-if-needed
1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/guide/pull-requests.md#the-pull-request-submit-process and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide
2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
-->

**What this PR does / why we need it**:
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,12 @@ Session.vim
/gover.coverprofile

e2e-tests

coverage.txt
test/e2e/e2e\.test

# mkdocs
site

# temporal github pages
gh-pages
3 changes: 3 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
std = 'ngx_lua'
globals = {'_'}
exclude_files = {'./rootfs/etc/nginx/lua/test/**/*.lua'}
55 changes: 37 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,69 +7,88 @@ services:

language: go

addons:
apt:
packages:
- luarocks

notifications:
email:
on_failure: always
on_success: never

go:
- 1.9.3
- 1.10.1

go_import_path: k8s.io/ingress-nginx

# New secure variables can be added using travis encrypt -r kubernetes/ingress-nginx --add K=V
# New secure variables can be added using travis encrypt -r kubernetes/ingress-nginx --add K=V
env:
global:
- CHANGE_MINIKUBE_NONE_USER=true
- KUBERNETES_VERSION=v1.8.0
- KUBERNETES_VERSION=v1.9.4
- DOCKER=docker
- TRAVIS_TIMEOUT=240
- BUSTED_VERSION=2.0.rc12
- GH_REF=github.jparrows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G7MdtxIpiC1mi9rUFAkMDDlNjKumHO82O/a/X4RYKjXny7eixeHl5lgQ++IV9APwvWfsCiREFhiQFspfL+j0d9sZ5I4pfyPC671984We1T4G+ltuMcN3nQdPm3mP4xPT3h0IBQ9iAHonKck0TdLieNZ47vPPB8C8oxbx5NpdW8aSfQJGo3bFGiXNxWWFZ4P7BsMBDrBZaXuh0rAml/0nCJBGohgSqC8h/UObBOHeehEWnF1zzfQPRezHwVkUaMf2+xQtLGhB5rPjFhBKX0C/JZeqDgHEQ0auC2bLbfG5QCYQauy7jCq5kc6XPT7xFxCUd/sS7Wu2gg6KcgFeTE+Rnn4KWFZx2jMP2EPQYP2+LrM/VbfY1HW4QkpIkPVSFBatciuePUnIkEX6+jVM+GEZOhOOEqZ89zwjsGpa2GkFAJrwX/dphXXtn6oS20mLbu1kqocWTbGUJl/fYztTxCdOt/NoH/hiQMxy+TOGFF3Dx85MJiMUOlgk/NbPqUwBn5RbuD71L69vFZZLpU09V4PuablWW8ACQxgp8BMeqLhaLRn/I3r0ntRc8AdQ1xubPlrVWO9DDbhGfj44YPNoLUAC/7QHkRyCbP98Yv2FTXrJFcx9isA2viFx2UxzTsvXcAKHbCSAw=

jobs:
include:
- stage: Static Check
script:
- go get github.com/golang/lint/golint
- sudo luarocks install luacheck
- make luacheck
- mkdir --parents $GOPATH/src/golang.org/x
&& git clone --depth=1 https://go.googlesource.com/lint $GOPATH/src/golang.org/x/lint
&& go get golang.org/x/lint/golint
- go get github.com/vbatts/git-validation
- go get -u github.com/jteeuwen/go-bindata/...
- make verify-all
- stage: Lua Unit Test
before_script:
- rootfs/etc/nginx/lua/test/up.sh
script:
- make lua-test
- stage: Coverage
before_script:
# start minikube
# start minikube
- test/e2e/up.sh
script:
- go get github.com/mattn/goveralls
- go get github.com/modocache/gover
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover;fi
- if ! go get github.com/jteeuwen/go-bindata/...; then github.com/jteeuwen/go-bindata/...;fi
- go get github.com/jteeuwen/go-bindata/...
- make cover
- stage: e2e
before_script:
- if ! go get github.com/jteeuwen/go-bindata/...; then github.com/jteeuwen/go-bindata/...;fi
- make e2e-image
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/onsi/ginkgo/ginkgo
- test/e2e/up.sh
- test/e2e/wait-for-nginx.sh
- make dev-env
script:
- make e2e-test
# split builds to avoid job timeouts
- stage: publish amd64
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
script:
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh amd64
- .travis/publish.sh amd64
- stage: publish arm
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
script:
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh arm
- .travis/publish.sh arm
- stage: publish arm64
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
script:
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh arm64
- .travis/publish.sh arm64
- stage: publish ppc64le
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
script:
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh ppc64le
- .travis/publish.sh ppc64le
- stage: publish s390x
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
script:
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh s390x
- .travis/publish.sh s390x
- stage: Publish docs
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
script:
- .travis/publish-docs.sh
42 changes: 42 additions & 0 deletions .travis/publish-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/usr/bin/env bash

# Copyright 2018 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

if ! [ -z $DEBUG ]; then
set -x
fi

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ "$COMPONENT" != "docs" ]; then
echo "This task runs only to publish docs"
exit 0
fi

make -C ${DIR}/.. build-docs

git config --global user.email "[email protected]"
git config --global user.name "Travis Bot"

git clone --branch=gh-pages --depth=1 https://${GH_REF} ${DIR}/gh-pages
cd ${DIR}/gh-pages

git rm -r .

cp -r ${DIR}/../site/* .

git add .
git commit -m "Deploy GitHub Pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" gh-pages > /dev/null 2>&1
10 changes: 5 additions & 5 deletions .travis/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

if [ "$COMPONENT" == "docs" ]; then
echo "Skipping because we are publishing docs"
exit 0
fi

if [ $# -eq "1" ]
then
export ARCH=$1
Expand All @@ -26,11 +31,6 @@ source $DIR/common.sh
echo "Login to quay.io..."
docker login --username=$QUAY_USERNAME --password=$QUAY_PASSWORD quay.io >/dev/null 2>&1

if [ $# -eq "1" ]
then
export ARCH=$1
fi

case "$COMPONENT" in
"ingress-controller")
$DIR/ingress-controller.sh
Expand Down
2 changes: 1 addition & 1 deletion .travis/release-from-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ EOF
}

case "$1" in
ingress-controller|nginx)
ingress-controller|nginx|docs)
publish $TRAVIS_CI_TOKEN $1
;;
*)
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing Guidelines

Read the following guide if you're interested in contributing to Ingress.
Read the following guide if you're interested in contributing to Ingress. [Make Ingress-Nginx Work for you, and the Community](https://youtu.be/GDm-7BlmPPg) from KubeCon Europe 2018 is a great video to get you started!!

## Contributor License Agreements

Expand Down
Loading