1. 04 Oct, 2024 1 commit
  2. 03 Oct, 2024 2 commits
    • Robert Schmidt's avatar
      Merge branch 'integration_2024_w40' into 'develop' · d8a6c5c9
      Robert Schmidt authored
      Integration: `2024.w40`
      
      Closes #756 and #849
      
      See merge request oai/openairinterface5g!3014
      
      * !2886 (doc): Added a new doc on hardware requirements
      * !2955 dockerized clang-format error detection tool
      * !3005 Fix symbol size in nr_dlsch_mmse
      * !2930 SRS tx power
      * SA-B200-Module-SABOX pipeline: improve radio
      * SA-AW2S-CN5G: accept 5% ping packet loss
      * !3003 Resolve "SEGFAULT in L1_rx_thread" - CI
      * !3016 fix tests for log2_approx and log2_approx64
      * patch to move RFsim-4G to cacofonix
      d8a6c5c9
    • Robert Schmidt's avatar
      More CI RFsim4G to cacofonix · 4c85eb4a
      Robert Schmidt authored
      4c85eb4a
  3. 02 Oct, 2024 10 commits
  4. 01 Oct, 2024 9 commits
  5. 30 Sep, 2024 7 commits
  6. 29 Sep, 2024 4 commits
  7. 28 Sep, 2024 7 commits
    • Robert Schmidt's avatar
      2b67b0e1
    • Robert Schmidt's avatar
    • 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
      Implement runScript in cls_cmd for LocalCmd/RemoteCmd, add test · e541aee4
      Robert Schmidt authored
      A lot of CI code is python mixed with bash, e.g.,
      
          ssh = getConnection(host)
          ssh.run('ls')
          ssh.run('echo')
      
      At least some of this CI code would benefit if it was written in a
      simple bash script, returning error codes and potentially other
      information either through stdout/stderr or files, to the calling Python
      code:
      
          ssh = runScript(host, script)
          # script does: ls; echo
      
      This commit introduces the possibility to run entire scripts. The idea
      is that the executor has a script (on localhost), which is either
      executed locally or on a remote host. For the remote host, the script is
      not copied but piped into a remotely executed bash. In both cases,
      output is either returned like the Cmd.run() function with returncode
      and mixed stdout/stderr, or optionally redirected into a file on the
      (remote) host, which can be treated further by the Python code in later
      steps.
      e541aee4
    • Robert Schmidt's avatar
    • Robert Schmidt's avatar
      51bf5c0f
    • 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