Skip to content
Snippets Groups Projects
  • Zygmunt Krynicki's avatar
    f7eb3cb0
    .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
    History
    .ostc-ci: use build-recipe instead of build-image
    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>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
machines-and-flavours.yaml 3.98 KiB
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Huawei Inc.

# NOTE: This file is included from the manifest repository. It is not
# self-sufficient.  It is here only because the meta-ohos repository also
# contains all the flavour and machine definitions and having both in one place
# allows one to add a new MACHINE and the associated build jobs in one go.
#
# Please do not include this file directly.

# The following jobs are documented in docs/ci/shared-jobs.rst

linux-qemu-x86:
  extends: .build-recipe
  variables:
    MACHINE: qemux86
    OHOS_BUILD_FLAVOUR: linux
    OHOS_RECIPE_NAME: allscenarios-image-base-tests
    # Set OHOS_BUILD_CACHE to "pub", overriding the value defined in the
    # .build job. This enables sharing of download and sstate-cache created
    # during this job.
    #
    # This is done assuming that there are no non-redistributable or otherwise
    # tainted build intermediate files, downloads or published artifacts. All
    # the non-tainted builds help to populate a cache exposed at
    # https://cache.ostc-eu.org/bitbake
    OHOS_BUILD_CACHE: "pub"
    OHOS_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1

linux-qemu-x86_64:
  extends: .build-recipe
  variables:
    MACHINE: qemux86-64
    OHOS_BUILD_FLAVOUR: linux
    OHOS_RECIPE_NAME: allscenarios-image-base-tests
    # See the note on linux-qemu-x86.
    OHOS_BUILD_CACHE: "pub"
    OHOS_BB_LOCAL_CONF_BB_GENERATE_MIRROR_TARBALLS: 1

linux-seco-intel-b68:
  extends: .build-linux
  variables:
    MACHINE: seco-intel-b68

linux-seco-imx8mm-c61:
  extends: .build-linux
  variables:
    MACHINE: seco-imx8mm-c61
    # This platform requires proprietary resources to boot.
    # See build-generic.yaml for explanation of OHOS_BB_LOCAL_CONF_ variables.
    OHOS_BB_LOCAL_CONF_ACCEPT_FSL_EULA: 1

linux-stm32mp1-av96:
  extends: .build-recipe
  variables:
    OHOS_BUILD_FLAVOUR: linux
    OHOS_RECIPE_NAME: allscenarios-image-base-tests
    MACHINE: stm32mp1-av96

linux-raspberrypi4-64:
  extends: .build-linux
  variables:
    MACHINE: raspberrypi4-64

zephyr-qemu-x86:
  extends: .build-recipe
  variables:
    MACHINE: qemu-x86
    # See the note on linux-qemu-x86.
    OHOS_BUILD_CACHE: "pub"