opensbi.yml (94b731874a853cebc50f8e30c85c9c533a690c05) | opensbi.yml (37a2b95231d6699536820c8ff0ca3f5ba8356184) |
---|---|
1# All jobs needing docker-opensbi must use the same rules it uses. 2.opensbi_job_rules: | 1# All jobs needing docker-opensbi must use the same rules it uses. 2.opensbi_job_rules: |
3 rules: # Only run this job when ... | 3 rules: 4 # Run if any files affecting the build output are touched |
4 - changes: | 5 - changes: |
5 # this file is modified | |
6 - .gitlab-ci.d/opensbi.yml | 6 - .gitlab-ci.d/opensbi.yml |
7 # or the Dockerfile is modified | |
8 - .gitlab-ci.d/opensbi/Dockerfile | 7 - .gitlab-ci.d/opensbi/Dockerfile |
9 when: on_success 10 - changes: # or roms/opensbi/ is modified (submodule updated) | |
11 - roms/opensbi/* 12 when: on_success | 8 - roms/opensbi/* 9 when: on_success |
13 - if: '$CI_COMMIT_REF_NAME =~ /^opensbi/' # or the branch/tag starts with 'opensbi' | 10 11 # Run if the branch/tag starts with 'opensbi' 12 - if: '$CI_COMMIT_REF_NAME =~ /^opensbi/' |
14 when: on_success | 13 when: on_success |
15 - if: '$CI_COMMIT_MESSAGE =~ /opensbi/i' # or last commit description contains 'OpenSBI' | 14 15 # Run if the last commit msg contains 'OpenSBI' (case insensitive) 16 - if: '$CI_COMMIT_MESSAGE =~ /opensbi/i' |
16 when: on_success 17 18docker-opensbi: 19 extends: .opensbi_job_rules 20 stage: containers 21 image: docker:19.03.1 22 services: 23 - docker:19.03.1-dind --- 38 unchanged lines hidden --- | 17 when: on_success 18 19docker-opensbi: 20 extends: .opensbi_job_rules 21 stage: containers 22 image: docker:19.03.1 23 services: 24 - docker:19.03.1-dind --- 38 unchanged lines hidden --- |