Commit Graph

19 Commits

Author SHA1 Message Date
Abdón Rodríguez Davila 6cf019ef0d
Get the Qiskit schemas from the new repository (#2017) 2021-07-21 16:16:53 +02:00
delapuente 7de3d07648 Remove textbook-beta from static sites 2021-07-12 16:05:30 -04:00
Matthew Treinish 20f3f5f5bd
Set errexit and use && for travis deploy (#827)
This commit fixes the potential issue where a failed website build
results in rclone deleting the contents of the bucket. This is
accomplished by making 2 changes. The first is to set errexit in the
deploy_cos.sh bash script, which results in any intermediate failure in
the script exiting instead of continue with the execution of the script.
The second is to make the travis script rely on && instead of multiple
script lines. Travis doesn't exit when an earlier script line fails and
instead continues like bash without errexit and fails after all lines
are executed. To work around this all the deploy commands are run in a
single line using && so that it will exit after the website build fails.
2020-08-11 09:13:39 +02:00
Matthew Treinish 5e28c66bbd
Update credentials for pushing built docs (#591)
Changes have been made on where the documentation are published in IBM
COS. This commit updates the encrypted credentials and the bucket name
so that future doc builds publish to the proper place.
2020-05-07 09:46:47 -04:00
Salvador de la Puente González caa76d9f77
Stop holding a copy of the textbook. (#418)
Stop holding a copy of the textbook.

The textbook is now autodeployed. See:
https://github.com/Qiskit/qiskit-textbook/pull/163

Get texbook preface from the online copy.
2020-01-24 17:08:44 +01:00
Salvador de la Puente González dc0f5b1b9e
Restore `dist` as the output folder (#412) 2020-01-20 15:32:22 +01:00
Matthew Treinish 9ce0639ca7 Merge remote-tracking branch 'salva-fork/qiskit.org' into HEAD
This merges the rewrite of qiskit.org into the qiskit.org repo
2019-12-12 15:20:55 -05:00
Salvador de la Puente González d93e814a68 Modify deploy to publish on the cloud object storage 2019-12-12 19:51:12 +01:00
Matthew Treinish b54de6b215
Remove documentation upload from website repo
We were previously commiting the rendered output of sphinx builds from
the documentation repo into the website repo on each change made to the
Qiskit/qiskit repo. There is no reason to do this, as it just balloons
the size of the repository making it hard to work with and needlessly
increases the amount of times we have to copy easily generatable
static artifacts around. Unfortunately the damage to this repo is already
done because the large copies of all the binary static artifacts are now
in the git history forever. But, to address this problem in the future
the docs jobs in Qiskit/qiskit are changing to just upload directly
cloud object store where the site is hosted now, which both makes
updating documentation and the website faster, reduces complexity of the
deployment system, and makes everything more reliable. To ensure that
the qiskit.org deploys no longer try to overwrite the deployed
documentation this commit removes the local copy of the documentation
and updates the rclone command in the deploy script to not touch the
documentation content.
2019-10-25 09:39:57 -04:00
Matthew Treinish 8d16cb07e8
Add schemas to the website (#273)
This commit adds the qiskit api schemas (mainly qobj and backend
information) to the qiskit.org deploy script. This is just a stop gap
to start uploading. A follow up patch here will be to just add this
upload step to the qiskit-terra repo directly since the object store
means we don't have to (and shouldn't) centralize all the artifacts
hosted on the qiskit.org domain in a single massive git repo.

Fixes #48
2019-10-24 17:06:45 -04:00
Matthew Treinish bffa439095
Pivot config for production website bucket
This commit updates the config and deploy script to upload the built
website content to the bucket for the production website.
2019-10-22 08:58:46 -04:00
Matthew Treinish 6c66f998b6
Add 404 html file 2019-10-21 09:03:51 -04:00
Matthew Treinish 024baa088b
Try more static config settings 2019-10-18 18:45:18 -04:00
Matthew Treinish 5fa722feb2
Fix typo again 2019-10-18 18:18:08 -04:00
Matthew Treinish c40333bf07
Statically build and upload static assets 2019-10-18 18:06:26 -04:00
Matthew Treinish d3862a3f25
Fix CONFIG_PATH 2019-10-18 18:06:25 -04:00
Matthew Treinish 87d28d9919
Fix ordering problem in deploy script 2019-10-18 18:06:25 -04:00
Matthew Treinish 2501503da8
Install rclone from deb 2019-10-18 18:06:24 -04:00
Matthew Treinish aed7b6ae33
Try manually deploying to COS using rclone
Travis's deploy tool doesn't seem to be working, just use rclone which
is easier to debug locally if things go wrong.
2019-10-18 18:06:23 -04:00