summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2025-05-12[fix] DOCKERHUB_USERNAME env reference (#4778)Ivan Gabaldon
When making the container rework, I unknowingly deleted the section where an env with the same name as the secret was defined on the job scope, making it look like it was originally defined as an organization env. Since we can't validate the secrets in a condition directly, it's better to let docker/login-action take care of failing the entire job if the credentials are invalid. Reported in: https://github.com/searxng/searxng/issues/4777
2025-05-12[mod] CI: dependabot group updates by minor & patch and major updates (#4773)Markus Heiser
By default, Dependabot opens a new pull request to update each dependency and we have a very large number of Dependabot pull requests to review and merge, which can quickly become difficult to manage. The intention of this patch to dependabot is to have: - one PR for all minor & patch level updates - one PR for every dependency with a major update [1] https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/optimizing-pr-creation-version-updates [2] https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#groups Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-05-11revert using null keywordIvan Gabaldon
env.DOCKERHUB_USERNAME shouldn't be an empty string as it's defined and set (I think, I can't see this). Even if wasn't defined, GitHub Org/Repo wide envs/secrets should return an empty string (?)
2025-05-11[mod] rework container deployment (#4764)Ivan Gabaldon
container.yml will run after integration.yml COMPLETES successfully and in master branch. Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows. * Podman is now supported to build the container images (Docker also received a refactor, merging both build and buildx) * Container images are being built by Buildah instead of Docker BuildKit. * Container images are tested before release. * Splitting "modern" (amd64 & arm64) and "legacy" (armv7) arches on different Dockerfiles allowing future optimizations.
2025-05-10[mod] refactor integration.yml (#4763)Ivan Gabaldon
Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows.
2025-05-10[mod] new l10n.yml workflow (#4734)Ivan Gabaldon
l10n.yml will run after integration.yml finishes successfully (will defer anything depending on integration.yml until heavy loads like container building are moved to separate workflows) and in master branch. * After every integration.yml workflow completes successfully, only the `update` job runs. * Dispatch and Crontab triggers only the `pr` job. Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows (not functional until all workflows have been refactored).
2025-05-10[fix] documentation should run on push/prIvan Gabaldon
Instead of executing the workflow after integration.yml completes correctly, let's run this workflow parallel to integration.yml restoring the original behaviour.
2025-05-09chore: docker + github-actions dependabot (#4754)Émilien (perso)
* chore: docker dependabot * Add github actions too
2025-05-08[fix] missing PR perm data-update.yml workflow (#4737)Ivan Gabaldon
We actually don't need to keep the token on checkout because `peter-evans/create-pull-request` will read from `github.token`. The obvious `pull-requests` write permission wasn't set in the last fix, so I added it now.
2025-05-08[mod] CI move build of online docs to dedicated workflow documentation.yml ↵Ivan Gabaldon
(#4733) documentation.yml will run after integration.yml COMPLETES successfully (will defer anything depending on integration.yml until heavy loads like container building are moved to separate workflows) and in master branch. Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows (not functional until all workflows have been refactored).
2025-05-08[fix] fix security.yml workflow (#4735)Ivan Gabaldon
Uploading SARIFs needs to write into the repository GitHub security tab
2025-05-08[fix] missing perm data-update.yml workflow (#4736)Ivan Gabaldon
We need to keep the token on checkout and allow writing into the repository to create the branch
2025-05-08[mod] CI: refactor data-update.yml - searxng_extra/update scripts (#4732)Ivan Gabaldon
Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows (not functional until all workflows have been refactored).
2025-05-08[mod] CI refactor security.yml - style and cleanup changes (#4731)Ivan Gabaldon
2025-05-08[mod] CI: refactor checker.yml - make search.checker (#4730)Ivan Gabaldon
Style changes, cleanup and improved integration with CI by leveraging the use of shared cache between all workflows (not functional until all workflows have been refactored).
2025-02-28[web-client] integrate the migrated theme in the github CIMarkus Heiser
- upgrade to ubuntu-24.04 to get NodeJS v20 - remove DEBUG (V=1) environment / in a ViteJS env the DEBUG environment is reserved for interactive debugging tasks (not for verbose build messages). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-02-28[web-client] simple theme: build & development env based on vite.Markus Heiser
Vite is a build tool, it consists of two major parts [1]: - A dev server that provides rich feature enhancements over native ES modules, for example extremely fast Hot Module Replacement (HMR). - A build command that bundles your code with Rollup, pre-configured to output highly optimized static assets for production. [1] https://vite.dev/guide/ Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-02-07[fix] selenium: binary is not a Firefox executableMarkus Heiser
Since Ubuntu installs firefox frrom snap, we can't use any longer ``Browser('firefox')``. [1] https://github.com/searxng/searxng/pull/3663#issuecomment-2255963036 [2] https://splinter.readthedocs.io/en/latest/drivers/firefox.html#custom-binary-path Suggested-by: @allendema Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-02-07[upd] upgrade: github actions / to ubuntu: 24.04 / to nvm: node 20.15Markus Heiser
- ubuntu-20.04 --> ubuntu-24.04 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-12-24[mod] add support for Python 3.13Markus Heiser
Python 3.13 has been released [1] - fasttext-predict supports py3.13 from version 0.9.2.3 [2] [1] https://www.python.org/downloads/release/python-3130/ [2] https://github.com/searxng/fasttext-predict/commit/f2da9cd173 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-24[upd] github CI: actions/cache@v3 to actions/cache@v4Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-06[fix] issues reported by `make test.yamllint`Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-11-01[fix] CI: remove target test.coverage from python's test matrixMarkus Heiser
The test.coverage cause a lot of failed CI jobs for reasons that cannot be explained. As we do not monitor the coverage anyway, it is superfluous to run this job, especially as it only has a disruptive effect on the CI. BTW and the CI action upload-artifact@v3 is deprecated [1] [1] https://github.com/actions/upload-artifact?tab=readme-ov-file#actionsupload-artifact Related: https://github.com/searxng/searxng/issues/3983 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-03[mod] py3.8 EOL / upgrade to actions/setup-python@v5Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-06-25GitHub Actions: Upgrade data-update.yml infrastructureChristian Clauss
2024-03-09[fix] CI YAML config filesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09[fix] CI YAML config filesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-09[mod] CI: tag commits with leading scope/type of the modificationMarkus Heiser
Add a leading tag (in square brackets) about the scope/type to commit messages from automated tasks (commits from CI). dependantbot:: [upd] pypi: Bump .. from .. to .. [upd] npm: Bump .. from .. to .. in /searx/static/themes/simple Weblate translation updates:: [l10n] update translations from Weblate updates of ./data:: [data] update searx.data ... build commit of gh-pages:: [doc] build from commit ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-03-03GitHub workflows: run checker on FridayAlexandre Flament
2024-01-09[mod] get rid of ./utils/brand.env and its workflowMarkus Heiser
All the environments defined in ./utils/brand.env are generated on the fly, so there is no longer a need to define the brand environment in this file and all the workflows to handle this file. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-29Add support for Python 3.12Alexandre Flament
2023-09-15[CI] upgrade actions/checkout@v4 & actions/upload-artifact@v3Markus Heiser
Closes: https://github.com/searxng/searxng/issues/2777#issuecomment-1720958570 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-08-13[fix] typos in documentation & messagesToxyFlog1627
2023-08-06[fix]: typo in issue template for engine requestJulian Marcos
2023-04-19[CI] drop Python 3.7 from CIMarkus Heiser
- Python 3.7 supports security fixes only, as needed, until 2023-06 [1] - Some of SearXNG's dependencies do no longer support Python 3.7 [2] [1] https://peps.python.org/pep-0537/#and-beyond-schedule [2] https://github.com/searxng/searxng/pull/2102 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-03-24[mod] replace engines_languages.json by engines_traits.jsonMarkus Heiser
Implementations of the *traits* of the engines. Engine's traits are fetched from the origin engine and stored in a JSON file in the *data folder*. Most often traits are languages and region codes and their mapping from SearXNG's representation to the representation in the origin search engine. To load traits from the persistence:: searx.enginelib.traits.EngineTraitsMap.from_data() For new traits new properties can be added to the class:: searx.enginelib.traits.EngineTraits .. hint:: Implementation is downward compatible to the deprecated *supported_languages method* from the vintage implementation. The vintage code is tagged as *deprecated* an can be removed when all engines has been ported to the *traits method*. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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-08-31GitHub worfklow: add daily security check using trivyAlexandre FLAMENT
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-06-27Update data-update.ymlAlexandre Flament
See #1271
2022-06-02data-update.yml: updated on the 28th of the monthAlexandre Flament
Administrators of public instances are incentivised to update their instances on the 1st of the month. With this commit, the data are up to date by the 1st of the next month.
2022-05-16[fix] remove .github/ISSUE_TEMPLATE/discuss.mdMarkus Heiser
In 2021 we did not used github-discussions, see commit message of 272c9d6b. Theses days we use github-discussions and have a Q&A category in there [1]. [1] https://github.com/searxng/searxng/discussions/categories/q-a Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-30[theme] peel out oscar from SearXNG developmentMarkus Heiser
This is the first step of removing oscar theme Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-16GitHub monthly data update: add engine descriptionsAlexandre Flament
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>