Create the archives directory in deploy-logs 06/66206/2
authorJames E. Blair <jeblair@redhat.com>
Wed, 2 Dec 2020 22:24:39 +0000 (14:24 -0800)
committerJames E. Blair <corvus@inaugust.com>
Wed, 9 Dec 2020 23:48:33 +0000 (15:48 -0800)
commitbecdc0eb6b155239bbf866be8890e453f2f146ba
tree2183ef9d55be1893279b0b207233baa1ba8f0efb
parent413bdb2e77dcc2055e05476930f13874a2fae244
Create the archives directory in deploy-logs

The 'lftools deploy archives' command expects $WORKSPACE/archives
to already exist.  Normally it would be created by lf-infra-sysstat,
but to support the use of the deploy-logs macro in jobs which do not
run sysstat (and generally to make this macro entirely self-contained),
ensure the archives directory exists at the start of the script.

Signed-off-by: James E. Blair <jeblair@redhat.com>
Change-Id: Id90c77c3f2a6a9590b9b17f9223279d21066a3cf
shell/logs-deploy.sh