Software stack with latest Scrapy and updated deps.
The repository includes a set of branches to maintain different stack versions depending on supported Python version and on Scrapy version included in the stack.
Examples:
branch-1.0 - Python 2 branch with Scrapy 1.0branch-1.1 - Python 2 branch with Scrapy 1.1branch-1.1-py3 - Python 3 branch with Scrapy 1.1We use git tags to pin a stack version and release a stack image to Docker hub.
Versioning is done in the following manner:
major stack versions are marked with <scrapy version>[-py3] tag.
Note: Lack of -py3 suffix means that a stack is built using Python 2.
Examples:
1.01.11.1-py3each published version of the stack is marked with <scrapy version>[-py3]-<release date> tag
It's highly recommended to use these versions (or major ones above) over others.
Examples:
1.1-20160429 refers to Python 2 based stack released at 2016-04-29 with Scrapy 1.11.1-py3-20160804 refers to Python 3 based stack released at 2016-08-04 with Scrapy 1.1latest version of the stack is matched with a branch name without branch- prefix with -latest suffix
Examples:
branch-1.0 -> tag 1.0-latestbranch-1.1 -> tag 1.1-latestbranch-1.1-py3 -> tag 1.1-py3-latestWarning: please do not use stacks marked as latest (i.e: latest, 1.1-latest, 1.1-py3-latest etc), they reflect latest changes in the corresponding branches and can be unstable.
there can be additional temporary tags to develop new features (you shouldn't rely on it)
Example:
1.1-py3-some-feature to develop, test a feature and drop it in the endAll stack versions are listed correspond to a Docker image listed at:
When you're going to release a new version of the stack, you should:
Do not forget to pull latest changes from branch you are going to release::
git pull origin
Example::
git pull origin branch-1.1-py3
2. Tag it with correct tags (see Versioning section above)::
git tag <tag>
Example::
git tag -f 1.1-py3
git tag 1.1-py3-20160804
Tag 1.1-py3-latest will be built automatically from branch-1.1-py3, no need to define a tag manually.
Push the changes and the tags to the repo::
git push -f origin
Example::
git push -f origin branch-1.1-py3 1.1-py3 1.1-py3-20160804
Tags should be pushed at the same time when pushing changes (or before it) because otherwise build will not be triggered and developer will be required to find the build in drone and trigger it manually again after tags are pushed.
Content type
Image
Digest
sha256:3c71e1497…
Size
348.5 MB
Last updated
27 days ago
docker pull scrapinghub/scrapinghub-stack-scrapy:2.18