[Libguestfs] [libnbd PATCH 18/20] ci: Rename build_script.sh to just build.sh

Martin Kletzander
Tue, 08 Jun 2021 07:53:59 -0000

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 5a5c65e3b640..66e3cdc472cb 100644
--- a/ci/cirrus/build.yml
+++ b/ci/cirrus/build.yml
@@ -19,4 +19,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.31.1