d87ebd7d057a5f41334921d77ec38245f3fd3c21
Commit Graph

23 Commits

Author SHA1 Message Date
Tim Burke
7367907c58 Drop py2 support
* Remove py2 gate jobs.
* Build non-universal, py3-only wheels.
* Specify minimum python version in package metadata.
* Clean up requirements/constraints/bindep (a little, anyway).
Change-Id: I53153c4fde043e964e1daa7bbf2089e0471dede2
2024年12月20日 09:11:14 -08:00
Tim Burke
a8be689fc7 Get rid of py2 docker image builds; switch "latest" to py3
Continue also tagging it "py3" so any users of that tag don't become
stuck in time.
Closes-Bug: #2037268
Closes-Bug: #2070029
Change-Id: I38d9469238d2eb6647414c1107e68ff6f3a15797
2024年06月27日 14:33:15 -07:00
Tim Burke
f29067631e docker: Remove && chaining in install scripts
Something about them threw off the exit-immediately-on-non-zero-exit
behavior when building.
Related-Bug: #2070029
Change-Id: I3e40ebd78a9f8e93c905b24a12f5f54b2d27c2d9
2024年06月27日 14:24:37 -07:00
Tim Burke
9abee0e784 Fix docker image building
Change-Id: I47aafc2d02f8e3ab2a027d978d40677dbefece96
2022年08月16日 12:17:01 -07:00
Clark Boylan
930ac1114b Fix docker image builds
The image builds are trying to fetch a gpg pubkey from keybase which
does not exist. This causes the builds to fail. Fix this by vendoring
the key in the swift repo directly. This should be more reliable.
Upstream bug at https://github.com/just-containers/s6-overlay/issues/352
Note I looked up the pubkey given the hash on that issue and copied its
contents into this change. I can't vouch for the validity of this key
beyond that. However, if it is listed in that issue and validates the
packages from s6 then it is probably good.
Change-Id: I3f42fbaae5f246836024f95b549b487b41bd6f1d
2021年08月23日 14:56:17 -07:00
Zuul
727516de51 Merge "Switch IRC references from freenode to OFTC" 2021年06月02日 10:52:08 +00:00
Tim Burke
d183b41c9b Switch IRC references from freenode to OFTC
See http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
and http://lists.opendev.org/pipermail/service-discuss/2021-May/000249.html
for more information.
Change-Id: I6ac37c23153c5c9d42d96e448e0656dbf8257991
2021年06月01日 08:13:56 -07:00
Tim Burke
705a88bb11 docker: Install cffi and cryptography from system packages
Currently, builds are busted because they can't build wheels for these.
Change-Id: I964d5858bfb926890169d46cbc7ab4e76fc40250
2021年05月27日 10:31:14 -07:00
Tim Burke
27a734c78a s3api: Allow CORS preflight requests
Unfortunately, we can't identify the user, so we can't map to an
account, so we can't respect whatever CORS metadata might be set on the
container.
As a result, the allowed origins must be configured cluster-wide. Add a
new config option, cors_preflight_allow_origin, for that; default it
to blank (ie, deny preflights from all origins, preserving existing
behavior), but allow either a comma-separated list of origins or
* (to allow all origins).
Change-Id: I985143bf03125a05792e79bc5e5f83722d6431b3
Co-Authored-By: Matthew Oliver <matt@oliver.net.au>
2021年03月15日 13:52:05 -07:00
Tim Burke
314347a3cb Update SAIO & docker image to use 62xx ports
Note that existing SAIOs with 60xx ports should still work fine.
Change-Id: If5dd79f926fa51a58b3a732b212b484a7e9f00db
Related-Change: Ie1c778b159792c8e259e2a54cb86051686ac9d18
2020年07月20日 15:17:12 -07:00
Tim Burke
cb37d3acd6 docs: Clean up mount options
* Stop specifying logbufs=8; that's the default
* Stop including nodiratime with noatime; the latter implies the former
Nothing wrong with being explicit, I suppose, but may as well keep the
mount options to what we can easily explain: we want noatime because
Swift does not use atime, so we don't want to lose any performance to
tracking atime.
Change-Id: I1e52b4368ad7eb375964eee5132bc50297536355
2020年05月03日 00:43:57 -07:00
Zuul
0524feef8c Merge "Add etag quoter to saio proxy config" 2020年03月26日 00:51:18 +00:00
Zuul
5ad6472c05 Merge "Add new versioning flag to docker image" 2020年01月31日 20:41:25 +00:00
Thiago da Silva
d46a0c7d69 Add etag quoter to saio proxy config
Change-Id: I48ebbb38427612a52c36078586af7b9780b5ea37
2020年01月31日 08:47:00 +11:00
Thiago da Silva
c7cb34ad61 Dockerhub description of saio image
Change-Id: Ifcb5013a5728d93cf5491fbff81b2677450698e6
2020年01月30日 20:17:07 +00:00
Thiago da Silva
4a776c4fbd Add new versioning flag to docker image
Change-Id: If6a25d6573502eebff3e28aa503721eda73af556
2020年01月30日 15:56:36 +11:00
Thiago da Silva
94366fd00e Add Dockerfile to build a py3 swift docker image
This patch contains only a new Dockerfile and few changes to
be able to build both py2 and py3 images.
Next patch should contain changes to add the gate jobs to build
a py3 docker image
Change-Id: Ifdebde9597a787abcd553756e22261e2faaeedfc
2019年08月19日 22:31:41 +02:00
Zuul
234b23d01a Merge "Dockerfile cleanup" 2019年06月19日 03:21:30 +00:00
Zuul
1ae4952af4 Merge "Enable s3api in saio docker container" 2019年06月18日 16:29:54 +00:00
Thiago da Silva
ccd3b890cd Enable s3api in saio docker container
Change-Id: Ie759c4092408a210d32f6457142457087343d33a
2019年06月17日 14:54:11 +01:00
Tim Burke
a122b720e9 Dockerfile cleanup
- Use `set -e` in all install scripts. Clean up swift_needs to still
 work properly and exit cleanly under `set -e`.
- Drop some redundant slashes.
Change-Id: I05f38c6366e3da0aeed2b6451a8bd9d7dc531119
2019年06月05日 12:12:43 -07:00
Ehud Kaldor
17fd725707 Installing liberasurecode from Alpine Linux repos instead of building from source.
closes #1831136
Change-Id: Ic9a2844fffc6dba6a4d44a9712edbb5cd91f0470
2019年06月05日 11:29:28 -07:00
Thiago da Silva
37e257913c Add Dockerfile to build a SAIO container image
Added Dockerfile and configuration files under the
new `docker` directory to build a Swift All in One container
image.
The primary goal of this container image is to provide
application developers with a Swift/S3 endpoint that can be
tested against during the development cycle.
Added Zuul jobs to build docker container
Change-Id: Ib10975a1862a4fa8c4eeaba139837cf1f22b272a
2019年05月07日 15:44:00 -04:00