diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27c2e9d26759f0dd9db7fd34e14fcd972e1e6ab9..17e9d4c9ce96904e1ca81ced3e4dd33fbb70a85a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,16 +75,6 @@ executable: MERGE: "" script: - cd ${CI_PROJECT_DIR} - - echo - - echo ${CI_SERVER_URL} - - echo ${GITBOT_TOKEN} - - echo ${MANIFEST_PROJECT} - - echo ${MANIFEST_BRANCH} - - echo ${CI_COMMIT_SHA} - - echo ${PROJECT_GROUP} - - echo ${MERGE} - - echo ${CI_PROJECT_NAME} - - echo ${CI_COMMIT_REF_NAME} - scripts/deploy_gitlab_ci.py --gitlab-url=${CI_SERVER_URL} --token=${GITBOT_TOKEN} diff --git a/build-jobs-ci-test.yml.jinja2 b/build-jobs-ci-test.yml.jinja2 index 1eb2fb182d06d79a138d79062795accff1ce08f4..d33a30c5fd559695b4fa8f2292d767c79ee008e9 100644 --- a/build-jobs-ci-test.yml.jinja2 +++ b/build-jobs-ci-test.yml.jinja2 @@ -5,7 +5,7 @@ # As the trigger job is not executed in a environment with checked out repository, we # need to get the includes directly from gitlab include: - - project: '{{ CI_PROJECT_ROOT_NAMESPACE }}/yocto/infrastructure/gitlab-ci' + - project: '{{ CI_PROJECT_ROOT_NAMESPACE }}/infrastructure/gitlab-ci' ref: {{ GITLAB_CI_REVISION }} file: - build-common.yml diff --git a/manifest-integration-jobs.yml.jinja2 b/manifest-integration-jobs.yml.jinja2 index 1553845db31c3a85a3f73370dbbe0061ae16c13c..7a8c51cd686a8b50b639d3900c8bf3ced14b9e23 100644 --- a/manifest-integration-jobs.yml.jinja2 +++ b/manifest-integration-jobs.yml.jinja2 @@ -4,13 +4,13 @@ # -------------------------------------------------------------------------------------- include: # FIXME: see FIXME comments in manifest-integration-pipelines.yml.jinja2 - # - project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci' + # - project: '${CI_PROJECT_ROOT_NAMESPACE}/infrastructure/gitlab-ci' # ref: ${GITLAB_CI_REVISION} - - project: {{ CI_PROJECT_ROOT_NAMESPACE }}/yocto/infrastructure/gitlab-ci + - project: {{ CI_PROJECT_ROOT_NAMESPACE }}/infrastructure/gitlab-ci ref: {{ GITLAB_CI_REVISION }} file: common.yml -workflow: +wor rules: - if: $CI_PIPELINE_SOURCE == "parent_pipeline" diff --git a/manifest-integration-pipelines.yml.jinja2 b/manifest-integration-pipelines.yml.jinja2 index 01d71a8e15c037477136a2d136a7909a102da441..3be651715d3d405b23c251256f04de43c2e989e8 100644 --- a/manifest-integration-pipelines.yml.jinja2 +++ b/manifest-integration-pipelines.yml.jinja2 @@ -3,7 +3,7 @@ # Global # -------------------------------------------------------------------------------------- include: - - project: edgehog/yocto_ng/gitlab-ci + - project: yocto_ng/infrastructure/gitlab-ci ref: {{ GITLAB_CI_REVISION }} file: common.yml @@ -73,7 +73,7 @@ generate: trigger: include: # FIXME: Use these settings after switching from jinja2 to yaml (see above) - # project: '${CI_PROJECT_ROOT_NAMESPACE}/yocto/infrastructure/gitlab-ci' + # project: '${CI_PROJECT_ROOT_NAMESPACE}/infrastructure/gitlab-ci' # ref: ${GITLAB_CI_REVISION} # file: manifest-integration-jobs.yml artifact: manifest-integration-jobs-{{ loop.index }}.yml diff --git a/manifest-pipeline-yocto.yml b/manifest-pipeline-yocto.yml index 34aabee23adf2128170dbb973572ec9a3ae536f8..c8fcd13ba0b5931bb5c8add069c1181748609431 100644 --- a/manifest-pipeline-yocto.yml +++ b/manifest-pipeline-yocto.yml @@ -8,7 +8,12 @@ include: - local: boards/.a62.yml - local: boards/.c20.yml - local: boards/.c31.yml - + +default: + artifacts: + expire_in: 48 hrs + when: always + variables: # The id of the gitlab project used in the rules section to not run pipelines in # forked projects. Using variable here, to allow override in other projects including @@ -22,8 +27,14 @@ variables: # GitLab group to search for projects to retrigger RETRIGGER_GROUP: ${CI_PROJECT_ROOT_NAMESPACE} - BUILD_TIMEOUT: 6h + RECIPE_NAME: seco-image-edgehog + IMAGES_PATH: "tmp/deploy/images" + TAG_NAME: weekly + KERNEL: 5-10-52 + GIT_SSL_NO_VERIFY: 1 + FS_EXTENSION: rootfs.tar.bz2 + IMAGE_EXTENSION: wic.bz2 # This is the jinja2 template file used to generate the build jobs #BUILD_JOBS_TEMPLATE: build-jobs-yocto.yml.jinja2