Skip to content

Commit

Permalink
Put 'set -x' in all the setup scripts
Browse files Browse the repository at this point in the history
athornton committed Jul 12, 2024
1 parent 0a39a50 commit 3a41108
Showing 11 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/cleanup-files
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -x
set -euo pipefail

for f in passwd group shadow gshadow subuid subgid; do
rm /etc/${f} /etc/${f}-
1 change: 1 addition & 0 deletions scripts/generate-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x

set -eo pipefail # -u and mamba don't play well: ADDR2LINE: unbound variable

1 change: 1 addition & 0 deletions scripts/install-base-packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x

# This script updates packages in the base Docker image that's used by both
# the build and runtime images, and gives us a place to install additional
1 change: 1 addition & 0 deletions scripts/install-compat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x
#
# This can be pretty minimal. Effectively we just want to ensure that
# files once found in the old-style layout still exist, but point to their
1 change: 1 addition & 0 deletions scripts/install-dependency-packages
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x

# This script installs additional packages used by the dependency image but
# not needed by the runtime image, such as additional packages required to
1 change: 1 addition & 0 deletions scripts/install-dm-stack
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x

# -u makes lsstinstall fail, via mamba ADDR2LINE: unbound variable.
set -eo pipefail
1 change: 1 addition & 0 deletions scripts/install-jupyterlab
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x
set -euo pipefail

# Install Jupyterlab and its runtime extensions under the system python
1 change: 1 addition & 0 deletions scripts/install-notebooks
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x
set -euo pipefail

# Check out notebooks-at-build-time
1 change: 1 addition & 0 deletions scripts/install-rsp-user
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x
# -u causes failure in activate: ADDR2LINE: unbound variable
set -eo pipefail
stackdir=/opt/lsst/software/stack
2 changes: 2 additions & 0 deletions scripts/install-system-files
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -x
set -euo pipefail

# This is for Fritz, and my nefarious plan to make the "te" in "Jupyter" TECO.
# We switched from TECOC to Paul Koning's Python implementation because it
1 change: 1 addition & 0 deletions scripts/make-user
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -x
set -euo pipefail

# Create user and home directory.

0 comments on commit 3a41108

Please sign in to comment.