[Libguestfs] [libnbd PATCH v2 19/23] ci: Rename build_script.sh to just build.sh

Martin Kletzander mkletzan at redhat.com
Thu Jun 10 23:12:23 UTC 2021


The "script" is kind of implied and a bother to write all the time when testing.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 .gitlab-ci.yml                   | 2 +-
 ci/README.rst                    | 4 ++--
 ci/{build_script.sh => build.sh} | 0
 ci/cirrus/build.yml              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename ci/{build_script.sh => build.sh} (100%)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4dd3d55791ca..2993ca987c4d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,7 +42,7 @@ stages:
   before_script:
     - *script_variables
   script:
-    - ci/build_script.sh
+    - ci/build.sh
   artifacts:
     paths:
       - "config.log"
diff --git a/ci/README.rst b/ci/README.rst
index 9f9a91ed2771..c1c97362e41f 100644
--- a/ci/README.rst
+++ b/ci/README.rst
@@ -4,8 +4,8 @@ Continuous Integration
 This document provides describes the continuous integration setup for this
 repository.
 
-The main script that is executed is ``ci/build_script.sh`` and should contain
-all necessary checks to be performed, although some of them might be run
+The main script that is executed is ``ci/build.sh`` and should contain all
+necessary checks to be performed, although some of them might be run
 conditionally.
 
 lcitool
diff --git a/ci/build_script.sh b/ci/build.sh
similarity index 100%
rename from ci/build_script.sh
rename to ci/build.sh
diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml
index 04f782a87a40..7e2a2be398eb 100644
--- a/ci/cirrus/build.yml
+++ b/ci/cirrus/build.yml
@@ -20,4 +20,4 @@ build_task:
     - git fetch origin "$CI_COMMIT_REF_NAME"
     - git reset --hard "$CI_COMMIT_SHA"
   build_script:
-    - ci/build_script.sh
+    - ci/build.sh
-- 
2.32.0




More information about the Libguestfs mailing list