Skip to content

pongo additional libraries : skip Rust toolchain #681

@andromedakah

Description

@andromedakah

Pongo incorporates additional Rust toolchain libraries that are not always mandatory, rendering its use challenging, if not impossible, in corporate environments. This may result in failures within the test building environment.

Would that be possible to add specific command in order to skip Rust toolchain to be downloaded ?

13.20 lua-reqwest 0.1.1 not found, installing via luarocks...
13.25 Installing https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/lua-reqwest-0.1.1-1.src.rock
13.83 Missing dependencies for lua-reqwest 0.1.1-1:
13.83	luarocks-build-rust-mlua (not installed)
13.83
13.83 lua-reqwest 0.1.1-1 depends on luarocks-build-rust-mlua (not installed)
13.83 Installing https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/luarocks-build-rust-mlua-0.2.4-1.src.rock
13.83
14.64 	Updating [crates.io](http://crates.io/) index
142.2  Downloading crates ...
143.3 error: failed to download from `[https://static.crates.io/crates/http-body/1.0.1/download`](https://static.crates.io/crates/http-body/1.0.1/download)
143.3
143.3 Caused by:
143.3   failed to get successful HTTP response from `[https://static.crates.io/crates/http-body/1.0.1/download`](https://static.crates.io/crates/http-body/1.0.1/download) (10.51.30.36), got 403
143.3   body:
143.3   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml11/DTD/xhtml11-strict.dtd>
143.3   <html xmlns=http://www.w3.org/1999/xhtml lang="en" xml:lang="en">
143.3   <head>
143.3 	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
143.3 	<meta http-equiv="cache-control" content="no-cache" />
143.3 	<meta http-equiv="pragma" content="no-cache" />
143.3 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
143.3 	<title>SWG Notification</title>
143.3 	<!--link rel="styleshee…
143.3
143.3 Error: Build error: Failed building.
143.4 luarocks-build-rust-mlua 0.2.4-1 is now installed in /usr/local (license: MIT)
143.4
143.4
143.4 lua-reqwest 0.1.1-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
143.4 lua-reqwest 0.1.1-1 depends on luarocks-build-rust-mlua (0.2.4-1 installed: success)
143.4 make: *** [Makefile:207: dependencies] Error 1
------
1 warning found (use docker --debug to expand):
- InvalidDefaultArgInFrom: Default value for ARG ${KONG_BASE} results in empty or invalid base image name (line 2)
Dockerfile:71
--------------------
  70 |
  71 | >>> RUN cd /kong \
  72 | >>> 	&& git config --global url.https://github.com/.insteadOf git://[github.com/](http://github.com/) \
  73 | >>> 	&& make dependencies $LUAROCKS_OPTS \
  74 | >>> 	&& luarocks install busted-htest --only-server https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/ \
  75 | >>> 	&& luarocks install luacov --only-server https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/ \
  76 | >>> 	&& luarocks install kong-plugin-dbless-reload 0.1.0 --only-server https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/
  77 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /kong 	&& git config --global url.https://github.com/.insteadOf git://[github.com/](http://github.com/) 	&& make dependencies
$LUAROCKS_OPTS 	&& luarocks install busted-htest --only-server https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/ 	&& luarocks install l
uacov --only-server https://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local/ 	&& luarocks install kong-plugin-dbless-reload 0.1.0 --only-server ht
tps://kong-luarocks-server-are164.esp.rs.dev01.qaoneadr.local" did not complete successfully: exit code: 2
[pongo-ERROR] Error: failed to build test environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions