Page MenuHomeSoftware Heritage

[webapp] Deploy tag v0.0.265 in production
Closed, MigratedEdits Locked

Description

The last version of the webapp needs to be deployed on production :

vsellier@moma ~ % date; dpkg -l python3-swh.web
Mon 02 Nov 2020 11:44:46 AM UTC
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version                Architecture Description
+++-===============-======================-============-==================================
ii  python3-swh.web 0.0.264-1~swh1~bpo10+1 all          Software Heritage Web Applications

Changelog for the v0.0.265 :

➜  swh-web git:(master) git --no-pager log --pretty=format:"* %ad %s %n" --date=short v0.0.264..v0.0.265
  • 2020-10-30 package.json: Upgrade dependencies
  • 2020-10-28 common/origin_save: Get more accurate scheduler task termination status
  • 2020-10-30 api/throttling: Fix mypy errors after djangorestframework-stubs update
  • 2020-10-29 identifiers/resolve_swhid: Handle directory path without trailing slash
  • 2020-10-29 common/archive: Fix origin metadata functions after indexer API changes
  • 2020-10-26 lookup_content_license: Fix crash with swh.storage.indexer v0.3.0.
  • 2020-10-26 Remove requests to 'idx_storage.content_language_get'.
  • 2020-10-23 api: Turn here link in graph endpoint doc into a more explicit one
  • 2020-10-23 package.json: Upgrade dependencies
  • 2020-10-23 api: Skip authentication checks for graph endpoint on swh internal VPN
  • 2020-10-21 auth: Add user profile UI for managing account and bearer tokens
  • 2020-10-15 tests: Improve HTTP errors reporting
  • 2020-10-07 django: Improve error handling
  • 2020-10-07 api: Improve error handling and response management

Event Timeline

vsellier changed the task status from Open to Work in Progress.Nov 2 2020, 12:46 PM
vsellier triaged this task as Normal priority.
vsellier created this task.

Staging

The staging is already up to date with the last tag., There is just the indexers packages which needs an update

root@webapp:~# apt update
root@webapp:~# apt list --upgradable
Listing... Done
python3-swh.indexer.storage/unknown 0.4.2-1~swh1~bpo10+1 all [upgradable from: 0.4.1-1~swh1~bpo10+1]
python3-swh.indexer/unknown 0.4.2-1~swh1~bpo10+1 all [upgradable from: 0.4.1-1~swh1~bpo10+1]

root@webapp:~# apt upgrade
...
The following packages will be upgraded:
  python3-swh.indexer python3-swh.indexer.storage
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...
Preparing to unpack .../python3-swh.indexer_0.4.2-1~swh1~bpo10+1_all.deb ...
Unpacking python3-swh.indexer (0.4.2-1~swh1~bpo10+1) over (0.4.1-1~swh1~bpo10+1) ...
Preparing to unpack .../python3-swh.indexer.storage_0.4.2-1~swh1~bpo10+1_all.deb ...
Unpacking python3-swh.indexer.storage (0.4.2-1~swh1~bpo10+1) over (0.4.1-1~swh1~bpo10+1) ...
Setting up python3-swh.indexer.storage (0.4.2-1~swh1~bpo10+1) ...
Setting up python3-swh.indexer (0.4.2-1~swh1~bpo10+1) ...

root@webapp:~# systemctl restart  gunicorn-swh-webapp
...

the puppet agent was stopped since some time.
It was restarted and the webapp is now up to date :

vsellier@moma ~ % dpkg -l python3-swh.web   
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version                Architecture Description
+++-===============-======================-============-==================================
ii  python3-swh.web 0.0.265-1~swh1~bpo10+1 all          Software Heritage Web Applications