Skip to content
Snippets Groups Projects
  1. Aug 29, 2023
  2. Aug 28, 2023
  3. Nov 28, 2022
  4. Aug 31, 2022
    • Tim Jaacks's avatar
      deploy_gitlab_ci: integrate only correct projects into the manifest · 3eef782e
      Tim Jaacks authored
      Previously we integrated all projects into the manifest, even those that
      belonged to a different manifest branch. That led to all manifests
      having the same project revisions, even if they should be different due
      to different intgrated project branches.
      
      Save a list of integration sources for each manifest branch separately
      now, so that we can check which project belongs to which manifest branch
      later.
      3eef782e
  5. Aug 30, 2022
  6. Aug 29, 2022
  7. Jun 13, 2022
  8. May 24, 2022
  9. May 20, 2022
  10. May 06, 2022
  11. Apr 04, 2022
  12. Apr 01, 2022
  13. Mar 31, 2022
    • Jonas Höppner's avatar
      CI: deploy_gitlab_ci: Rework the deployment of gitlab-ci into the child projects · 31d6d7da
      Jonas Höppner authored
      The deploy_gitlab_ci now creates the integration commit and branch in
      each passed subproject and create an integration commit in the manifest
      containing all these new revisions.
      A build is then triggered on this commit to test the functionality.
      
      Split the update_submodule functions to reuse them in different ways.
      Remove some previously used files.
      
      BCS 746-000740
      31d6d7da
  14. Mar 25, 2022
  15. Mar 24, 2022
    • Jonas Höppner's avatar
      CI: Generate .gitlab-ci.yml with include commands in deploy step · b097a253
      Jonas Höppner authored
      This change should be reverted after once used.
      It is needed to initially add the include .gitlab-ci.yml in
      all subprojects.
      b097a253
    • Jonas Höppner's avatar
      CI: Check: integration branch may have multiple commits · 4f194e21
      Jonas Höppner authored
      As all projects are commited in the same branch the 'up-to-date' check
      may not only check if the first parent commit points to the
      master/dunfell branch. Now it is needed to loop through the history
      until the integration branch's commit is found.
      
      On fail a message is displayed which merge request needs to be
      retriggered manually. This can now also be the 'parent'-MR that
      triggered the complete chain.
      
      The check job is used pipeline again.
      
      The retrigger job also looks in the .gitlab-ci project for check jobs to
      retrigger.
      4f194e21
    • Jonas Höppner's avatar
      CI: Deploy: create integration branches and trigger pipelines in subprojects · 0ee24df0
      Jonas Höppner authored
      Allow deploy_gitlab_ci to change multiple projects at once.
      Use it to create integration branches and merge requests in all
      projects.
      
      Add a python file to generate a job yml from jinja2 template.
      Add a template for the jobs to trigger. These execute the actual
      integration in all 'subprojects'.
      Create the yml file in the deploy job and trigger it in a new trigger
      job.
      0ee24df0
  16. Mar 18, 2022
    • Jonas Höppner's avatar
      CI: Update include file's ref in gitlab-ci.yml when deploying changes · 369e59b3
      Jonas Höppner authored
      Add update gitlab-ci file with function to adapt the include ref to a
      given revision.
      Add a 'pre-commit-hook' to the update-submodule function.
      Adapt deploy_gitlab_ci to use these to update the include statement in
      the base project .gitlab-ci.yml to use the same ref as the submodule
      is set to.
      
      BCS 746-000646
      369e59b3
  17. Mar 14, 2022
  18. Mar 01, 2022
  19. Jan 17, 2022
    • Tim Jaacks's avatar
      deploy_gitlab_ci: revert trigger pipeline on integration branch · a35820b2
      Tim Jaacks authored
      Explicitly triggering a pipeline in the target repository does not work
      easily from this place because we would have to distinguish between the
      manifest (which uses branch pipelines) and the sub-projects (which use
      merge request pipelines). This separation should not be hard-coded here,
      so we move the decision whether or not to run a pipeline to the
      .gitlab-ci.yml file of the target. Reverting these two commits:
      
      63279799
          deploy_gitlab_ci: trigger pipeline only if it has not run before
      
      dfc6204a
          deploy_gitlab_ci: trigger pipeline on integration branch
      a35820b2
  20. Dec 17, 2021
  21. Jun 29, 2021
    • Tim Jaacks's avatar
      a497a570
    • Tim Jaacks's avatar
      1fe2486a
    • Tim Jaacks's avatar
      Add deploy stage · 00f04bda
      Tim Jaacks authored
      The jobs in the deploy stage have to be triggered manually in GitLab.
      There is one deploy job for each project which uses the gitlab-ci
      scripts as a submodule, so that the deployment can be performed step by
      step.
      
      If executed within MR context, an integration MR is created and left
      open. The user can extend this integration MR, e.g. if CI scripts have
      been renamed, changed command line arguments or other changes requiring
      updates of the correspronding .gitlab-ci.yml file. Subsequent runs of
      this job will re-create the integration branch, so manual changes are
      lost in this case.
      
      If executed on the master branch (i.e. after the source MR has been
      merged), the job does exactly the same, plus the integration MR will be
      automatically merged. If this fails, the job will fail as well.
      00f04bda
Loading