1. 22 Aug, 2022 1 commit
  2. 02 Aug, 2022 1 commit
  3. 13 Jul, 2022 2 commits
    • GitBot's avatar
      Integrate gitlab-ci/add-test-reporting-to-test-jobs · c0a61c37
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@52bae4a1
      
      Lava Testreporting: Add script to generate markdown report for given jobids
      
      Adds scripts for mark down generation.
      Adds scripts for lava test result queries.
      Adds script to generate a mark down report from this data
      Call script from submit_test to generate a report directly
      after the testrun.
      c0a61c37
    • GitBot's avatar
      Integrate gitlab-ci/run-test-from-gitlab-directly · e63b6d20
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@ab09db0b
      
      CI: Lava Test: Allow to install test image directly from gitlab
      
      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.
      e63b6d20
  4. 12 Jul, 2022 1 commit
  5. 07 Jul, 2022 1 commit
  6. 06 Jul, 2022 3 commits
    • GitBot's avatar
      Integrate gitlab-ci/CI-variable-scope-for-CI_PARAM_IMAGE-and-more · 0187fdee
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@c503a6d4
      
      CI: pipeline yocto: Change scope of CI_PARAM_IMAGE, ... to fix fngsystem build
      
      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.
      0187fdee
    • GitBot's avatar
      Integrate gitlab-ci/CI-readd-allow-failure-true · ac255d2f
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@ea3aa816
      
      CI: Readd allow_failure:true to fix not finished pipelines
      
      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.
      ac255d2f
    • GitBot's avatar
      Integrate gitlab-ci/test-artifact-upload · a782889b
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@dc0503b6
      
      CI: Hardcode the artifacts path in the generated job description
      
      Some gitlab update(?) seem to have changed the behaviour in
      variable passing. In the scripts the variables are available
      but in the artifacts path does not resolve them any more.
      May be it has something to do with the introduction of the
      trigger:forward keyword.
      a782889b
  7. 28 Jun, 2022 2 commits
  8. 21 Jun, 2022 2 commits
    • GitBot's avatar
      Integrate gitlab-ci/share-manifest-pipeline and 2 more · e5c8f4f6
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@9b8cf51c
      
      Share manifest pipeline for ci-test and yocto
      
      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.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@c1b939fe
      
      Use CI variables in build template directly
      
      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.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@775c09c1
      
      Add gitlab_backup script to download all project exports of a gitlab group
      e5c8f4f6
    • GitBot's avatar
      Integrate gitlab-ci/fix-build-merge-request-job and 1 more · 1f9cd030
      GitBot authored
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@7f68f307
      
      Yocto manifest build: re-enable build:merge_request job
      
      This job was accidentally disabled in 2e6c1b4, 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.
      
      --
      
      Commit: seco-ne/yocto/infrastructure/gitlab-ci@970c7fd7
      
      Re-add yamllint stage to ci test manifest pipeline
      
      Was accidentally removed in previous commit.
      1f9cd030
  9. 20 Jun, 2022 2 commits
  10. 13 Jun, 2022 3 commits
  11. 01 Jun, 2022 1 commit
  12. 31 May, 2022 3 commits
  13. 24 May, 2022 2 commits
  14. 20 May, 2022 3 commits
  15. 06 May, 2022 3 commits
  16. 04 May, 2022 1 commit
  17. 13 Apr, 2022 1 commit
  18. 12 Apr, 2022 1 commit
  19. 05 Apr, 2022 1 commit
  20. 04 Apr, 2022 1 commit
  21. 01 Apr, 2022 1 commit
  22. 31 Mar, 2022 1 commit
  23. 29 Mar, 2022 2 commits
  24. 25 Mar, 2022 1 commit