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

Mjz 28x #11460

Closed
wants to merge 105 commits into from
Closed

Mjz 28x #11460

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
8c374ed
fix(aws-lambda) proxy correctly with lua-resty-http (#8406)
flrgh Feb 16, 2022
5da00c5
chore(rate-limiting) bump plugin version
aboudreault Feb 22, 2022
d639634
chore(response-ratelimiting) bump plugin version
aboudreault Feb 22, 2022
cd0042a
Merge pull request #8443 from Kong/chore/bump-plugin-version
aboudreault Feb 23, 2022
1467502
docs(changelog) add deprecation of go-pluginserver
gszr Feb 23, 2022
7ca0886
docs(autodoc) Update Admin API note (#8405)
Feb 16, 2022
d61a0c9
docs(autodoc) Update Admin API Target Object (#8413)
Feb 16, 2022
8c29a24
fix(go-pdk) request.GetRawBody when buffered (#8390)
javierguerragiraldez Feb 16, 2022
75e569a
fix(pdk) missing vault was not handled correctly and could lead to ru…
bungle Feb 15, 2022
970b398
fix(pdk) change detection of process/config secrets
bungle Feb 15, 2022
d141821
fix(db) when auto-dereferencing fails set value to nil
bungle Feb 16, 2022
5bbc8ff
fix(pdk) vault process configs loading with strategy that has "-" in …
bungle Feb 16, 2022
601cb75
fix(pdk) env vault to replace "-" in resource with "_"
bungle Feb 16, 2022
cd9dbb1
chore(deps) bump pgmoon from 1.13.0 to 1.14.0 (#8429)
bungle Feb 18, 2022
1887461
fix(declarative) initialize hash for empty config (#8425)
locao Feb 18, 2022
79adae5
fix(pdk) fill default values with vault config required fields (#8427)
bungle Feb 21, 2022
309671c
fix(cors) don't send vary header with * origin (#8401)
jkla-dr Feb 21, 2022
5717254
docs(changelog) add missing fix in the changelog. Related #8401
kikito Feb 21, 2022
9e990da
fix(oauth2) clear authenticated oauth2 headers with multi-auth
bungle Feb 16, 2022
734de31
fix(datadog) default value for metrics specified twice (#8315)
bungle Feb 21, 2022
9cf8144
chore(deprecation) add deprecation warning
gszr Feb 21, 2022
698e7e6
docs(admin) add docs for vault_beta entity (#8441)
bungle Feb 23, 2022
ea9c4da
feat(prometheus) add nginx timer metrics (#8387)
limkevinkuan Feb 23, 2022
491181e
chore(plugins) bump some plugin versions due to changes (#8457)
kikito Feb 24, 2022
40f1c1d
docs(changelog) include commits for 2.8.0 release (#8453)
kikito Feb 24, 2022
d6af4f9
hotfix(schema) fix dereferencing array and set values
bungle Feb 24, 2022
64cf416
Revert "chore(deps) bump pgmoon from 1.13.0 to 1.14.0 (#8429)"
kikito Feb 28, 2022
56de67a
docs(changelog) remove pgmoon bump from 2.8
kikito Feb 28, 2022
4e83553
docs(COPYRIGHT) update copyright for 2.8.0
kikito Mar 1, 2022
6cc376d
docs(kong-admin-api.yml) update Admin API definition for 2.8.0
kikito Mar 1, 2022
064f00d
docs(upgrade.md) add upgrade instructions for 2.8.0
kikito Mar 1, 2022
40db597
release: 2.8.0
kikito Mar 1, 2022
7ea02bc
chore(scripts) include jenkins steps
kikito Mar 1, 2022
77daaa6
2.8.0 has been released
chronolaw Mar 2, 2022
e2565d8
chore(rockspec) bump lua-resty-healthcheck 1.5.1
locao Mar 23, 2022
88b78da
chore(CHANGELOG) unreleased section and healthcheck bump
locao Mar 23, 2022
1575371
fix(runloop) reschedule rebuild timers after running them
locao Mar 22, 2022
59fd1d2
chore(CHANGELOG) timer rescheduling fix changelog entry
locao Apr 4, 2022
9334a59
chore(requirements) bump OpenSSL to 1.1.1n
locao Apr 4, 2022
c1c8018
docs(CHANGELOG) dependencies section updated
locao Apr 4, 2022
c4cb763
Merge pull request #8634 from Kong/fix/runloop_timer_rescheduling_28x
tyler-ball Apr 4, 2022
991e6e4
Merge pull request #8635 from Kong/chore/bump_openssl_111n_28x
tyler-ball Apr 5, 2022
7b4ecbc
perf(clustering) conditional rebuilding of router, plugins iterator a…
bungle Mar 23, 2022
dc59bf2
Merge pull request #8639 from Kong/perf/dp-hashes
aboudreault Apr 5, 2022
f9d5b99
fix(env) localize environ pointer
fffonion Apr 5, 2022
8a1dc05
chore(deps) bump resty.openssl from 0.8.6 to 0.8.7
bungle Mar 24, 2022
2e48b05
docs(changelog) add 2.8.1 changes
tyler-ball Apr 6, 2022
0855e00
docs(kong-admin-api.yml) update Admin API definition for 2.8.1
tyler-ball Apr 6, 2022
bca5b02
docs(api) document header regex in autodocs admin api (#8572)
kikito Mar 29, 2022
05b7a4a
release: 2.8.1
tyler-ball Apr 6, 2022
c2b80cd
chore(scripts) add missing update_docker function
kikito Apr 8, 2022
9dcf9f6
Merge pull request #8658 from Kong/chore/scripts-update-docker-missin…
tyler-ball Apr 8, 2022
d6a8d04
chore(rockspec) replace git protocol by https (#8672)
kikito Apr 13, 2022
47de055
chore(deps) bump openssl from 1.1.1n to 1.1.1o (#8752)
bungle May 4, 2022
b214512
Merge pull request #8809 from Kong/chore/bump-openssl-1.1.1o
tyler-ball May 17, 2022
fd4a159
fix(core) support route migration (#9376)
StarlightIbuki Sep 21, 2022
daa5af1
perf(router): dynamic router lru cache size based on number of routes
ADD-SP Sep 30, 2022
cc26f3a
fix(balancer) start only needed upstream update timers
locao Apr 18, 2022
24a1084
fix(upstreams) mark the update timer as scheduled
locao May 25, 2022
9a22da1
fix(admin): increase max uri and post arguments to 1000 (#9530)
vm-001 Oct 12, 2022
3f67662
fix(url): adjust the pulp admin api links (#9555)
hutchic Oct 14, 2022
a1b1497
fix(aws): backport usage of IP access key
curiositycasualty Oct 14, 2022
ed2119d
fix(kbt): use backport of AWS ENVs
curiositycasualty Oct 14, 2022
87cc5b9
fix(jenkins): backport release/* condition
curiositycasualty Oct 14, 2022
0ea9ca1
fix(jenkins): proper aws access (literal)
curiositycasualty Oct 14, 2022
220c9d9
fix(relese): group releases by package type and drop some EOL
hutchic Oct 18, 2022
a1210cf
fix(rhel): use the redhat major number only
hutchic Oct 18, 2022
3526464
fix(release): ubuntu arm64 build can't hit cache
hutchic Oct 18, 2022
651d4fe
fix(release): drop ubuntu 16.04
hutchic Oct 19, 2022
a3503a6
chore(release): update release scripts
VicYP Oct 20, 2022
581be44
release: 2.8.2
VicYP Oct 20, 2022
acac795
fix(request-transformer): preserves empty json arrays after decoding …
catbro666 Oct 20, 2022
534398a
fix(http-log) internal error during validating the schema if `http_en…
catbro666 Oct 20, 2022
ea77750
chore(release): remove a leftover old release script
Oct 20, 2022
3869ddc
docs(changelog): add 2.8.3 changes
hutchic Nov 2, 2022
e636d7c
release: 2.8.3
hutchic Nov 2, 2022
98eb6fb
chore(ci): build a test package on PR's to release branches
hutchic Nov 2, 2022
567e61f
Revert "chore(ci): build a test package on PR's to release branches"
hutchic Nov 2, 2022
6678daf
docs(README.md): adjust the 2.8.3 readme
hutchic Nov 2, 2022
8e12c0a
Release: 2.8.3 (#9665)
hutchic Nov 2, 2022
8dd879b
Merge branch 'release/2.8.3' into release/2.8.x
hutchic Nov 2, 2022
9d4faf5
chore(rockspec): bump lua-resty-healthcheck to 1.5.3 (#9756)
locao Nov 14, 2022
2219403
chore(deps): bump the kong-build-tools version (#9816) (#9820)
hutchic Nov 23, 2022
161f2d8
chore(ci): migrate some CI from Jenkins to github actions (#9795) (#9…
hutchic Nov 24, 2022
f0c2ff9
fix(ci): make sure docker tag is valid (#9829) (#9830)
mashapedeployment Nov 29, 2022
386c967
chore(ci): arm builds refs: #ENGEN-715 (#9168) (#9840)
hutchic Nov 29, 2022
6a5bd69
fix(ci): auth (#9883) (#9884)
mashapedeployment Dec 5, 2022
dc816ea
fix(build): bump the KBT version to avoid the alpine arm cache poisoning
hutchic Dec 13, 2022
ed02a34
chore(ci): correctly pinning KONG_NGINX_MODULE (#10016)
mayocream Dec 28, 2022
20aa4ef
refactor(handler): trying to make reconfigure more atomic (#9993)
catbro666 Jan 4, 2023
4f30dd3
fix(*): prevent queues from growing without bounds (#10046) (#10058)
hanshuebner Jan 4, 2023
a593bb8
docs(*): document new max_queued_batches parameter (#10071)
hanshuebner Jan 5, 2023
a95d1e8
Revert "docs(*): document new max_queued_batches parameter (#10071)"
Jan 16, 2023
b81a511
Revert "fix(*): prevent queues from growing without bounds (#10046) (…
Jan 16, 2023
1a869fc
fix(*): prevent queues from growing without bounds (#10046) (#10254)
hanshuebner Feb 8, 2023
5ef05e1
fix(runloop) do not reset `*:version` to `init` when worker respawns,
dndx Sep 7, 2022
c759ab4
fix(*): do not use stale router data if workers are respawned
bungle Sep 29, 2022
8d18cca
tests(router): add worker_consistency=eventual to test case
samugi Oct 3, 2022
c3fbd61
tests(helpers): pickup reload helper from #8670
ms2008 Jan 18, 2023
3de01ef
chore(deps) bump pgmoon from 1.13.0 to 1.16.0 (#10563)
catbro666 Mar 28, 2023
5e3a638
chore: auto-assign PR author as assignee (#10639)
team-gateway-bot Apr 13, 2023
baf98df
tests(*): modify tests that need to access mockbin.com from integrati…
windmgc May 19, 2023
e59284c
tests(*): fix flaky hybrid mode ocsp tests (#10912)
ADD-SP May 22, 2023
453bce9
test(cmd): fix flaky `can receive USR1` test (#10903)
team-gateway-bot May 23, 2023
969ccb3
tests: re-enable and fix flaky tests in spec/02-integration/03-db/07-…
team-gateway-bot Aug 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .ci/setup_env_github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LUAROCKS=$(dep_version RESTY_LUAROCKS_VERSION)
OPENSSL=$(dep_version RESTY_OPENSSL_VERSION)
GO_PLUGINSERVER=$(dep_version KONG_GO_PLUGINSERVER_VERSION)
PCRE=$(dep_version RESTY_PCRE_VERSION)
KONG_NGINX_MODULE_BRANCH=$(dep_version KONG_NGINX_MODULE_BRANCH)


#---------
Expand All @@ -20,8 +21,6 @@ DOWNLOAD_ROOT=${DOWNLOAD_ROOT:=/download-root}
BUILD_TOOLS_DOWNLOAD=$GITHUB_WORKSPACE/kong-build-tools
GO_PLUGINSERVER_DOWNLOAD=$GITHUB_WORKSPACE/go-pluginserver

KONG_NGINX_MODULE_BRANCH=${KONG_NGINX_MODULE_BRANCH:=master}

#--------
# Install
#--------
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/auto-assignee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Add assignee to PRs
on:
pull_request:
types: [ opened, reopened ]
permissions:
pull-requests: write
jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@2daaeb2988aef24bf37e636fe733f365c046aba0

10 changes: 0 additions & 10 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ jobs:
- 6379:6379
options: --entrypoint redis-server

squid:
image: datadog/squid
ports:
- 3128:3128

zipkin:
image: openzipkin/zipkin:2.19
ports:
Expand Down Expand Up @@ -283,11 +278,6 @@ jobs:
- 6379:6379
options: --entrypoint redis-server

squid:
image: datadog/squid
ports:
- 3128:3128

zipkin:
image: openzipkin/zipkin:2.19
ports:
Expand Down
128 changes: 128 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name: Package & Smoke Test

on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- master
- next/*
- release/*

env:
DOCKER_REPOSITORY: kong/kong-build-tools

jobs:
package-and-test:
if: github.event_name == 'pull_request'
name: Build & Smoke Test Packages
runs-on: ubuntu-22.04

steps:
- name: Swap git with https
run: git config --global url."https://github".insteadOf git://github

- name: Setup some environment variables
run: |
echo "KONG_SOURCE_LOCATION=$GITHUB_WORKSPACE/kong-src" >> $GITHUB_ENV
echo "KONG_BUILD_TOOLS_LOCATION=$GITHUB_WORKSPACE/kong-build-tools" >> $GITHUB_ENV

- name: Checkout Kong source code
uses: actions/checkout@v3
with:
path: ${{ env.KONG_SOURCE_LOCATION }}
submodules: recursive
token: ${{ secrets.GHA_KONG_BOT_READ_TOKEN }}

- name: Setup kong-build-tools
run: |
pushd ${{ env.KONG_SOURCE_LOCATION }}
make setup-kong-build-tools

- name: Setup package naming environment variables
run: |
grep -v '^#' ${{ env.KONG_SOURCE_LOCATION}}/.requirements >> $GITHUB_ENV

- name: Package & Test
env:
GITHUB_TOKEN: ${{ secrets.GHA_KONG_BOT_READ_TOKEN }}
run: |
pushd ${{ env.KONG_SOURCE_LOCATION }}
make package/test/deb

package-test-and-unofficial-release:
if: github.event_name == 'push'
name: Build & Smoke & Unofficial Release Packages
runs-on: ubuntu-22.04
strategy:
matrix:
package_type: [deb, rpm, apk]

steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.GHA_DOCKERHUB_PUSH_USER }}
password: ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUSH_TOKEN }}

- name: Swap git with https
run: git config --global url."https://github".insteadOf git://github

- name: Setup directory environment variables
run: |
echo "KONG_SOURCE_LOCATION=$GITHUB_WORKSPACE/kong-src" >> $GITHUB_ENV
echo "KONG_BUILD_TOOLS_LOCATION=$GITHUB_WORKSPACE/kong-build-tools" >> $GITHUB_ENV

- name: Checkout Kong source code
uses: actions/checkout@v3
with:
path: ${{ env.KONG_SOURCE_LOCATION }}
submodules: recursive
token: ${{ secrets.GHA_KONG_BOT_READ_TOKEN }}

- name: Setup kong-build-tools
run: |
pushd ${{ env.KONG_SOURCE_LOCATION }}
make setup-kong-build-tools

- name: Setup package naming environment variables
run: |
grep -v '^#' ${{ env.KONG_SOURCE_LOCATION}}/.requirements >> $GITHUB_ENV
echo "DOCKER_RELEASE_REPOSITORY=kong/kong" >> $GITHUB_ENV
echo "KONG_TEST_CONTAINER_TAG=${GITHUB_REF_NAME##*/}-${{ matrix.package_type }}" >> $GITHUB_ENV
if [[ ${{matrix.package_type }} == "apk" ]]; then
echo "ADDITIONAL_TAG_LIST=${GITHUB_REF_NAME##*/}-alpine" >> $GITHUB_ENV
fi
if [[ ${{matrix.package_type }} == "deb" ]]; then
echo "ADDITIONAL_TAG_LIST=${GITHUB_REF_NAME##*/}-debian ${GITHUB_REF_NAME##*/} $GITHUB_SHA" >> $GITHUB_ENV
fi

- name: Package & Test
env:
GITHUB_TOKEN: ${{ secrets.GHA_KONG_BOT_READ_TOKEN }}
run: |
pushd ${{ env.KONG_SOURCE_LOCATION }}
make package/test/${{ matrix.package_type }}

- name: Push Docker Image
continue-on-error: true
env:
SKIP_TESTS: true
run: |
pushd ${{ env.KONG_SOURCE_LOCATION }}
make release/docker/${{ matrix.package_type }}

- name: Store the package artifacts
continue-on-error: true
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.package_type }}
path: ${{ env.KONG_BUILD_TOOLS_LOCATION }}/output/*

- name: Comment on commit
continue-on-error: true
uses: peter-evans/commit-comment@v2
with:
token: ${{ secrets.GHA_COMMENT_TOKEN }}
body: |
Docker image avaialble ${{ env.DOCKER_RELEASE_REPOSITORY }}:${{ env.KONG_TEST_CONTAINER_TAG }}
Artifacts availabe https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
6 changes: 3 additions & 3 deletions .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ KONG_LICENSE="ASL 2.0"

RESTY_VERSION=1.19.9.1
RESTY_LUAROCKS_VERSION=3.8.0
RESTY_OPENSSL_VERSION=1.1.1m
RESTY_OPENSSL_VERSION=1.1.1o
RESTY_PCRE_VERSION=8.45
LIBYAML_VERSION=0.2.5
KONG_GO_PLUGINSERVER_VERSION=v0.6.1
KONG_BUILD_TOOLS_VERSION=4.25.3
KONG_NGINX_MODULE_BRANCH=0.2.0
KONG_BUILD_TOOLS_VERSION=4.40.1
KONG_NGINX_MODULE_BRANCH=0.2.1
Loading
Loading