- id: shellcheck
- repo: https://github.com/btford/write-good
- rev: master
+ rev: v1.0.4
hooks:
- id: write-good
exclude: >
)$
- repo: https://github.com/btford/write-good
- rev: master
+ rev: v1.0.4
hooks:
# Files listed below break the following write-good rules:
# - adverb weakens meaning
files: docs/jjb/lf-ci-jobs.rst
- repo: https://github.com/btford/write-good
- rev: master
+ rev: v1.0.4
hooks:
# Files listed below break the following write-good rules:
# - is wordy or unneeded
--- /dev/null
+---
+fixes:
+ - |
+ Activate lftools env before processing the logs-deploy script.
+ This will allow us to fetch the latest version of pyOpenSSL and cryptography
+ to resolve the following issue https://github.com/pyca/pyopenssl/issues/973
##############################################################################
echo "---> logs-deploy.sh"
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+lf-activate-venv lftools
+
# Ensure we fail the job if any steps fail
# Disable 'globbing'
set -euf -o pipefail
+# The 'lftool deploy archives' command below expects the archives
+# directory to exist. Normally lf-infra-sysstat or similar would
+# create it and add content, but to make sure this script is
+# self-contained, we ensure it exists here.
+mkdir -p "$WORKSPACE/archives"
+
function get_pattern_opts()
{
opts=()