Commit Graph

3977 Commits

Author SHA1 Message Date
Ayaz Salikhov
b98e55e28d Only create manifests when images are pushed to registry (#2273) 2025-04-01 01:57:34 +01:00
Ayaz Salikhov
0473c8d915 Do not reset docker state (#2271) 2025-03-28 14:59:08 +00:00
Ayaz Salikhov
e5fd8bd0b3 Fix number of builds on wiki page in forks 2025-03-28 14:58:28 +00:00
Ayaz Salikhov
19bfa74b5f Improve merge_tags: runnable multiple times, run in PRs, simpler function 2025-03-28 14:58:06 +00:00
Ayaz Salikhov
5cfcdbd416 Robust registry operations: adjust timelimit and use retries (#2270) 2025-03-27 01:41:49 +00:00
Ayaz Salikhov
ecaa90c704 Simplify code in CondaPackageHelper 2025-03-26 19:16:41 +00:00
Ayaz Salikhov
24d8f650af Cleanup EXCLUDED_PACKAGES list (#2269) 2025-03-26 15:28:52 +00:00
Ayaz Salikhov
b62b1d42b8 Simpler quick start phrase 2025-03-26 15:09:13 +00:00
Ayaz Salikhov
6f5f40d2d3 Fix broken tidymodels link again 2025-03-26 15:05:28 +00:00
Ayaz Salikhov
8432e5741c Refactor CondaPackageHelper: cached_property, better typing, no state 2025-03-26 12:05:05 +00:00
Ayaz Salikhov
de8a1349ae Try to unmark tests as flaky (#2268) 2025-03-25 21:10:11 +00:00
Ayaz Salikhov
100187f79d Make free_host_port a fixture (#2267)
* Make free_host_port a fixture

* Remove redundant comment
2025-03-25 15:33:26 +00:00
Ayaz Salikhov
2ce2c06a22 Improve test_spark_r_nbconvert: add local_sparklyr back, test all output formats 2025-03-25 15:04:58 +00:00
Ayaz Salikhov
2766279baf Unify how we use volumes: mount files, use pathlib.Path without str 2025-03-25 14:49:50 +00:00
Ayaz Salikhov
1af2bfc070 Add check_nbconvert function and run tests for appropriate images (#2266) 2025-03-25 13:00:19 +00:00
Ayaz Salikhov
57ce6e3f05 Reduce indirection when running docker commands (#2265) 2025-03-25 09:40:27 +00:00
Ayaz Salikhov
834b6c7e03 Error logs on error/warn in logs 2025-03-25 09:39:02 +00:00
Ayaz Salikhov
de998c41eb Log errors on docker run/exec failure 2025-03-25 08:46:26 +00:00
dependabot[bot]
c135254c87 Bump docker/login-action from 3.3.0 to 3.4.0 (#2264)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](9780b0c442...74a5d14239)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 18:32:19 +00:00
Ayaz Salikhov
4a60b44886 Fix broken tidymodels link 2025-03-24 15:03:26 +00:00
Ayaz Salikhov
33d3b308c4 Use mamba to install jupyter-server-proxy (#2262)
* Use mamba to install jupyter-server-proxy

* Update changelog
2025-03-23 13:59:59 +00:00
Ayaz Salikhov
b3669ac716 Fix information about affected images in changelog 2025-03-23 12:29:52 +00:00
Ayaz Salikhov
08dae88c5b Update changelog 2025-03-23 12:27:00 +00:00
Ayaz Salikhov
bc3baf8ad8 Improve logs around running docker (#2261) 2025-03-23 11:09:53 +00:00
Ayaz Salikhov
28070e6022 Remove example from test_packages as it is out-of-date 2025-03-22 17:49:19 +00:00
Ayaz Salikhov
23c6f42a6f Remove container directly in run_and_wait 2025-03-22 17:47:45 +00:00
Ayaz Salikhov
f47292edc0 Use tty for running docker commands by default (#2260)
* Use tty for running docker commands by default

* Add comment about using tty=False

* Remove unrelated part
2025-03-22 17:46:38 +00:00
Ayaz Salikhov
929ebdb758 Flush output in Python before running execvp (#2258) 2025-03-21 13:50:35 +00:00
Ayaz Salikhov
95aa99dd85 Do not allocate TTY in tests if not needed (#2257) 2025-03-21 12:15:16 +00:00
Ayaz Salikhov
f0ef7e30b2 Use simpler API to get health of container 2025-03-21 10:11:19 +00:00
Ayaz Salikhov
dcd1c457d3 Refactor TrackedContainer run_detached/exec_cmd functions (#2256)
* Refactor TrackedContainer run_detached/exec_cmd functions

* Add get_logs() method

* Small fixes

* Make get_health() a method

* Remove kwargs, always print output

* Small fixes
2025-03-21 10:05:00 +00:00
Ayaz Salikhov
a916806f2e Update changelog 2025-03-20 17:17:05 +00:00
Ayaz Salikhov
b35f1554d6 Test server listening on IPv4/IPv6 (#2255)
* Test server listening on IPv4/IPv6

* Set up Docker in create-dev-env

* Show docker version

* Add info about docker client

* Check requests

* Show docker client version

* Try to pass docker sock

* Fix

* Break fast

* Revert

* Cleanup

* Better naming

* Always use docker.from_env

* Revert "Always use docker.from_env"

This reverts commit d03069ac28.

* Use custom docker client for only one test

* More logs

* Use cont_data_dir in test, so workdir doesn't matter

* Use common variable names

* Move patch to a separate function

* Try to use set-host option

* Use the same docker client in get_health

* Use .api

* Rewrite check_listening.py to use one function for both ipv4 and ipv6

* Add links to explain why we need to set up docker manually
2025-03-20 17:12:22 +00:00
Ayaz Salikhov
951dec9330 Refactor healthcheck tests to use one function (#2254) 2025-03-20 15:53:06 +00:00
Ayaz Salikhov
ea8faad1d3 Update tag example 2025-03-16 20:56:58 +00:00
Ayaz Salikhov
8beda2345d Suggest to search all issues, not just open 2025-03-14 16:01:55 +00:00
Ayaz Salikhov
2e1ff718a3 Fix GitHub issue links rendered by sphinx 2025-03-14 15:56:50 +00:00
Ayaz Salikhov
2175e3ed1a Use shellcheck source to point the sourced file 2025-03-14 12:44:23 +00:00
Ayaz Salikhov
81bb00eb4a Reorder contributing sections 2025-03-12 20:56:09 +00:00
Ayaz Salikhov
5a5bebaa0d Shorten new-images-and-packages-policy header 2025-03-12 20:49:27 +00:00
Ayaz Salikhov
7e47ecb13e Improve taggers and manifests docs 2025-03-12 20:46:39 +00:00
Ayaz Salikhov
7a5244b7d1 Mention proper hierarchy files in tagging.md 2025-03-12 16:11:26 +00:00
Ayaz Salikhov
2c1df4020a Make taggers manifest functions (#2252)
* Make taggers and manifests functions

* Add changelog
2025-03-12 16:05:09 +00:00
Ayaz Salikhov
48b065050c Add tags for mamba and conda versions (#2251)
* Add tags for mamba and conda versions

* Update changelog
2025-03-12 14:56:39 +00:00
Ayaz Salikhov
9e445b50a2 Do not explicitly specify files for yamllint pre-commit 2025-03-11 13:34:17 +00:00
Ayaz Salikhov
3dea76fa66 Use textwrap.dedent in quoted_output 2025-03-10 23:35:44 +00:00
Ayaz Salikhov
c90fc06a46 Do not compress images in actions/upload-artifact (#2249) 2025-03-10 04:12:20 +00:00
Ayaz Salikhov
22efe37e40 Better workflow names 2025-03-10 01:05:13 +00:00
Ayaz Salikhov
f7d59ceffe Better logs in DockerRunner 2025-03-10 00:54:15 +00:00
Ayaz Salikhov
0510a43920 Refactor container.exec_run usages 2025-03-10 00:49:28 +00:00