gitlab-ci: use git clean -ffdx in build each commit test
PATCH 1/1 gitlab-ci: use git clean -ffdx in build each commit test
The build script invoked is designed to run in a pristine checkout.
--- automation/gitlab-ci/build-each-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
automation/gitlab-ci/build-each-commit.sh +1 -1
@@ -15,4 +15,4 @@ fi echo "Building ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA}" NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${CI_COMMIT_BEFORE_SHA} ${CI_COMMIT_SHA} \ - bash -c "make -j4 distclean && ./automation/scripts/build" + bash -c "git clean -ffdx && ./automation/scripts/build"
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 6 lines · Wei Liu
The build script invoked is designed to run in a pristine checkout.
Signed-off-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 12 lines · Wei Liu
The build script invoked is designed to run in a pristine checkout.
Signed-off-by Wei Liu <[email protected]>--- automation/gitlab-ci/build-each-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)automation/gitlab-ci/build-each-commit.sh +0
-0
automation/gitlab-ci/build-each-commit.sh fi · line 18
Quoted 5 lines
automation/gitlab-ci/build-each-commit.sh +1
-1@@ -15,4 +15,4 @@ fi echo "Building ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA}" NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${CI_COMMIT_BEFORE_SHA} ${CI_COMMIT_SHA} \ - bash -c "make -j4 distclean && ./automation/scripts/build" + bash -c "git clean -ffdx && ./automation/scripts/build"
Is this mean that QEMU, OVMF, SeaBIOS, ... are going to be clonned again and again? But maybe it doesn't matter.
Signature · 6 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 15 lines · Anthony PERARD
Quoted 14 lines · Wei Liu
The build script invoked is designed to run in a pristine checkout.
Signed-off-by Wei Liu <[email protected]>--- automation/gitlab-ci/build-each-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)automation/gitlab-ci/build-each-commit.sh +0
-0@@ -15,4 +15,4 @@ fi echo "Building ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA}"
Quoted 6 lines
automation/gitlab-ci/build-each-commit.sh fi · line 18
Quoted 3 lines
automation/gitlab-ci/build-each-commit.sh +1
-1NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${CI_COMMIT_BEFORE_SHA} ${CI_COMMIT_SHA} \ - bash -c "make -j4 distclean && ./automation/scripts/build" + bash -c "git clean -ffdx && ./automation/scripts/build"Is this mean that QEMU, OVMF, SeaBIOS, ... are going to be clonned again and again? But maybe it doesn't matter.
Yes. But I don't think that matters much.
Wei.
Quoted 3 lines
Signature · 2 lines
-- Anthony PERARD
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 16 lines · Wei Liu
Quoted 15 lines · Anthony PERARD
Quoted 14 lines · Wei Liu
The build script invoked is designed to run in a pristine checkout.
Signed-off-by Wei Liu <[email protected]>--- automation/gitlab-ci/build-each-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)automation/gitlab-ci/build-each-commit.sh +0
-0@@ -15,4 +15,4 @@ fi echo "Building ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA}"
Quoted 8 lines
Quoted 6 lines
automation/gitlab-ci/build-each-commit.sh fi · line 18
Quoted 3 lines
automation/gitlab-ci/build-each-commit.sh +1
-1NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${CI_COMMIT_BEFORE_SHA} ${CI_COMMIT_SHA} \ - bash -c "make -j4 distclean && ./automation/scripts/build" + bash -c "git clean -ffdx && ./automation/scripts/build"Is this mean that QEMU, OVMF, SeaBIOS, ... are going to be clonned again and again? But maybe it doesn't matter.
Yes. But I don't think that matters much.
BTW, distclean deletes those repositories as well. The nature of this specific test means it is best to start in a pristine environment, because we could potentially move the HEAD of all those repositories.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel