Skip to content
Snippets Groups Projects
  1. Sep 08, 2021
    • Zygmunt Krynicki's avatar
      .ostc-ci: use build-recipe instead of build-image · f7eb3cb0
      Zygmunt Krynicki authored
      
      There are indications that upload pipe between GitLab workers and the
      OSTC GitLab instance is slowing down CI, making an otherwise fast
      machine idle while it waits for network traffic.
      
      Since the images were only consumed by LAVA and for the moment, LAVA is
      disabled, switch jobs using .build-image to .build-recipe. The only
      difference is that now artifacts are discarded immediately after the
      build.
      
      This is a temporary workaround that can be reverted once the situation
      is debugged further.
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      f7eb3cb0
  2. Sep 02, 2021
  3. Jul 08, 2021
  4. Jun 29, 2021
  5. Jun 24, 2021
  6. Jun 23, 2021
  7. Jun 22, 2021
  8. Jun 21, 2021
  9. Jun 02, 2021
  10. Jun 01, 2021
  11. May 31, 2021
  12. May 28, 2021
  13. May 25, 2021
  14. May 07, 2021
  15. Apr 15, 2021
    • Zygmunt Krynicki's avatar
      gitlab-ci.yml: use new jobs from the manifest repo · 162fb231
      Zygmunt Krynicki authored
      
      The manifest repository now offers new hidden jobs, that make
      customization and reuse easier. Those allow us to remove bulk of the
      custom logic, again, reducing everything to mere configuration.
      
      The build-docs and update-docs jobs are entirely replaced by .build-docs
      and .aggregate-docs (name change without logic change).
      
      Custom .build job is split into smaller changes to the .workspace and
      .bitbake-workspace jobs. Lastly, the variable OHOS_CI_GIT_REPO_PATH
      is no longer relative to sources/ but includes it explicitly.
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      162fb231
  16. Mar 30, 2021
  17. Mar 26, 2021
  18. Mar 25, 2021
  19. Mar 24, 2021
  20. Mar 16, 2021
    • Zygmunt Krynicki's avatar
      .ostc-ci: Use shared .build job · 06319058
      Zygmunt Krynicki authored
      
      This further reduces some copying by including build-generic.yaml from
      the manifest repository. Bulk of the logic is reused now, with the
      switch to a custom branch of the meta-ohos git repository being the sole
      exception.
      
      One small optimization, that is also applied to the manifest repository
      is the override to drop image artifacts. Since those are not needed yet
      we can save the cost of performing the uploads to GitLab object storage.
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      06319058
  21. Mar 12, 2021
  22. Mar 04, 2021
  23. Mar 01, 2021
  24. Feb 25, 2021
  25. Feb 23, 2021
  26. Feb 22, 2021
    • Zygmunt Krynicki's avatar
      Check out git branch before initializing bitbake · 893679f0
      Zygmunt Krynicki authored
      
      Stefan observed that CI job initializes bitbake with layer configuration
      from the layer as checked out by git-repo, and only then switches to the
      branch being tested.
      
      This resulted in bitbake incorrectly failing to notice a layer that was
      added by the tested patch.
      
      The solution is to move all of the bitbake initialization stage from the
      .build jobs "script_before" section, to the "script" section. In effect
      any derivative job can use "script_before" to freely alter the source
      tree before bitbake is initialized. Due to the lucky arrangement of YAML
      anchors, the .build job's "script" keeps running with bitbake
      environment sourced, so it can do exactly what one would expect - build
      the desired recipe.
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      893679f0
    • Zygmunt Krynicki's avatar
      Build openharmony-image-base-tests for CI · 1b96930a
      Zygmunt Krynicki authored
      
      We have notced that some of ACTS dependencies do not build correctly for
      Avenger96. This went unnoticed because the CI system is building the
      plain image, that does not include any test dependencies.
      
      Fix that by building the test image instead of the plain image, for
      targets based on Linux.
      
      Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
      1b96930a
  27. Feb 19, 2021
Loading