Commit 641ef50a authored by ucas's avatar ucas
Browse files

test-tag-dingshi

No related merge requests found
Pipeline #173 failed with stage
in 2 minutes and 1 second
Showing with 22 additions and 1 deletion
+22 -1
......@@ -41,7 +41,18 @@ job:on-schedule:
- ./ssh-rc.sh
- lavacli --uri http://lhy0407:lhy-0407@localhost/RPC2/ jobs submit /home/ucas/lhy-test/yaml/wanghuo-base.yaml
job1:
job1:on-schedule:
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
script:
- echo "This is a job for schedule"
- ssh -llhy 192.168.77.168 "cd /workdir/lhy/wanghuo-rc/ && ./do_all.sh -m ft2004 -r rel-v1.0.0-rc2 --download-dir /workdir/lhy/yocto/downloads/ --sstate-dir /workdir/lhy/yocto/sstate-cache/"
- scp lhy@192.168.77.168:/workdir/lhy/wanghuo-rc/build_ft2004/tmp/deploy/images/ft2004/Image /home/ucas/lhy-test/qemu
- scp lhy@192.168.77.168:/workdir/lhy/wanghuo-rc/build_ft2004/tmp/deploy/images/ft2004//home/phytium/wanghuo-image-minimal-ft2004.ext4 /home/phytium/core-image-minimal-ft2004-evm.ext4
- lavacli --uri http://lhy0407:lhy-0407@localhost/RPC2/ jobs submit /home/ucas/lhy-test/yaml/test-qemu.yaml
job2:
only:
- tags
script:
......@@ -60,3 +71,13 @@ job1:
- ./ssh-rc.sh
- lavacli --uri http://lhy0407:lhy-0407@localhost/RPC2/ jobs submit /home/ucas/lhy-test/yaml/wanghuo-base.yaml
job3:
only:
- tags
script:
- echo "This is a job for tag"
- ssh -llhy 192.168.77.168 "cd /workdir/lhy/wanghuo-rc/ && ./do_all.sh -m ft2004 -r rel-v1.0.0-rc2 --download-dir /workdir/lhy/yocto/downloads/ --sstate-dir /workdir/lhy/yocto/sstate-cache/"
- scp lhy@192.168.77.168:/workdir/lhy/wanghuo-rc/build_ft2004/tmp/deploy/images/ft2004/Image /home/ucas/lhy-test/qemu
- scp lhy@192.168.77.168:/workdir/lhy/wanghuo-rc/build_ft2004/tmp/deploy/images/ft2004//home/phytium/wanghuo-image-minimal-ft2004.ext4 /home/phytium/core-image-minimal-ft2004-evm.ext4
- lavacli --uri http://lhy0407:lhy-0407@localhost/RPC2/ jobs submit /home/ucas/lhy-test/yaml/test-qemu.yaml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment