Skip to content
Snippets Groups Projects
  1. Sep 01, 2019
    • kongr45gpen's avatar
      Merge branch 'faster-ci' into 'master' · 62784004
      kongr45gpen authored
      CI pipeline optimization
      
      Resolves #46 and #40.
      
      The average pipeline time is ~11 minutes until failure or success with the current CI configuration. Main causes of this are:
      - The original Docker image used for the runners (`lycantropos/cmake`) is bloated, weighing at about **600 MB** for the [latest tag](https://hub.docker.com/r/lycantropos/cmake/tags). This image is downloaded for every stage of the pipeline separately, and due to its size, there is a huge delay between setup and start of the stage.
      - There are too many calls to `apt-get update` and `install`, that are executed at every stage without reason. Plus, downloading and installing additional packages *for every stage* is also time-consuming, which contributes to the delays.
      
      This problem is solved by creating a lighter Docker image (`lightspot21/acubesat-ci`), based on Alpine Linux, which contains all the necessary tools for linting and building (`cmake`, `cppcheck`, `clang-tidy`, `gcc`, `vera++`) plus the code coverage tools `gcovr` and `lcov`. The whole package weighs at **168 MB** for the [latest tag](https://cloud.docker.com/repository/docker/lightspot21/acubesat-ci/tags), which is **73%** less than what we use currently.
      
      Gains:
      - Average pipeline time down to **5-7 minutes** from 11-13 (variation is due to server load) with some times even earlier when failing, resulting in quicker fixes.
      - Ability to directly control tool versions.
      
      All comments/ideas are welcome, especially on optimizing the Docker image size even more!
      
      See merge request acubesat/obc/ecss-services!51
      62784004
    • Grigoris Pavlakis's avatar
    • kongr45gpen's avatar
    • kongr45gpen's avatar
      Add the Dockerfile used to generate the image · 16bc7677
      kongr45gpen authored
      Reenable clang-tidy on new pipeline
      
      Fix vera and clang-tidy
      
      Update the used Dockerfile to include clang-tidy
      
      Clean up commented out stuff from CI configuration
      
      Update Dockerfile according to suggestions
      
      Fix the virtual package
      
      Move update to initialization to ensure latest version of everything
      
      Merge branch 'faster-ci' of https://gitlab.com/acubesat/obc/ecss-services into faster-ci
      
      Fixes for new broken clang-tidy rules
      Unverified
      16bc7677
    • Grigoris Pavlakis's avatar
      # This is a combination of 8 commits. · ea523c30
      Grigoris Pavlakis authored
      # This is the 1st commit message:
      Add the Dockerfile used to generate the image
      # This is the commit message #2:
      
      Reenable clang-tidy on new pipeline
      # This is the commit message #3:
      
      Fix vera and clang-tidy
      # This is the commit message #4:
      
      Update the used Dockerfile to include clang-tidy
      # This is the commit message #5:
      
      Clean up commented out stuff from CI configuration
      # This is the commit message #6:
      
      Update Dockerfile according to suggestions
      # This is the commit message #7:
      
      Fix the virtual package
      # This is the commit message #8:
      
      Move update to initialization to ensure latest version of everything
      Unverified
      ea523c30
    • Grigoris Pavlakis's avatar
      Fix CI configuration · b6e68e5a
      Grigoris Pavlakis authored
      Fix missing script directive
      
      Update .gitlab-ci.yml
      
      Override image entrypoint to include '-c' argument
      
      Revert previous override due to broken .gitlab-ci.yml
      
      Remove -Werror argument
      
      Update .gitlab-ci.yml
      Unverified
      b6e68e5a
    • Grigoris Pavlakis's avatar
      Update .gitlab-ci.yml · 2590121b
      Grigoris Pavlakis authored
      Unverified
      2590121b
  2. Aug 08, 2019
  3. Aug 07, 2019
  4. Aug 06, 2019
    • kongr45gpen's avatar
      Merge branch 'ECSS-ST13-split-function' into 'master' · b99cbfb1
      kongr45gpen authored
      ECSS ST13 Split Function
      
      **ECSS ST13 Split Function**  
      After the initial development of the ECSS ST13 Large Packet Transfer Service, it is time to * *drumroll* * add the required function that is used to split the Large Messages into smaller ones.  
      Currently it works with normal messages. However, the function should be changed in the future, perhaps with the addition of messages that are able to contain an amount of data larger than the current Message class can hold. Right now the Message::data can contain up to 1024 bytes. The max octet string size is 256. The testing was based on these numbers.
      
      **Things to consider about this Service && Function**
      *  A new class that fosters all the needs of a large message might be needed
      *  Sensors or any device that will produce any kind of data, might use this class, for the purposes of ignoring the data size limit imposed by the protocol
      
      See merge request acubesat/obc/ecss-services!37
      b99cbfb1
    • athatheo's avatar
      ECSS ST13 Split Function · 1640f47a
      athatheo authored
      1640f47a
  5. Jul 30, 2019
  6. May 04, 2019
  7. May 03, 2019
  8. Apr 23, 2019
  9. Apr 20, 2019
  10. Apr 17, 2019
  11. Apr 16, 2019
  12. Apr 15, 2019
Loading