Skip to content
Snippets Groups Projects
  1. 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
  2. Jul 12, 2022
  3. Jul 07, 2022
  4. Jul 06, 2022
    • Jonas Höppner's avatar
      CI: pipeline yocto: Change scope of CI_PARAM_IMAGE, ... to fix fngsystem build · c503a6d4
      Jonas Höppner authored
      The variables CI_PARAM_IMAGE, CI_PARAM_DISTRO, CI_MACHINE have been
      defined outside the job in the '.gitlab-ci.yml' file. This has a lower
      precedence then variables defined inside the job, but it seems that
      these variables are used in the scope of 'Trigger variables' when
      available in the trigger job. These override the value set in the
      template. As main results this made FNGSystem jobs build the normal
      yocto.
      c503a6d4
    • Jonas Höppner's avatar
      CI: Readd allow_failure:true to fix not finished pipelines · ea3aa816
      Jonas Höppner authored
      According to the docs a manual job always has allow_failure set to
      true, but we see a lot of jobs staying in an unfinished state since
      the removal of the allow_failure: true keyword for the sdk and test
      jobs. This should fix the broken behaviour.
      ea3aa816
  5. Jul 05, 2022
  6. Jun 28, 2022
  7. 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
    • Jonas Höppner's avatar
    • Tim Jaacks's avatar
      Yocto manifest build: re-enable build:merge_request job · 7f68f307
      Tim Jaacks authored
      This job was accidentally disabled in 2e6c1b4f, because it was included
      in the generated child pipeline. This pipeline is not created on the
      master, though, so the condition for the job was never met.
      
      Move the job to the parent pipeline again, so that it gets executed on
      the master like before.
      7f68f307
  8. Jun 20, 2022
  9. Jun 14, 2022
  10. Jun 13, 2022
  11. Jun 01, 2022
  12. May 31, 2022
  13. May 24, 2022
  14. May 20, 2022
  15. May 19, 2022
Loading