Age | Commit message (Collapse) | Author |
|
BTW: separate env output in the travis log
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
revert "makefile.python: ... drop build support py2" to get back Py2 support.
TPy2 support need virtualenv installed by the OS.
BTW: log environment and python version in travis's install phase
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
fix travis build error [1]::
The command "local/py3/bin/pip install codecov" failed and exited with 127
Use the correct pip (python environment) from build environment::
$(PY_ENV_BIN)/python -m pip
[1] https://travis-ci.org/github/asciimoo/searx/jobs/669701405#L590
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[1] https://github.com/asciimoo/searx/pull/1910#issuecomment-607244871
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
This reverts commit eb87b07d519592b8863a3aeb39eb0a758083f5cc.
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Fix "Permission denied: '/home/travis/.cache/" errors from travis build [1].
Change owner https://docs.travis-ci.com/user/caching/#caches-and-read-permissions
and remove old log in the *before_caching* phase:
https://docs.travis-ci.com/user/caching/#before_cache-phase
About pip cache see: https://docs.travis-ci.com/user/caching/#pip-cache
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
[1] https://travis-ci.org/github/asciimoo/searx/jobs/669664131#L220
|
|
From py3.3 on a subset of virtualenv is built-in, so you can run '-m venv' ot of
the box.
- replace: $(PY_ENV_BIN)/pip --> $(PY_ENV_BIN)/python -m pip
- remove obsolete virtualenv-exe target and adjust VTENV_OPTS
- remove obsolete msg-pip-exe target
- print list of py launchers available from $(PY_ENV_BIN) to the log
- fix hard coded ./local
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
Commit 8a16903a removes Makefile target style
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
See #1561 , use uwsgi and Alpine Linux
Volume:
/var/log/uwsgi contains error log for 2 days (file uwsgi.log)
/etc/searx contains the settings.yml and uwsgi.ini files.
The docker image creates them if they don't exist.
The two files can be modified after the first run. See below.
Environement variables:
MORTY_URL : external URL of Morty
MORTY_KEY : base64 encoded key
BASE_URL : external URL of Searx
BIND_ADDRESS : internal HTTP port to listen to
Labels : org.label-schema.schema.*
Parameters:
-h : display this help
-d : will update the settings and quit immediately (settings.yml and uwsgi.ini)
-f : always update the settings (previous version saved with suffix .old).
without this parameter, the new settings are copied with suffix .new
When the Docker image contains newer settings:
- without -f parameter: the new versions are copied to /etc/searx/settings.yml.new and /etc/searx/uwsgi.ini.new.
- with -f parameter: the old versions are renamed with .old suffix. The new version replaces /etc/searx/settings.yml and /etc/searx/uwsgi.ini
Build using "./manage.sh docker_build", add "push" as parameter also push the Docker image.
The script requires a git repository to work (it makes sure that the last git tag matches searx/version.py)
"git describe" is used to create a meaningful version.
Example : 0.15.0-90-49c5bcb4-dirty (dirty means that the docker image was made with uncommited changes).
Use "docker inspect -f {{.Config.Labels.version}} searx" to get the version of an existing image.
.dockerignore based on .gitignore
.travis.yml: include docker stage
|
|
Python3.5 is still the default Python3 version in
Debian Stretch (stable) and Ubuntu 16.04 LTS
https://packages.debian.org/source/stretch/python3-defaults
https://packages.ubuntu.com/source/xenial/python/python3-defaults
|
|
- npm install less@2.7 less-plugin-clean-css grunt-cli is moved inside manage.sh
- if it is possible to source manage.sh to update the PATH (to start grunt)
- tidy the help documentation
- update the geckodriver version to 0.19.1
|
|
3.0 is still alpha and currently breaks when building styles
|
|
|
|
./manage.sh don't build css that are built by ./manage.sh grunt_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WARNING: dependency changes
|
|
for some reason installing grunt globally caused travis test to fail.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This patch should speedup testing with Travis CI using caching and
container-based infrastructure.
source:
- http://docs.travis-ci.com/user/migrating-from-legacy/
- http://docs.travis-ci.com/user/caching/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to generate the .css file from the .less file run: $make styles
|
|
|
|
|