Skip to content
Snippets Groups Projects
  1. Aug 30, 2022
  2. Aug 29, 2022
  3. Aug 05, 2022
  4. Jul 13, 2022
    • Jonas Höppner's avatar
      CI: Lava Test: Allow to install test image directly from gitlab · ab09db0b
      Jonas Höppner authored
      The images from the build job can be directly installed from gitlab.
      To achive this some changes in the complete pipeline have been needed.
      
      1. The variables used in the build job, like CI_PARAM_IMAGE, ... and
         related variables like BUILDPATH are only valid in the build job now.
      2. The build job writes every variable needed in a follow up job into
         build.env. This also includes the url to the fng-install.sh of the
         final image.
      3. The build.env file is used as dotenv artifact, as well as normal
         file artifact.
         The dotenv make the written variables automatically available in
         follow up jobs, that are using the aritfacts, like the deploy job.
         The normal file artifact is available via artifact download.
         (I did't found a way to download the dotenv file instead)
      4. Some scripts have been added:
         - Find a job inside the pipeline by name, as the id is not known in
           advance.
         - Download all artifacts or one file of the artifacts from a given
           job
         - Download one file of the latest job by name
      5. The scripts are used to download the build.env into the test job
         (where not artifacts are needed anymore)
      6. The script is sourced and all variables are available inside the
         script.
      
      Additionally this adds a fake build job to the ci-test pipeline, that
      copies an image from srv73 and stores it as artifact in a way that a
      test-job can run on it, like in the normal yocto pipeline.
      ab09db0b
  5. Jul 12, 2022
  6. Jul 07, 2022
  7. Jul 05, 2022
  8. Jun 28, 2022
  9. Jun 21, 2022
    • Tim Jaacks's avatar
      Share manifest pipeline for ci-test and yocto · 9b8cf51c
      Tim Jaacks authored
      Combine all common yaml parts in manifest-pipeline.yml and add
      manifest-pipeline-yocto.yml and manifest-pipeline-ci-test.yml
      containing the different variable assignments for each environment.
      
      This change implicitly introduces parent-child build job generation in
      the ci-test pipeline, like it is done in the yocto pipeline already.
      The ci-test build jobs have been moved to build-jobs-ci-test.jinja2
      accordingly.
      
      Furthermore rename GITLAB_CI_CURRENT_REV to GITLAB_CI_REVISION and
      remove the run conditions from all generated build jobs, since these are
      already present in the upstream trigger job.
      
      The repos including these files have to be updated with the new file
      and variable names.
      9b8cf51c
    • Tim Jaacks's avatar
      Use CI variables in build template directly · c1b939fe
      Tim Jaacks authored
      The job generation script implicitly passes the OS environment to the
      template, so that the template has access to all GitLab CI variables.
      Hence there is no need to explicitly pass any of them as command line
      arguments.
      
      This change makes the "generate-build-jobs" job more generic, so that
      it can be shared with the ci-test pipeline in the future.
      c1b939fe
  10. Jun 13, 2022
Loading