Lines Matching +full:test +full:- +full:manual +full:- +full:mr
2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa
3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha 02337aec715c25dae7ff2479d986f831c77fe536
6 TARGET_BRANCH: drm-next
10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/deqp-runner.git
13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs
14 MESA_TEMPLATES_COMMIT: &ci-templates-commit c6aeb16f86e32525fa630fb99c66c4f3e62fc3cb
16 CI_PRE_CLONE_SCRIPT: |-
17 set -o xtrace
18 curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh -o download-git-cache.sh
19 bash download-git-cache.sh
20 rm download-git-cache.sh
23 S3_JWT_FILE_SCRIPT: |-
24 echo -n '${S3_JWT}' > '${S3_JWT_FILE}' &&
28 S3_KERNEL_BUCKET: mesa-rootfs
30 S3_GITCACHE_BUCKET: git-cache
33 # per-pipeline artifact storage on MinIO
35 # per-job artifact storage on MinIO
38 LAVA_TAGS: subset-1-gfx
39 # Default priority for non-merge pipelines
44 ARTIFACTS_BASE_URL: https://${CI_PROJECT_ROOT_NAMESPACE}.${CI_PAGES_DOMAIN}/-/${CI_PROJECT_NAME}/-/jobs/${CI_JOB_ID}/artifacts
54 - export SCRIPTS_DIR=$(mktemp -d)
55 - curl -L -s --retry 4 -f --retry-all-errors --retry-delay 60 -O --output-dir "${SCRIPTS_DIR}" "${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT_SHA}/.gitlab-ci/setup-test-env.sh"
56 - source ${SCRIPTS_DIR}/setup-test-env.sh
57 - eval "$S3_JWT_FILE_SCRIPT"
59 - echo -e "\e[0Ksection_start:$(date +%s):drm_ci_download_section[collapsed=true]\r\e[0KDownloading mesa from $DRM_CI_PROJECT_URL/-/archive/$DRM_CI_COMMIT_SHA/mesa-$DRM_CI_COMMIT_SHA.tar.gz"
60 - cd $CI_PROJECT_DIR
61 - curl --output - $DRM_CI_PROJECT_URL/-/archive/$DRM_CI_COMMIT_SHA/mesa-$DRM_CI_COMMIT_SHA.tar.gz | tar -xz
62 - mv mesa-$DRM_CI_COMMIT_SHA/.gitlab-ci* .
63 - mv mesa-$DRM_CI_COMMIT_SHA/bin .
64 - rm -rf mesa-$DRM_CI_COMMIT_SHA/
65 - echo -e "\e[0Ksection_end:$(date +%s):drm_ci_download_section\r\e[0K"
68 - >
71 test -e "${S3_JWT_FILE}" &&
77 - project: 'freedesktop/ci-templates'
78 ref: *ci-templates-commit
80 - '/templates/alpine.yml'
81 - '/templates/debian.yml'
82 - '/templates/fedora.yml'
83 - '/templates/ci-fairy.yml'
84 - project: *drm-ci-project-path
85 ref: *drm-ci-commit-sha
87 - '/.gitlab-ci/build/gitlab-ci.yml'
88 - '/.gitlab-ci/container/gitlab-ci.yml'
89 - '/.gitlab-ci/farm-rules.yml'
90 - '/.gitlab-ci/lava/lava-gitlab-ci.yml'
91 - '/.gitlab-ci/test-source-dep.yml'
92 - '/.gitlab-ci/test/gitlab-ci.yml'
93 - '/src/amd/ci/gitlab-ci-inc.yml'
94 - '/src/freedreno/ci/gitlab-ci-inc.yml'
95 - '/src/gallium/drivers/crocus/ci/gitlab-ci-inc.yml'
96 - '/src/gallium/drivers/llvmpipe/ci/gitlab-ci-inc.yml'
97 - '/src/gallium/drivers/nouveau/ci/gitlab-ci-inc.yml'
98 - '/src/gallium/drivers/softpipe/ci/gitlab-ci-inc.yml'
99 - '/src/gallium/drivers/virgl/ci/gitlab-ci-inc.yml'
100 - '/src/gallium/drivers/zink/ci/gitlab-ci-inc.yml'
101 - '/src/gallium/frontends/lavapipe/ci/gitlab-ci-inc.yml'
102 - '/src/gallium/frontends/rusticl/ci/gitlab-ci.yml'
103 - '/src/intel/ci/gitlab-ci-inc.yml'
104 - '/src/microsoft/ci/gitlab-ci-inc.yml'
105 - '/src/nouveau/ci/gitlab-ci-inc.yml'
106 - '/src/virtio/ci/gitlab-ci-inc.yml'
107 - 'docs/gitlab-ci.yml'
108 - drivers/gpu/drm/ci/image-tags.yml
109 - drivers/gpu/drm/ci/container.yml
110 - drivers/gpu/drm/ci/static-checks.yml
111 - drivers/gpu/drm/ci/build.yml
112 - drivers/gpu/drm/ci/test.yml
113 - drivers/gpu/drm/ci/check-devicetrees.yml
114 - drivers/gpu/drm/ci/kunit.yml
115 - 'https://gitlab.freedesktop.org/gfx-ci/lab-status/-/raw/main/lab-status.yml'
119 - sanity
120 - container
121 - deploy
122 - git-archive
123 - build-for-tests
124 - build-only
125 - static-checks
126 - kunit
127 - code-validation
128 - amdgpu
129 - i915
130 - mediatek
131 - meson
132 - msm
133 - panfrost
134 - powervr
135 - rockchip
136 - software-driver
140 # --------------------------------
141 .rules-anchors:
144 - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
147 - if: &is-merge-attempt $GITLAB_USER_LOGIN == "marge-bot" && $CI_PIPELINE_SOURCE == "merge_request_event"
148 # post-merge pipeline
149 - if: &is-post-merge $GITLAB_USER_LOGIN == "marge-bot" && $CI_PIPELINE_SOURCE == "push"
150 # Pre-merge pipeline
151 - if: &is-pre-merge $CI_PIPELINE_SOURCE == "merge_request_event"
153 - if: &is-fork-push $CI_PIPELINE_SOURCE == "push"
155 - if: &is-scheduled-pipeline $CI_PIPELINE_SOURCE == "schedule"
157 - if: &is-direct-push $CI_PIPELINE_SOURCE == "push" && $GITLAB_USER_LOGIN != "marge-bot"
161 .common-rules:
163 - if: *is-fork-push
164 when: manual
167 .never-post-merge-rules:
169 - if: *is-post-merge
173 .container+build-rules:
175 - !reference [.common-rules, rules]
176 # Run when re-enabling a disabled farm, but not when disabling it
177 - !reference [.disable-farm-mr-rules, rules]
179 - !reference [.never-post-merge-rules, rules]
181 - if: *is-merge-attempt
183 # Same as above, but for pre-merge pipelines
184 - if: *is-pre-merge
185 when: manual
187 - if: *is-direct-push
188 when: manual
190 - if: *is-scheduled-pipeline
194 - when: manual
198 # `when: delayed` + `start_in:`, for build-only jobs.
200 # `.container+build-rules` above.
201 .build-only-delayed-rules:
203 - !reference [.common-rules, rules]
204 # Run when re-enabling a disabled farm, but not when disabling it
205 - !reference [.disable-farm-mr-rules, rules]
207 - !reference [.never-post-merge-rules, rules]
209 - if: *is-merge-attempt
211 start_in: &build-delay 5 minutes
212 # Same as above, but for pre-merge pipelines
213 - if: *is-pre-merge
214 when: manual
216 - if: *is-direct-push
217 when: manual
219 - if: *is-scheduled-pipeline
221 start_in: *build-delay
224 - when: manual
227 .ci-deqp-artifacts:
234 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
235 - artifacts
236 - _build/meson-logs/*.txt
237 - _build/meson-logs/strace
240 python-artifacts:
246 make-git-archive:
248 - .fdo.ci-fairy
249 stage: git-archive
251 - !reference [.scheduled_pipeline-rules, rules]
253 - $FDO_RUNNER_JOB_PRIORITY_TAG_X86_64
255 # Remove drm-ci files we just added
256 - rm -rf .gitlab-ci.*
257 - rm -rf ci
260 - git gc --aggressive
262 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
265 - ci-fairy s3cp --token-file "${S3_JWT_FILE}" ../$CI_PROJECT_NAME.tar.gz https://$S3_HOST/${S3_GITCACHE_BUCKET}/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_PROJECT_NAME.tar.gz
268 # Sanity checks of MR settings and commit logs
271 - .fdo.ci-fairy
274 - $FDO_RUNNER_JOB_PRIORITY_TAG_X86_64
276 - if: *is-pre-merge
278 - when: never
282 # ci-fairy check-commits --junit-xml=check-commits.xml
283 - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=check-merge-request.xml
284 - |
285 set -eu
298 if [ "$(echo -n "${!var}" | wc -c)" -gt 20 ]
307 junit: check-*.xml
310 mr-label-maker-test:
312 - .fdo.ci-fairy
315 - $FDO_RUNNER_JOB_PRIORITY_TAG_X86_64
317 - !reference [.mr-label-maker-rules, rules]
322 - set -eu
323 - python3 -m venv .venv
324 - source .venv/bin/activate
325 - pip install git+https://gitlab.freedesktop.org/freedesktop/mr-label-maker
326 - mr-label-maker --dry-run --mr $CI_MERGE_REQUEST_IID
330 .required-for-hardware-jobs:
332 - job: clang-format
334 - job: rustfmt
336 - job: toml-lint
339 deploy-docs:
341 - when: never
343 linkcheck-docs:
345 - when: never
347 test-docs:
349 - when: never