Skip to content

Kong/kongrocks-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KongRocks-Dev - development/testing dependencies

This repository serves as Kong Gateway's private Luarocks server *used for development / testing dependencies. For Kong "prod" dependencies, a separate internal repository is used.

How to add a new Rock

The workflow https://github.com/kong/kongrocks-dev/actions/workflows/add-rock.yaml automates the addition of new rocks.

  • Click "Run workflow" on the right-hand side, enter the rock name and version, and confirm.
  • It is necessary to seek approval on the resulting PR before merging.

How to remove unused Rock

The workflow https://github.com/kong/kongrocks-dev/actions/workflows/remove-unused-rock.yaml automates the removal of unused rocks.

  • Click "Run workflow" on the right-hand side and confirm.
  • It is necessary to seek approval on the resulting PR before merging.

Assumptions

  • This is to be used in only Kong Gateway (Enterprise) -- https://github.com/Kong/kong-ee/.

  • For following Kong Gateway (Enterprise) private dependencies, bump the git submodules instead:

    • kong-gql
    • kong-openid-connect
    • lua-resty-openapi3-deserializer
    • lua-resty-openssl-aux-module
  • The repository must contain a source rock (.src.rock) for all hosted Lua libraries. This requirement ensures Kong Gateway builds do not need to fetch sources from an external location, thus contributing to the implementation of the SLSA framework. (In order to ensure only the sources in here are used, Kong's build system leverages Luarocks' --only-sources flag, additionally to --only-server.

  • The repository only hosts libraries that are required by Kong Gateway. If Kong Gateway introduces a new dependency -- or if an existing dependency's version is bumped -- rockspec and src rock for the library must be imported here.

About

Kong Gateway Internal Luarocks Server for Dev Rocks

Resources

Stars

0 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors