Skip to content
Snippets Groups Projects
  1. Sep 28, 2024
    • Robert Schmidt's avatar
      2b67b0e1
    • Robert Schmidt's avatar
      Implement CreateWorkspace() through script, print dir in HTML · 60b9649e
      Robert Schmidt authored
      Use a script, which can be tested independently of CI code (by running
      it on the host on which it will be used), and print the directory that
      has been prepared in the HTML.  Also, in the description, use the
      infinitive/imperative(?) of the verb to harmonize with other steps.
      60b9649e
    • Robert Schmidt's avatar
      Reimplement DeployObject()/UndeployObject() · 5201a5c3
      Robert Schmidt authored
      This reimplements the CI deployment functions, and makes them a bit more
      robust.  Concretely:
      
      - Introduce a generic "deployment tag" option that can be used to
        override the tag to use for specific images. By default, it is the
        current "branch-commitID[0:8]" tag name (requires the change from
        function ImageTagToUse() to CreateTag(), impacting also pull/push
        image functions)
      - Avoid sed for image names, and use an .env file that docker-compose
        picks up automatically; the deployment analyzes a potentially existing
        .env file and updates instead of simply overriding. For instance, some
        pipelines might use -asan images for the gNB and "normal" (non-asan)
        images for UE, and a simple overwriting might make the -asan image
        name tag disappear for the gNB, resulting in deployment failures).
        Finally, undeployment removes the .env file, so that there are no
        modifications in the repository after undeployment.
      - Redo the previous behavior of autodetecting asan, and use that (the
        current function always uses asan, no matter what)
      - Remove deployKind/displayedNewTags globals, as they are not necessary
      - Make the usedImage output in HTML slimmer
      - On undeployment, print service names next to undeploy analysis, and
        return success/failure.
      - Make the functions generally less verbose and easier to read
      
      Note that as of and only in this commit, deployment does not work, as
      all the YAML files have not been updated to work with this updated
      version.  The next commit adds tests for the new deployment, and updates
      one YAML file (also being used in the tests). The follow-up commit then
      modifies all YAML files.
      5201a5c3
    • Robert Schmidt's avatar
      Remove prematureExit/exitStatus, and implement in task main loop · 041b2b2d
      Robert Schmidt authored
      Use the previous commit on returning success from each task execution
      function, and implement handling of errors in the main loop. Add a
      script with which this is visible using Custom_Commands.
      041b2b2d
    • Robert Schmidt's avatar
  2. Sep 27, 2024
  3. Sep 26, 2024
  4. Sep 06, 2024
  5. Sep 04, 2024
  6. Sep 02, 2024
  7. Jul 13, 2024
  8. Jun 25, 2024
    • Robert Schmidt's avatar
      Update cross-compilation builder to Ubuntu 22 · 199f8c21
      Robert Schmidt authored
      Update instructions and CI for cross-compilation on Ubuntu 22.
      Note that for the dockerfile, we use egrep -L which has changed and does
      not exit with code 0 on no match. Instead, use -vqz to invert return
      code (0 if nothing found, otherwise 1).
      199f8c21
    • Robert Schmidt's avatar
      Upgrade CI images to Ubuntu 22 · 94497435
      Robert Schmidt authored
      This updates all images in the CI to Ubuntu 22. It also updates
      corresponding documentation. Remove python(2) from the image, as it is
      not needed. Update documentation.
      
      It seems that the gcc coming in Ubuntu 22 does not like
      stack-protector-strong, so remove it as well.
      
      Since we compile Flexric, which does not support Ubuntu 22's default
      gcc-11 (it hits a compile bug), switch to gcc-12 manually.
      
      Since we update the compiler, we also need to be careful to use the right
      address sanitizer version (which is bundled with the compiler version).
      To avoid a reinstallation of the wrong asan version in target images, we
      modify Ubuntu 22 targets to copy libasan from the base image. This is necessary
      since we use update-alternative in the base image, but we don't want to
      install compilers in the target images to use update-alternatives to
      install the right asan version... This should be undone when switching
      to Ubuntu 24 in the future, as it will have a newer default gcc version,
      such that we don't need to update the compile in the first place.
      
      Upgrade libpython in lteUE for U22 upgrade to make it compatible with
      UHD.
      94497435
  9. Jun 13, 2024
  10. Jun 05, 2024
  11. Jun 03, 2024
    • Robert Schmidt's avatar
      CI DeployObject: don't grep, just give service name · 0077d219
      Robert Schmidt authored
      With the capabilities now given as part of this MR, it happens that when
      checking the "docker compose config", the container_name might not be
      close to the service name. Something like
      
        service:
          cap_drop:
            ...
          cap_add:
            ...
          container_name:
      
      This is inconvenient, as the previous grep for the service name + 3
      lines might not cover the service name. To circumvent this, give the
      service name directly in "docker compose config". (no clue why it has
      not been done like this from the start)
      0077d219
    • Robert Schmidt's avatar
      BuildUnitTests: need to use ran-base:ci-temp if changes in ran-base · 37421c3f
      Robert Schmidt authored
      Use correct baseTag for Unit Tests build in execution:
      - if build_helper or othe files changed, which would trigger rebuild of
        ran-base, use the corresponding ci-temp tag
      - use that tag consistently afterwards
      37421c3f
  12. Apr 18, 2024
    • Jaroslava Fiedlerova's avatar
      CI: Modification of log collection in UndeployObject() · e3547dfb
      Jaroslava Fiedlerova authored
      After the recent update of matix, collected logs contain color codes
      and we did not find the way to switch them completely off.
      Replacement of "docker compose logs" by "docker logs" resolves this
      issue. This commit includes changes related to "docker logs" usage.
      e3547dfb
  13. Apr 08, 2024
  14. Mar 27, 2024
  15. Mar 22, 2024
  16. Mar 08, 2024
  17. Mar 05, 2024
  18. Feb 08, 2024
Loading