Skip to content
Snippets Groups Projects
  1. Sep 03, 2022
    • Edmund Smith's avatar
      Use local repos until branches are pushed · e4c93968
      Edmund Smith authored
      e4c93968
    • Edmund Smith's avatar
      Add tests for Run · e8ada13f
      Edmund Smith authored
      Although these are written as unit tests, these are really integration
      tests, because we only interact with the runner through the mocks it
      is connected to. There is no obvious way to write unit tests for Run
      in this framework.
      
      Each test simply spawns a runner using the two mocks
      (gitlab-runner-mock and lava-api-mock), and then tries to observe the
      gitlab-runner-mock state, after mutating the lava-api-mock state.
      e8ada13f
    • Edmund Smith's avatar
      Minor typo in error message · a1f2068d
      Edmund Smith authored
      jog log -> job log
      a1f2068d
    • Edmund Smith's avatar
      Create a JobLog type separate from the main Run · 9e7df3a8
      Edmund Smith authored
      The log handling is complicated enough that it benefits from
      separating out, in order to make testing more practical. There are no
      functional changes. Tests to follow in a subsequent commit.
      9e7df3a8
  2. Aug 12, 2022
    • Sjoerd Simons's avatar
      Support docker image tagging for tags · badf1fb2
      Sjoerd Simons authored
      
      Adjust the docker image generation to differentiate between tags and
      normal builds. For normal commmits it generates containers as
      <branch name>:<sha + pipeline id> as is the case now. For tags it the
      images will be placed under the lava-gitlab-runner name directly with
      the image tag matching the repository tag.
      
      The tagged images will also be protected from garbage collection to
      prevent users potentially missing images
      
      Signed-off-by: default avatarSjoerd Simons <sjoerd@collabora.com>
      v0.1.0
      badf1fb2
  3. Aug 11, 2022
    • Sjoerd Simons's avatar
      Merge branch 'eds/at8952' into 'main' · 6ea8e28a
      Sjoerd Simons authored
      Initial template transformation
      
      See merge request !3
      6ea8e28a
    • Edmund Smith's avatar
      Initial template transformation · 1e1cac97
      Edmund Smith authored
      This uses handlebars to substitute for job variables provided by
      gitlab, with the prefix of `job.`, so to substitute for
      `CI_JOB_TOKEN` you can use `{{ job.CI_JOB_TOKEN }}`.
      
      Note that this is the runner, and template transformations may already
      have been applied at an earlier generation step for the job
      (e.g. using jinja) which means the actual substitutions in this phase
      may need to have been escaped.
      1e1cac97
  4. Jul 18, 2022
  5. May 16, 2022
  6. Apr 13, 2022
  7. Mar 31, 2022
  8. Mar 22, 2022
  9. Mar 21, 2022
  10. Mar 05, 2022
  11. Oct 23, 2021
  12. Oct 15, 2021
  13. Oct 02, 2021
  14. Oct 01, 2021
Loading