Skip to content

Commit

Permalink
Merge pull request #4545 from freedomofpress/upgrade-boxes-for-0.13.1
Browse files Browse the repository at this point in the history
Adds upgrade testing boxes for 0.13.1
  • Loading branch information
emkll authored Jun 21, 2019
2 parents dc648e9 + 59feff1 commit 0005dc5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
9 changes: 5 additions & 4 deletions docs/development/upgrade_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,11 @@ When a new version of SecureDrop is released, we must create and upload
new VM images, to enable testing against that base version in future upgrade
testing. The procedure is as follows:

1. ``git checkout <version>``
2. ``make vagrant-package``
3. ``cd molecule/vagrant-packager && ./push.yml`` to upload to S3
4. Commit the local changes to JSON files and open a PR.
1. ``make clean`` to remove any previous artifacts (which would also be pushed)
2. ``git checkout <version>`` (if a point release, ``git checkout develop``)
3. ``make vagrant-package``
4. ``cd molecule/vagrant-packager && ./push.yml`` to upload to S3
5. Commit the local changes to JSON files and open a PR.

Subsequent invocations of ``make upgrade-start`` will pull the latest
version of the box.
13 changes: 12 additions & 1 deletion molecule/vagrant-packager/box_files/app_xenial_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@
}
],
"version": "0.13.0"
},
{
"providers": [
{
"checksum": "9e4e2cd973c0daa955d24597ab9ae4e0915b032fe7cd26fdd0f410d4e4300143",
"checksum_type": "sha256",
"name": "libvirt",
"url": "https://dev-bin.ops.securedrop.org/vagrant/app-staging-xenial_0.13.1.box"
}
],
"version": "0.13.1"
}
]
}
}
13 changes: 12 additions & 1 deletion molecule/vagrant-packager/box_files/mon_xenial_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@
}
],
"version": "0.13.0"
},
{
"providers": [
{
"checksum": "cbe347281867def31e6f6383d40a072d1336bde1ead14fd886192bf548ef41f7",
"checksum_type": "sha256",
"name": "libvirt",
"url": "https://dev-bin.ops.securedrop.org/vagrant/mon-staging-xenial_0.13.1.box"
}
],
"version": "0.13.1"
}
]
}
}

0 comments on commit 0005dc5

Please sign in to comment.