Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
5c5af8b
Download updated plugin schemas for v3.4.x
fabianrbz Jul 13, 2023
73ee3fa
Merge pull request #1 from fabianrbz/pull-latest-schemas
fabianrbz Jul 14, 2023
b838e8b
Drop consumer_group from rate-limiting-advanced example
fabianrbz Aug 1, 2023
523a066
Merge pull request #3 from fabianrbz/drop-consumer-group-from-example
fabianrbz Aug 1, 2023
e013ed7
WIP: Add some info and instructions
fabianrbz Jul 19, 2023
49e5f71
Update README.md
fabianrbz Jul 28, 2023
a2cadf1
Update README.md
fabianrbz Jul 28, 2023
fda3904
Address code review comments
fabianrbz Jul 28, 2023
d093c55
Add note indicating that the Enterprise Edition of the API needs to be
fabianrbz Jul 28, 2023
fe606f9
generate plugin schemas and referenceable fields for 3.4
lena-larionova Aug 8, 2023
010dfa5
generate examples for the post-function plugin
lena-larionova Aug 31, 2023
6d0c93e
Merge pull request #5 from lena-larionova/post-plugin-examples
lena-larionova Sep 5, 2023
eac5e0f
fix typo in exit transformer examples
lena-larionova Oct 6, 2023
66f6320
Update schemas after 3.4.1.x release
fabianrbz Oct 12, 2023
a2538f5
Merge pull request #8 from Kong/3.4.1-updates
Guaris Oct 12, 2023
df0261b
generate placeholder schemas and examples for 3.5
lena-larionova Oct 4, 2023
7a67e3d
fix exit transformer example
lena-larionova Oct 6, 2023
e7c3964
generate schemas off the latest nightly build to get entity checks
lena-larionova Oct 12, 2023
535b9dd
generate real schemas for 3.5
lena-larionova Oct 25, 2023
4a07474
fix 3.4 schemas
lena-larionova Oct 25, 2023
8c97c68
remove 3.5 fields from 3.4
lena-larionova Oct 25, 2023
ceee19e
Chore: Regenerate 3.5 schemas (#10)
lena-larionova Nov 6, 2023
1db591a
fix acl and otel schemas (#11)
lena-larionova Nov 6, 2023
07d6584
feat: new oidc parameter unauthorized_destroy_session in 2.8.x (#12)
lena-larionova Nov 28, 2023
5de41eb
Fix 3.4.x schemas
fabianrbz Jan 2, 2024
dff9dc2
Add renovate.json
renovate[bot] Jan 11, 2024
d6de5e6
WIP: 3.6.x schemas and examples (#13)
fabianrbz Jan 24, 2024
65fa4ff
Add command that generates the plugins' priorities
fabianrbz Jan 26, 2024
9fd4856
Change the way priorities are calculated
fabianrbz Jan 29, 2024
a38e604
Read priorities from EE or OSS source code
fabianrbz Jan 30, 2024
068695e
Generate priorities
fabianrbz Jan 30, 2024
6e8b5b6
Fix priorities
fabianrbz Jan 31, 2024
a94ed06
Use the API to retrieve the plugins' priorities
fabianrbz Jan 31, 2024
34aaaa7
Remove param
fabianrbz Feb 1, 2024
b44ced3
Remove konnect-application-auth plugin
fabianrbz Feb 1, 2024
95a1b68
Exclude konnect-application-auth from the priorities
fabianrbz Feb 1, 2024
4ea3faf
Update priorities
fabianrbz Feb 1, 2024
3b111d0
Update readme with a note about generating priorities for EE
fabianrbz Feb 1, 2024
9c58353
Order plugins first by priority, if they match sort them alphabetically
fabianrbz Feb 1, 2024
1b69abf
Chore: generate final 3.6 schemas (#20)
lena-larionova Feb 9, 2024
31d014e
Feat: Basic examples for AI plugins (#21)
lena-larionova Feb 13, 2024
2f4b0b4
placeholder schemas and examples for 3.7 (#22)
lena-larionova Feb 16, 2024
7a05c7e
generate priorities and ref fields (#23)
lena-larionova Feb 20, 2024
d3cf24b
generate schemas for 3.6.1 (#24)
lena-larionova Feb 26, 2024
a74910d
placeholder schemas and examples for new ai plugins (#25)
lena-larionova Apr 19, 2024
340f21c
Chore: Patch schema updates (#27)
lena-larionova Apr 19, 2024
63038c7
Add a github action that dispatches an event when `main` is updated
fabianrbz Apr 18, 2024
86a69c7
generate real 3.7 plugin schemas, referenceable fields, and priority …
lena-larionova May 3, 2024
9ba4225
Update dependency ruby to v3.3.1
renovate[bot] Apr 23, 2024
520e588
Merge pull request #28 from Kong/chore/generate-real-3.7-schemas
acgoldsmith May 13, 2024
70fe802
regenerate plugin priorities and schemas for 3.6.1.4 (#29)
lena-larionova May 15, 2024
3796815
generate schemas, referenceable fields, and priorities for 3.4.3.8 (#30)
lena-larionova May 16, 2024
24ec90c
generate schemas and priorities for 3.5.0.4 (#31)
lena-larionova May 20, 2024
ff1fe0f
Update dependency ruby to v3.3.2
renovate[bot] May 30, 2024
cf33cf0
Create 3.8.x examples from 3.7.x
fabianrbz Jun 3, 2024
af5379e
Create 3.8.x schemas from 3.7.x
fabianrbz Jun 3, 2024
b690fe9
Add a command that copies the latest schemas
fabianrbz Jun 3, 2024
9cd219a
Update Readme with `copy_schemas` instructions
fabianrbz Jun 3, 2024
8b34c6a
Add plugin priorities and referenceable fields for 3.8.x
fabianrbz Jun 5, 2024
05be7ee
Update dependency ruby to v3.3.3
renovate[bot] Jun 12, 2024
605ed5c
feat: Add Workflow (and re-usable steps) that runs the
fabianrbz May 23, 2024
0939b6a
Chore: gateway patches 06 2024 (#37)
lena-larionova Jun 21, 2024
899a67a
Merge pull request #35 from Kong/add-actions-to-run-commands
Guaris Jun 24, 2024
912aadb
Fix download-schemas action
fabianrbz Jul 1, 2024
c989cc0
Fix composite actions steps
fabianrbz Jul 2, 2024
32b904b
Update dependency ruby to v3.3.4
renovate[bot] Jul 9, 2024
e9376b8
update example to split endpoint into two new ones (#38)
lena-larionova Jul 25, 2024
32815f8
fix AI RLA examples based on real config (#44)
lena-larionova Jul 25, 2024
94cc730
Standardize the way we pass versions to comands
fabianrbz Jul 3, 2024
f53b67a
Add github actions to run all the commands
fabianrbz Jul 3, 2024
4b8dc94
add missing prompts key
lena-larionova Aug 7, 2024
8299940
generate schema and validate example for new header cert auth plugin …
lena-larionova Aug 14, 2024
8d6f51c
generate schema and validate example for new ai proxy advanced plugin…
lena-larionova Aug 14, 2024
d1e2e44
generate schema and validate example for new ai semantic prompt guard…
lena-larionova Aug 14, 2024
bda23cd
generate schema and validate example for new ai semantic cache plugin…
lena-larionova Aug 14, 2024
0880c50
generate schema and validate example for new json threat protection p…
lena-larionova Aug 14, 2024
061fd3c
generate schema and validate example for new standard webhooks plugin…
lena-larionova Aug 14, 2024
705ed93
generate schema and validate example for new confluent plugin (#52)
lena-larionova Aug 21, 2024
a15dc8f
generate schema and validate example for new upstream-oauth plugin (#53)
lena-larionova Aug 22, 2024
50d743a
Download Schemas for 3.8.x (#55)
kong-docs Aug 28, 2024
f627877
download new schema that populates all the fields (#56)
lena-larionova Aug 29, 2024
92f1dc0
Update the 3.8 example for AI Semantic Cache
cloudjumpercat Aug 29, 2024
72ef9e4
Referenceable fields for 3.8.x (#61)
kong-docs Sep 3, 2024
7e436a8
Download Schemas for 3.8.x (#62)
kong-docs Sep 3, 2024
ce736ab
Apply suggestions from code review
cloudjumpercat Sep 3, 2024
38e7365
Merge pull request #58 from Kong/update/3.8-semantic-cache-example
cloudjumpercat Sep 3, 2024
0e37038
generate 3.8 plugin priorities (#63)
lena-larionova Sep 3, 2024
116b598
Update dependency thor to v1.3.2
renovate[bot] Aug 29, 2024
33205bc
Update dependency ruby to v3.3.5
renovate[bot] Sep 3, 2024
b31e4b0
Copy latest schemas to 3.9.x (#64)
kong-docs Sep 10, 2024
103c3ef
Copy latest examples to 3.9.x (#65)
kong-docs Sep 10, 2024
8c937a4
Referenceable fields for 3.9.x (#66)
kong-docs Sep 10, 2024
9ad6cdf
Update example with new schema
lmilan Sep 11, 2024
49e77a7
update 3.9 example
lmilan Sep 11, 2024
627bbdd
Merge pull request #67 from Kong/ai-semantic-prompt-guard-example
lmilan Sep 11, 2024
154630a
Fix incorrect example of request-transformer (#68)
StarlightIbuki Oct 3, 2024
f5f8cf0
Update peter-evans/create-pull-request action to v7
renovate[bot] Sep 3, 2024
e60006d
Add empty service-protection directory
cloudjumpercat Nov 22, 2024
8d22968
Merge pull request #72 from Kong/add-service-protection-directory
cloudjumpercat Nov 22, 2024
82b58d1
Download Schemas for 3.9.x
cloudjumpercat Nov 22, 2024
405ab73
Add service protection example
cloudjumpercat Nov 22, 2024
6221381
Update AWS lambda for the 3.4.3.13 release (#69)
lena-larionova Nov 25, 2024
8c72b4c
Merge pull request #71 from Kong/download-schemas
cloudjumpercat Nov 25, 2024
8fa6220
Merge pull request #73 from Kong/service-protection-example
cloudjumpercat Nov 25, 2024
56c8395
Update dependency ruby to v3.3.6
renovate[bot] Nov 5, 2024
745ee4c
generate schema for aws lambda (#74)
lena-larionova Nov 27, 2024
e5e3561
Add injection plugin directory and example (#76)
cloudjumpercat Nov 28, 2024
2940a9e
Download Schemas for 3.9.x
fabianrbz Dec 3, 2024
fd566b7
Referenceable fields for 3.9.x
fabianrbz Dec 3, 2024
7b56923
limit and window size examples (#75)
lmilan Dec 3, 2024
b0750e9
Pass kong-image-name to plugin priorities (#80)
fabianrbz Dec 3, 2024
a686991
Revert "limit and window size examples (#75)" (#83)
fabianrbz Dec 4, 2024
74a6908
generate redirect plugin schema + example (#82)
lena-larionova Dec 4, 2024
32c68fd
Copy latest schemas to 3.10.x (#84)
kong-docs Dec 5, 2024
c6b1dfa
Copy latest examples to 3.10.x (#85)
kong-docs Dec 5, 2024
ea5c1ca
Copy data files to 3.10 (#86)
fabianrbz Dec 5, 2024
ea2fa2f
Add JSON schema conversion command
mheap Feb 8, 2024
e4c0fb2
Fix more of the schema automatically
mheap Jun 14, 2024
ac40093
Fix additional JSON schema generation issues
mheap Sep 11, 2024
7c64691
Include protocols in json-schemas
fabianrbz Dec 2, 2024
c6b8982
Update readme with convert_json_schema instructions
fabianrbz Dec 2, 2024
29da468
Add github action that generates json schemas
fabianrbz Dec 2, 2024
ac839ce
Set foreign keys and missing descriptions to json-schemas
fabianrbz Dec 4, 2024
113320b
Deep-sort json-schemas before writing them to disk
fabianrbz Dec 4, 2024
d7558ff
Fix Foreign keys generation
fabianrbz Dec 5, 2024
6197bdb
Generate json-schemas for 3.9
fabianrbz Dec 5, 2024
902df67
Generate json-schemas for 3.8
fabianrbz Dec 5, 2024
2dd0fc6
Generate json-schemas for 3.7
fabianrbz Dec 5, 2024
8f3081c
Update convert_json_schema so that the file name is major.minor.json
fabianrbz Dec 5, 2024
0000e49
Update release notes
fabianrbz Dec 9, 2024
3f400db
Fix service-protection examples
fabianrbz Dec 16, 2024
7159eb6
Fix ai-azure-content-safety examples
fabianrbz Dec 16, 2024
043be93
Fix injection-protection examples
fabianrbz Dec 16, 2024
e8951cf
JSON Schemas for 3.10.x
fabianrbz Dec 19, 2024
9d26b55
JSON Schemas for 3.4.x
fabianrbz Feb 17, 2025
f9f5a3b
generate schemas and examples for plugins coming in 3.10 (#94)
lena-larionova Feb 27, 2025
5fa9038
examples and schema updates for consume plugins (#95)
lena-larionova Mar 11, 2025
0a0ee90
Download Schemas for 3.10.x (#96)
kong-docs Mar 13, 2025
b0302df
Referenceable fields for 3.10.x
lena-larionova Mar 13, 2025
868ff23
Plugin Priorities for 3.10.x
lena-larionova Mar 13, 2025
cea0ea5
JSON Schemas for 3.10.x
lena-larionova Mar 13, 2025
5f5c001
Pin all GitHub Actions (#100)
mheap Mar 15, 2025
480e0e9
regenerate schema for request callout plugin
lena-larionova Mar 17, 2025
6cd885e
Fix json-schema Github action, it doesn't need to have Gateway running
fabianrbz Dec 9, 2024
7b64f9d
JSON Schemas for 2.8.x
fabianrbz Dec 9, 2024
ceb4b20
Download Schemas for 3.10.x (#102)
kong-docs Mar 25, 2025
ff229d8
JSON Schemas for 3.10.x (#103)
kong-docs Mar 25, 2025
f46a02c
Add `referenceable` to the field's description in json_schemas
fabianrbz Mar 25, 2025
10e6a94
Link to vaults entity page instead of using italics in the description
fabianrbz Mar 25, 2025
c13feef
JSON Schemas for 3.10.x
fabianrbz Mar 25, 2025
c17d17c
JSON Schemas for 3.9.x
fabianrbz Mar 25, 2025
0592058
JSON Schemas for 3.7.x
fabianrbz Mar 25, 2025
8dcb147
JSON Schemas for 3.4.x
fabianrbz Mar 25, 2025
82d7901
generate examples for AI plugins: (#109)
lena-larionova Mar 26, 2025
08f0ed3
Copy latest schemas to 3.11.x (#112)
kong-docs Mar 31, 2025
9e3673d
Copy latest examples to 3.11.x (#113)
kong-docs Mar 31, 2025
b6495df
Copy latest data files to 3.11.x (#114)
kong-docs Mar 31, 2025
dd035ab
JSON Schemas for 3.11.x (#115)
kong-docs Mar 31, 2025
e05b1f6
Add note about fields that have `encrypted: true` to their descriptions
fabianrbz Mar 31, 2025
deb2c10
JSON Schemas for 3.11.x
fabianrbz Apr 1, 2025
165593e
JSON Schemas for 3.10.x
fabianrbz Apr 1, 2025
2874a57
JSON Schemas for 3.9.x
fabianrbz Apr 1, 2025
618e39f
JSON Schemas for 3.8.x
fabianrbz Apr 1, 2025
cdb1af8
JSON Schemas for 3.7.x
fabianrbz Apr 1, 2025
b7549d9
JSON Schemas for 3.4.x
fabianrbz Apr 1, 2025
bfcd277
Make encrypted referenceable optional (#122)
mheap Apr 24, 2025
5162d4c
repository dispatch to developer site
fabianrbz Apr 24, 2025
4f0bffc
Update samples for ai rate limiting (#123)
tomek-labuk May 5, 2025
a0c95e9
Only remove required from objects with no required children when gene…
mheap May 15, 2025
900e2d5
Regenerate all plugin schemas (#125)
mheap May 15, 2025
9e46360
Fix - Rag Doc (#126)
AntoineJac May 16, 2025
daeca6d
Add ai-prompt-compressor
fabianrbz Jun 2, 2025
aef0d4b
add ai-prompt-compressor
fabianrbz Jun 2, 2025
7f9ef4b
Download Schemas for 3.11.x
fabianrbz Jun 2, 2025
97e73e8
Generate ai-prompt-compressor json schema
fabianrbz Jun 2, 2025
f57c332
add solace plugin
Guaris Jun 9, 2025
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 .github/reusable-steps/cleanup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Run Quickstart cleanup
description: Runs ./quickstart.sh -d
runs:
using: composite
steps:
- shell: bash
run: |
./quickstart.sh -d
10 changes: 10 additions & 0 deletions .github/reusable-steps/download-quickstart-script/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Download Quickstart script
description: Downloads https://get.konghq.com/quickstart
runs:
using: composite
steps:
- name: Donwload script
shell: bash
run: |
curl -Ls get.konghq.com/quickstart -o quickstart.sh
chmod +x quickstart.sh
9 changes: 9 additions & 0 deletions .github/reusable-steps/install-deps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Install deps
runs:
using: composite
steps:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
31 changes: 31 additions & 0 deletions .github/reusable-steps/run-kong-ee/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Kong EE
inputs:
op-token:
required: true
kong-image-tag:
required: true
description: |
Kong Docker image tag to run, 3.6.1.4.
kong-image-name:
description: |
Kong Docker image name to use, e.g. kong-gateway, kong-gateway-dev.

runs:
using: composite
steps:
- name: Download quickstart script
uses: ./.github/reusable-steps/download-quickstart-script
- name: Download Kong License
uses: Kong/kong-license@master
id: getLicense
with:
op-token: ${{ inputs.op-token }}
- name: Run Kong
shell: bash
env:
KONG_PLUGINS: 'bundled,app-dynamics'
KONG_LICENSE_DATA: ${{ steps.getLicense.outputs.license }}
KONG_IMAGE_TAG: ${{ inputs.kong-image-tag }}
KONG_IMAGE_NAME: ${{ inputs.kong-image-name }}
run: |
./quickstart.sh -e "KONG_LICENSE_DATA" -e "KONG_PLUGINS" -e "KONG_IMAGE_TAG" -e "KONG_IMAGE_NAME"
23 changes: 23 additions & 0 deletions .github/reusable-steps/run-kong-oss/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Kong OSS
inputs:
kong-image-tag:
required: true
description: |
Kong Docker image tag to run, 3.6.1.
kong-image-name:
description: |
Kong Docker image name to use, e.g. kong-gateway, kong-gateway-dev.

runs:
using: composite
steps:
- name: Download quickstart script
uses: ./.github/reusable-steps/download-quickstart-script
- name: Run Kong
shell: bash
env:
KONG_PLUGINS: 'bundled'
KONG_IMAGE_TAG: ${{ inputs.kong-image-tag }}
KONG_IMAGE_NAME: ${{ inputs.kong-image-name || 'kong' }}
run: |
./quickstart.sh -e "KONG_PLUGINS" -e "KONG_IMAGE_TAG" -e "KONG_IMAGE_NAME"
32 changes: 32 additions & 0 deletions .github/workflows/copy-data-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Copy Latest Data Files
on:
workflow_dispatch:
inputs:
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.

jobs:
copy-data-files:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run copy_data_files
run: |
bundle exec ./plugins copy_data_files --version=${{ github.event.inputs.version }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Copy latest data files to ${{ github.event.inputs.version }}"
branch: copy-latest-data-files
commit-message: "Copy latest data files to ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./data/*
32 changes: 32 additions & 0 deletions .github/workflows/copy-examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Copy Latest Examples
on:
workflow_dispatch:
inputs:
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.

jobs:
copy-examples:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run copy_examples
run: |
bundle exec ./plugins copy_examples --version=${{ github.event.inputs.version }} --plugins $(ls ./schemas) --verbose
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Copy latest examples to ${{ github.event.inputs.version }}"
branch: copy-latest-examples
commit-message: "Copy latest examples to ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./examples/*
32 changes: 32 additions & 0 deletions .github/workflows/copy-schemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Copy Latest Schemas
on:
workflow_dispatch:
inputs:
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.

jobs:
copy-schemas:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run copy_schemas
run: |
bundle exec ./plugins copy_schemas --version=${{ github.event.inputs.version }} --plugins $(ls ./schemas) --verbose
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Copy latest schemas to ${{ github.event.inputs.version }}"
branch: copy-latest-schemas
commit-message: "Copy latest schemas to ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./schemas/*
53 changes: 53 additions & 0 deletions .github/workflows/download-schemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Download Schemas
on:
workflow_dispatch:
inputs:
kong-image-tag:
required: true
type: string
description: |
Kong Docker image tag to run, 3.6.1.4.
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.
kong-image-name:
type: choice
description: |
Kong Docker image name to use, e.g. kong-gateway, kong-gateway-dev.
options:
- kong-gateway
- kong-gateway-dev

jobs:
download-schemas:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run Kong EE
uses: ./.github/reusable-steps/run-kong-ee
with:
op-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
kong-image-tag: ${{ github.event.inputs.kong-image-tag }}
kong-image-name: ${{ github.event.inputs.kong-image-name }}
- name: Run download_schemas
run: |
bundle exec ./plugins download_schemas --version=${{ github.event.inputs.version }} --plugins $(ls ./schemas) --verbose
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Download Schemas for ${{ github.event.inputs.version }}"
branch: download-schemas
commit-message: "Download Schemas for ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./schemas/*
- name: Cleanup
if: always()
uses: ./.github/reusable-steps/cleanup
32 changes: 32 additions & 0 deletions .github/workflows/generate-json-schemas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Generate json schemas
on:
workflow_dispatch:
inputs:
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.

jobs:
generate-json-schemas:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run convert_json_schema
run: |
bundle exec ./plugins convert_json_schema --version=${{ github.event.inputs.version }} --plugins $(ls ./schemas) --verbose
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Generate JSON Schemas for ${{ github.event.inputs.version }}"
branch: generate-json-schemas
commit-message: "JSON Schemas for ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./json_schemas/*
68 changes: 68 additions & 0 deletions .github/workflows/generate-plugin-priorities.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Generate Plugin Priorities
on:
workflow_dispatch:
inputs:
kong-image-tag:
required: true
type: string
description: |
Kong Docker image tag to run, 3.6.1.4.
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.
kong-edition:
required: true
type: choice
options:
- oss
- ee
description: Whether the API running is the OSS or Enterprise version
kong-image-name:
type: choice
description: |
Kong Docker image name to use, e.g. kong-gateway, kong-gateway-dev.
options:
- kong-gateway
- kong-gateway-dev
- kong

jobs:
generate-plugin-priorities:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run Kong EE
if: ${{ github.event.inputs.kong-edition == 'ee' }}
uses: ./.github/reusable-steps/run-kong-ee
with:
op-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
kong-image-tag: ${{ github.event.inputs.kong-image-tag }}
kong-image-name: ${{ github.event.inputs.kong-image-name }}
- name: Run Kong OSS
if: ${{ github.event.inputs.kong-edition == 'oss' }}
uses: ./.github/reusable-steps/run-kong-oss
with:
kong-image-tag: ${{ github.event.inputs.kong-image-tag }}
kong-image-name: ${{ github.event.inputs.kong-image-name }}
- name: Run generate_plugin_priorities
run: |
bundle exec ./plugins generate_plugin_priorities --type=${{ github.event.inputs.kong-edition }} --version=${{ github.event.inputs.version }} --verbose
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Plugin Priorities for ${{ github.event.inputs.version }}"
branch: plugin-priorities
commit-message: "Plugin Priorities for ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./data/priorities/*
- name: Cleanup
if: always()
uses: ./.github/reusable-steps/cleanup
53 changes: 53 additions & 0 deletions .github/workflows/generate-referenceable-fields.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Generate Referenceable Fields
on:
workflow_dispatch:
inputs:
kong-image-tag:
required: true
type: string
description: |
Kong Docker image tag to run, 3.6.1.4.
version:
required: true
type: string
description: |
Kong Gateway release, e.x. 3.4.x.
Used by some commands for storing files in the corresponding folder.
kong-image-name:
type: choice
description: |
Kong Docker image name to use, e.g. kong-gateway, kong-gateway-dev.
options:
- kong-gateway
- kong-gateway-dev

jobs:
generate-referenceable-fields:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install dependencies
uses: ./.github/reusable-steps/install-deps
- name: Run Kong EE
uses: ./.github/reusable-steps/run-kong-ee
with:
op-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
kong-image-tag: ${{ github.event.inputs.kong-image-tag }}
kong-image-name: ${{ github.event.inputs.kong-image-name }}
- name: Run generate_referenceable_fields_list
run: |
bundle exec ./plugins generate_referenceable_fields_list --version=${{ github.event.inputs.version }} --plugins $(ls ./schemas) --verbose
- name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{ secrets.PAT }}
title: "Referenceable fields for ${{ github.event.inputs.version }}"
branch: referenceable-fields
commit-message: "Referenceable fields for ${{ github.event.inputs.version }}"
delete-branch: true
add-paths: |
./data/referenceable_fields/*
- name: Cleanup
if: always()
uses: ./.github/reusable-steps/cleanup
Loading