aboutsummaryrefslogtreecommitdiff
path: root/devtools/nodejs.sh
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2021-06-11 16:22:52 -0400
committerJulie Qiu <julie@golang.org>2021-06-11 20:39:28 +0000
commitfced913ebf19ff4cb49f7be6154d0b6d740605e5 (patch)
tree78cebc9341d95fd22b6f5e3286ab175cf9b7ec14 /devtools/nodejs.sh
parent46d4a94fd57564068abf8269ed717c74504d9774 (diff)
downloadgo-x-pkgsite-fced913ebf19ff4cb49f7be6154d0b6d740605e5.tar.xz
devtools/ci: run all tests in ci.sh
The internal kokoro build.sh currently runs the following: devtools/ci/ci.sh devtools/ci/nodejs.sh npm install --quiet devtools/ci/nodejs.sh npm run lint devtools/ci/nodejs.sh npm run test devtools/ci/e2e.sh Rather than having multiple files referenced in the internal kokoro file, moving these tests to ci.sh. That way it is more opaque what we are running in CI, and easier to add/remove files and comment out lines for testing. devtools/ci/nodejs.sh will be deleted in a future CL once it has been removed from the internal build.sh. Change-Id: I397a5d5cd2efb59da7a771617330f70b980911b0 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/326970 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'devtools/nodejs.sh')
-rwxr-xr-xdevtools/nodejs.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/devtools/nodejs.sh b/devtools/nodejs.sh
index 3b6a5111..c8ae4dc7 100755
--- a/devtools/nodejs.sh
+++ b/devtools/nodejs.sh
@@ -1,9 +1,11 @@
-#!/usr/bin/env -S bash -e
+#!/usr/bin/env bash
-# Copyright 2020 The Go Authors. All rights reserved.
+# Copyright 2021 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
+set -e
+
# Script for running a nodejs docker image.
# It passes env variables for e2e tests,
# mounts the pwd into a volume in the container at /pkgsite,