Skip to content
Snippets Groups Projects
  1. Apr 08, 2024
  2. Feb 26, 2024
  3. Jan 31, 2024
  4. Jan 19, 2024
  5. Dec 26, 2023
  6. Aug 18, 2023
  7. Aug 01, 2023
  8. Apr 14, 2023
  9. Apr 06, 2023
  10. Nov 23, 2022
  11. Nov 08, 2022
  12. Oct 31, 2022
    • Yaroslav Dynnikov's avatar
      ci: refactor pipeline · 5d2dbc21
      Yaroslav Dynnikov authored
      The whole CI is refactored. The following problems are solved:
      
      1. Couldn't test base image locally without overriding the old one.
      
      The testing stage is run in two ways depending on whether some
      of the docker-related files were changed.
      
      If they didn't (most likely), testing stage is run on the `latest`
      docker image as it used to.
      
      Otherwise, the docker image is rebuilt locally and tested. This is done
      by using `image:pull_policy` option, see [1].
      
      It also makes a problem of using protected credentials irrelevant.
      
      2. Gitlab caching used to be slow
      
      Stupid gitlab caching (see [2]) wasted on (un)zipping cache 4 minutes
      (of 6 total). Now it's replaced with a manual one: an archive (tar) is
      placed in a docker volume on a self-hosted gitlab runner with no
      compression.
      
      3. Speed up fetching git.
      
      The tarantool-sys submodule requires a tag to be built correctly, but
      using shallow clones prevented that. We used to work-around it by
      specifying `GIT_DEPTH: 0`, but that's sub-optimal too. This patch
      introduces an elegant yet reliable solution:
      
      ```
      until git describe; do git fetch --deepen 100; done
      ```
      
      4. No fine-grained time tracking was available
      
      Gitlab only shows the total time of `step_script` without splitting it
      into particular commands. This problem is solved by incorporating
      collapsible log sections feature, see [3]. It makes logs fancy too.
      
      Refs:
      
      - [1] https://docs.gitlab.com/ee/ci/yaml/#imagepull_policy
      - [2] https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3523
      - [3] https://docs.gitlab.com/ee/ci/jobs/#custom-collapsible-sections
      5d2dbc21
    • Alexey Protsenko's avatar
      ci: new build base Dockerfile · 265d3f82
      Alexey Protsenko authored and Yaroslav Dynnikov's avatar Yaroslav Dynnikov committed
      Move build base on Ubuntu 22.04
      265d3f82
  13. Oct 16, 2022
  14. Aug 29, 2022
  15. Aug 23, 2022
  16. May 30, 2022
  17. Apr 28, 2022
  18. Feb 21, 2022
  19. Feb 18, 2022
    • Georgy Moshkin's avatar
      build: static linking with tarantool · f77d1e5d
      Georgy Moshkin authored
      + tarantool-sys submodule
      + tarantool-patches directory
      + build.rs build script to patch and build tarantool
      + static linking with tarantool
      + refactoring for cli arguments
      f77d1e5d
  20. Feb 15, 2022
  21. Jan 19, 2022
  22. Dec 20, 2021
Loading