Kong / go-kong

Go binding for Kong's admin API
Apache License 2.0
84 stars 41 forks source link

CI: use docker hub to setup kong in CI #50

Open hbagdi opened 3 years ago

hbagdi commented 3 years ago

Bintray is going away, which means the CI will always be red. The current CI also uses debian packages to set up Kong. The scope here is

mmorel-35 commented 3 years ago

Maybe would it worth to try to define a github action for this :

This way it could be reused by go-kong and deck, at least.

It would looks like

- name: Set-up Kong
  uses: Kong/setup-kong-action@v1
  env: # the environment variables like KONG_*
  with:
    version: # the version of Kong 
hbagdi commented 3 years ago

@mmorel-35 We could use Github Actions here to solve the problem in the CI but then we will need a separate script to run the tests locally. Instead, if we write a script, we can use that in CI and developer workflow, which helps with keeping different environments consistent.