• Ian Johnson's avatar
    snap/many: update kong to 1.0.3 · 52e458af
    Ian Johnson authored
    * Upgrade to Kong 1.0.3
    * Use `kong migrations bootstrap` instead of `kong migrations up`
    * Remove lua and luarocks parts and use the bionic ubuntu archive pkgs
      lua5.1 and luarocks instead
    * Remove kong build dependency on openresty part as they no longer need
      to be built after each other
    * Build kong inside $SNAPCRAFT_PART_INSTALL
    * Upgrade to OpenResty and build with kong's patches
    * Replace hard-coded location of nginx in "resty" binary from OpenResty
      to use /snap/edgexfoundry/current based path instead of
    * Fix the nginx and openresty symlinks inside openresty's
      $SNAPCRAFT_PART_INSTALL/bin dir to be relative instead of absolute
    * Use dpkg --print-architecture instead of uname -m for better
      compatibility when cross compiling
    * Add layout for /etc/luarocks to view into $SNAP/etc/luarocks using a
      bind mount such that luarocks doesn't trigger AppArmor denials every
      time it starts up via kong. This path is supposedly configurable with
      a build time flag but I haven't been able to figure out which flag is
      to be used for this.
    Signed-off-by: default avatarIan Johnson <ian.johnson@canonical.com>
kong-daemon.sh 575 Bytes