From e3452434a357dcf879c4d44054ea6bf1dfbc0c5e Mon Sep 17 00:00:00 2001 From: Alan Malta Rodrigues Date: Thu, 2 Jul 2020 12:40:26 +0200 Subject: [PATCH 1/2] Integrate shellcheck as a github action --- .github/actions/check_shell_script.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/actions/check_shell_script.yml diff --git a/.github/actions/check_shell_script.yml b/.github/actions/check_shell_script.yml new file mode 100644 index 0000000000..71e3e2a7be --- /dev/null +++ b/.github/actions/check_shell_script.yml @@ -0,0 +1,20 @@ +name: Check Shell Script Syntax + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.2.0 + - name: Get Diff Action + uses: technote-space/get-diff-action@v1.2.8 + - name: Install ShellCheck + run: | + sudo apt-get install shellcheck + if: env.GIT_DIFF + - name: Lint with ShellCheck + run: | + shellcheck --shell=bash -x ${{ env.GIT_DIFF }} + if: env.GIT_DIFF From 452b0cc877f692f933be37fbdcee1249b4d08061 Mon Sep 17 00:00:00 2001 From: Alan Malta Rodrigues Date: Thu, 2 Jul 2020 14:31:59 +0200 Subject: [PATCH 2/2] simple update of wmagent version --- deploy/deploy-wmagent.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/deploy-wmagent.sh b/deploy/deploy-wmagent.sh index 5a053c4663..03c8a744e0 100644 --- a/deploy/deploy-wmagent.sh +++ b/deploy/deploy-wmagent.sh @@ -25,8 +25,8 @@ ### Usage: -c Url to central services hosting central couchdb (e.g. alancc7-cloud1.cern.ch) ### Usage: ### Usage: deploy-wmagent.sh -w -d -t [-s ] [-r ] [-n ] [-c ] -### Usage: Example: sh deploy-wmagent.sh -w 1.3.3 -d HG2005b -t production -n 30 -### Usage: Example: sh deploy-wmagent.sh -w 1.3.3 -d HG2005b -t testbed-vocms001 -p "9643" -r comp=comp.amaltaro -c cmsweb-testbed.cern.ch +### Usage: Example: sh deploy-wmagent.sh -w 1.3.3.patch4 -d HG2005b -t production -n 30 +### Usage: Example: sh deploy-wmagent.sh -w 1.3.3.patch4 -d HG2005b -t testbed-vocms001 -p "9643" -r comp=comp.amaltaro -c cmsweb-testbed.cern.ch ### Usage: IAM=`whoami`