doc/.gitlab-ci.yml: Allow build_doc to fail

An external website may be down, we should not block a pipeline because of
that. However `allow_failure: true` is not satisfactory as we would like to
manually validate whether the failure should be fixed or can't be fixed.

See https://gitlab.com/gitlab-org/gitlab/-/issues/21655
39 jobs for feature-a/release in 382 minutes and 57 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test Tools
passed #682024
test_tools

00:00:08

 
  Test Unit
passed #682025
test_algo_unit

00:03:00

 
  Test Functional
passed #682026
test_algo_should

00:07:11

 
  Test Shouldvdj
passed #682027
test_algo_shouldvdj

00:20:36

 
  Coverage
passed #682028
algo_coverage

00:00:05

89.0%
 
  Prepare Release
passed #682029
manual
prepare_release

00:21:46

 
  Tgz Release
failed #682030
cidocker allowed to fail
build_doc

00:02:19

passed #682031
ubuntu-16.04-amd64
tgz_release

00:20:58

 
  Valgrind Unit
passed #682032
valgrind
algo_valgrind_unit

00:08:14

 
  Valgrind Functional
manual #682033
valgrind allowed to fail manual
algo_valgrind_functional
passed #682034
valgrind
release_valgrind_functional

01:39:08

 
  Multiple Tests
manual #682047
cidocker allowed to fail manual
test_clang34_manual
passed #682048
cidocker
test_clang34_release

00:22:46

manual #682049
cidocker allowed to fail manual
test_clang4_manual
passed #682050
cidocker
test_clang4_release

00:24:20

manual #682051
cidocker allowed to fail manual
test_clang6_manual
passed #682052
cidocker
test_clang6_release

00:24:38

manual #682053
cidocker allowed to fail manual
test_clang7_manual
passed #682054
cidocker
test_clang7_release

00:17:49

manual #682035
cidocker allowed to fail manual
test_gcc48_manual
passed #682036
cidocker
test_gcc48_release

00:23:27

manual #682037
cidocker allowed to fail manual
test_gcc5_manual
passed #682038
cidocker
test_gcc5_release

00:19:08

manual #682039
cidocker allowed to fail manual
test_gcc6_manual
passed #682040
cidocker
test_gcc6_release

00:17:23

manual #682041
cidocker allowed to fail manual
test_gcc7_manual
passed #682042
cidocker
test_gcc7_release

00:16:15

manual #682043
cidocker allowed to fail manual
test_gcc8_manual
passed #682044
cidocker
test_gcc8_release

00:16:04

manual #682045
cidocker allowed to fail manual
test_gcc9_manual
passed #682046
cidocker
test_gcc9_release

00:17:48

 
  Benchmark
passed #682056
cidocker manual
benchmark_algo

02:19:44

manual #682055
cidocker allowed to fail manual
profiling_algo
 
  Publish Release
failed #682984
allowed to fail manual
copy_release

00:00:18

failed #682057
allowed to fail manual
copy_release

00:00:22

 
  Deploy Prod
failed #683633
allowed to fail manual
deploy_doc

00:00:07

passed #682059
manual
deploy_release_prod

00:02:13

failed #683632
allowed to fail manual
deploy_doc

00:00:06

failed #682058
allowed to fail manual
deploy_doc

00:00:07

 
Name Stage Failure
failed
deploy_doc Deploy Prod
$ make -C browser sha1
make: Entering directory '/home/gitlab-runner/builds/ae9bf4d5/0/vidjil/vidjil/browser'
../tools/create-git-sha1.sh js/git-sha1.js "git_sha1 ="
make: Leaving directory '/home/gitlab-runner/builds/ae9bf4d5/0/vidjil/vidjil/browser'
$ cp -p doc/analysis-example.vidjil browser/
$ scp -r site/ $VIDJIL_WWW:doc/
Warning: Permanently added 'vde.vidjil.org,193.50.94.24' (ECDSA) to the list of known hosts.
site: No such file or directory
ERROR: Job failed: exit status 1
failed
copy_release Publish Release
$ for repo in $ALGO_REPOSITORIES; do # collapsed multi-line command
Copying release to vde.vidjil.org:/var/www/html/releases/
Warning: Permanently added 'vde.vidjil.org,193.50.94.24' (ECDSA) to the list of known hosts.
Copying release to vdb.vidjil.org:releases/vidjil/
Warning: Permanently added 'vdb.vidjil.org,193.50.94.216' (ECDSA) to the list of known hosts.
Copying release to bioinfodev.lifl.fr:/bio1/www/html/vidjil/
ssh_exchange_identification: read: Connection reset by peer
lost connection
ERROR: Job failed: exit status 1
failed
build_doc Tgz Release
  user/index.html: /vidjil-format/#what-is-a-clone
user/index.html: vidjil-algo/#reads-without-detected-recombinations
quality/index.html: mailto:support@vidjil.org
vidjil-algo/index.html: vidjil-format/#what-is-a-clone
==== Failed
user/index.html: http://tools.bat.infspire.org/arrest/assignsubsets/
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1