summaryrefslogtreecommitdiff
path: root/.github/workflows/integration.yml
AgeCommit message (Collapse)Author
2022-11-04chore: Set permissions for GitHub actions (#3225)nathannaveen
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-11-04GH workflow: add Python 3.11Alexandre FLAMENT
2022-11-04GH workflow: use actions/cache@v3Alexandre FLAMENT
Also cache ./.nvm and ./node_modules
2022-11-04GH workflow: use actions/setup-python@v4Alexandre FLAMENT
GitHub displays this warning with the actions/setup-python@2 : Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-07-30[clean up] drop obsolete searx, filtron and morty install scriptsMarkus Heiser
Since ./utils/searxng.sh is implemented, the old installation procedures from filtron, morty and searx can be removed. For users who want to upgrade, the procedures for removing old installations have still been retained. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-05[mod] GitHub workflow: use cacheAlexandre Flament
2021-12-23[fix] PR #646Alexandre Flament
2021-12-23[ci] drop Python 3.6Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-08integration.yml : python 3.10Alexandre Flament
2021-09-10[ci] add Python 3.10.0-rc.2Alexandre Flament
2021-08-16[translations] ./manage rename shell functions to integrate weblateMarkus Heiser
Functions implemented to run *Weblate* workflows should use prefix 'weblate.': - babel.setup.translations.worktree --> weblate.translations.worktree Create git worktree ${TRANSLATIONS_WORKTREE} and checkout branch 'translations' from Weblate's counterpart (weblate) of the SearXNG (origin):: remote weblate https://weblate.bubu1.eu/git/searxng/searxng/ - babel.weblate.to.translations --> weblate.to.translations Update 'translations' branch of SearXNG (origin) with last additions from Weblate. - babel.translations.to.master --> weblate.translations.commit Update 'translations' branch of SearXNG (origin) with last additions from Weblate. Copy the changes to the master branch, compile translations and create a commit in the local branch (master) - babel.master.to.translations --> weblate.push.translations Push *translation changes* from SearXNG (origin) to Weblate's counterpart (weblate). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-07[translations] web integrationAlexandre Flament
* make babel.translations.to.master: pull weblate updates * make babel.master.to.translations: push .pot and .po files to weblate
2021-08-02[mod] manage - implement babel commands, drop update_translations.shMarkus Heiser
In ./manage implement babel.*: - extract : extract messages from source files and generate POT file - update : update existing message catalogs from POT file - compile : compile translation catalogs into binary MO files Replace searx_extra/update/update_translations.sh by command: - ci.babel.update Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-08-02github workflow: babel jobs to update messages.potAlexandre Flament
2021-06-16[mod] simple theme: remove src/less/ion.lessAlexandre Flament
This file is generated by webfont. * It is now generated as searx/static/themes/simple/ion.less * It is generated before the .less compilation. * .gitignore includes this file Add two new package depedencies: fontforge ttfautohint See utils/searx.sh
2021-04-28[docker] multiarch support: linux/amd64,linux/arm64,linux/arm/v7Alexandre Flament
make docker.buildx : build and push multiarch build. (it can't be only build) use buildx with the --cache-from and --cache-to options to cache the layers (only the last built is cached)
2021-04-24Merge pull request #8 from return42/manage-scriptAlexandre Flament
Replace Makefile boilerplate by shell scripts
2021-04-23[CI] JamesIves/github-pages-deploy-action COMMIT_MESSAGEMarkus Heiser
remove rocket symbol from the commit message Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Suggested-by: https://github.com/JamesIves/github-pages-deploy-action/pull/576
2021-04-23[CI] JamesIves/github-pages-deploy-action SINGLE_COMMITMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-04-23[mod] replace makefile boilerplate by 'manage' scriptMarkus Heiser
Replaces the make targets with the bash scripts Signed-off-by: Markus Heiser <markus@darmarit.de>
2021-03-05Fix integration.ymlAlexandre Flament
Don't run twice the workflow on PR opened from the same repository.
2021-02-02[mod] CI: minor changesAlexandre Flament
* utils/makefile.python: travis-gh-pages renamed ci-gh-pages
2021-02-01Merge pull request #2514 from return42/fix-gh-pagesAlexandre Flament
[fix] Makefile target gh-pages & flatten history of branch gh.pages
2021-02-01[hardening] github workflows - corrupted cacheMarkus Heiser
aka: ensure that 'make test' works as expected The cache contains a copy './local' which is - under some circumstance - corrupted. It is not possible to clear the cache [1] (see the top of the page). Ensure that 'make test' works as expected [2] even if - the python interpreter is missing - the virtualenv exists but pyyaml is missing To hardening when the workflow cache fails, this patch adds the new target 'travis.test' into the workflow. This target probes to import a python module 'yaml'. If this fails the virtualenv will be completely new build. [1] https://github.com/actions/cache/issues/2#issuecomment-673493515 [2] https://github.com/searx/searx/pull/2517#discussion_r567240235 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-01-29[fix] Makefile target gh-pages & flatten history of branch gh.pagesMarkus Heiser
1. This patch fixes error: rm -rf gh-pages/ make V=1 gh-pages make[1]: Leaving directory '/800GBPCIex4/share/searx' [ -d "gh-pages/.git" ] || git clone gh-pages fatal: repository 'gh-pages' does not exist 2. The gh-page build has been moved to ./build/gh-pages this also affects 'travis-gh-pages' 3. The gh-pages commit messages now includes a ref to the repository and commit 4. Since a gh-pages history has only the drawback that the reposetory grows fast, this patch also flattens the history: cd build/gh-pages/; git log --oneline bash: cd: build/gh-pages/: Datei oder Verzeichnis nicht gefunden 026126be (HEAD -> gh-pages, origin/gh-pages) make gh-pages: from https://github.com/return42/searx.git@71d66979c2935312e0aed7fc7c3cf6199fbe88a2 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-01-14[fix] CI: fix docker pushAlexandre Flament
2021-01-14[fix] github actions: use ubuntu-20.04 instead of ubuntu-latestAlexandre Flament
2021-01-12[mod] add Python 3.9 supportAlexandre Flament
2021-01-12[mod] drop Python 3.5 supportAlexandre Flament
2020-12-20[enh] CI: use actions/cache@v2 for Python dependenciesAlexandre Flament
2020-12-20[mod] remove emojis from source codeAlexandre Flament
2020-11-17[fix] fix github workflow: deploy documentationAlexandre Flament
2020-11-17[fix] fix github workflowAlexandre Flament
2020-11-17[fix] fix github workflowAlexandre Flament
bug fix of 9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881
2020-11-17[mod] use github actions instead of travisAlexandre Flament
fix https://github.com/searx/searx/issues/2279