1
0
mirror of https://github.com/quay/quay.git synced 2026-01-27 18:42:52 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
Oleg Bulatov
521ff7a20c Create workflow for OCI Conformance (#1350) 2022-05-30 13:27:23 +02:00
Dave O'Connor
bd4b94a48c Remove legacy requirements-osbs (#1309)
Signed-off-by: Dave O'Connor <doconnor@redhat.com>
2022-05-10 09:10:47 -04:00
Brandon Caton
ef91c57c23 format: Updating black to resolve click dependency issue (PROJQUAY-3487) (#1209)
Currently the CI breaks due to a dependency of black, `click`, breaking with it's latest release with `ImportError: cannot import name '_unicodefun' from 'click'`. Since black does not pin it's version of click it pulls in the latest version containing the breaking change and fails the CI check. This updates black with the patch. [See the original issue here.](https://github.com/psf/black/issues/2964) The rest of the changes are format updates introduced with the latest version of black.
2022-03-29 15:34:57 -04:00
Flavian Missi
fe4d66b030 feat: pull-thru proxy cache (#1053)
introduces the possibility to pull images from external registries
through Quay, storing them locally for faster subsequent pulls.

Closes PROJQUAY-3030 and PROJQUAY-3033
2022-03-23 17:20:00 +01:00
Jonathan King
e2921d7af8 ci: Enable workflow dispatch for build and publish (PROJQUAY-3310) (#1155)
- Enable workflow dispatch for the build and publish job
- This is a requirement to call the workflow from releases repository
2022-03-01 11:03:38 -05:00
Flavian Missi
9ee1c58059 util/ipresolver: manually add aws-ip-ranges.json (#1065)
the Github workflow responsible for keeping this file up-to-date is
currently failing to push to our master branch due to branch protection.
see
https://github.com/githubocto/flat/discussions/66#discussioncomment-1991251
for details.
2022-02-07 14:31:17 +01:00
Flavian Missi
65100439f6 chore: download aws ip ranges via github workflow (#1041)
PROJQUAY-2941 #close
2022-01-12 18:21:45 +01:00
Flavian Missi
f0edbceb5b CONTRIBUTING: document backporting process (#1043) 2021-12-22 09:23:04 +01:00
Flavian Missi
897e7e3913 requirements.txt: remove unused dependencies (#948)
also move dev specific dependencies to requirements-dev.txt
2021-10-26 16:41:52 +02:00
Flavian Missi
8ef0aff83d chore: improve check for JIRA ticket (PROJQUAY-2623) (#919)
also add conventional commits check, it's very similar to our previous one.
see conventionalcommits.org for details
2021-10-19 09:15:56 +02:00
Flavian Missi
16dcebf101 chore: build and publish workflow (PROJQUAY-2556) 2021-10-07 08:06:34 +02:00
Sorin Sbarnea
044fec5e51 Document irc channels move to libera.chat (#802) 2021-10-01 10:06:34 -04:00
Kenny Lee Sin Cheong
86d150a204 dockerfile: refactor dockerfile (PROJQUAY-1997) (#787)
* cicd: toggle on more OCI conformance tests (PROJQUAY-1997)

This commit also has the CI keep the report around as a workflow
artifact.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>

* external_libraries: patch out wider dependencies (PROJQUAY-1997)

This change makes it possible to run the external_libraries script
without needing to pull in the entire quay configuration framework. This
will allow for a more granular Dockerfile.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>

* cicd: enable docker buildkit backend (PROJQUAY-1997)

Signed-off-by: Hank Donnay <hdonnay@redhat.com>

* Dockerfile: rework to be faster (PROJQUAY-1997)

This change allows for the Dockerfile to reuse more cache, and run in
parallel when using the BuildKit backend.

* init: Uses user site-package directory as Python root (PROJQUAY-1997)

Use `python3 -m site --user-site` as Python root when installing certs.

Co-authored-by: Hank Donnay <hdonnay@redhat.com>
2021-05-12 10:36:58 -04:00
thomasmckay
0ffe9ceeca chore: correct chnglog params (PROJQUAY-1486) (#762)
added missing --next-tag
2021-04-21 11:07:56 -04:00
Kenny Lee Sin Cheong
e6011cff5b ci: include optional merge commit number in commit check job (PROJQUAY-1486) (#742)
Also add capturing group for message body.
2021-04-13 13:28:43 -04:00
thomasmckay
addaeac04a chore: fix release image tag to retain leading 'v' (PROJQUAY-1486) (#739) 2021-04-12 13:51:45 -04:00
thomasmckay
166d17ab4f chore: correct cut-release.yml (PROJQUAY-1486) (#731) 2021-04-09 13:14:00 -04:00
thomasmckay
bfc9d75cab chore: fix cut-release.yml (PROJQUAY-1468) (#729) 2021-04-09 13:06:15 -04:00
thomasmckay
6c7dcb8425 chore: correct git-chglog config (PROJQUAY-1468) (#728) 2021-04-09 12:51:09 -04:00
thomasmckay
033472855f chore: parse new CHANGELOG.md format (PROJQUAY-1486) (#725) 2021-04-09 09:06:22 -04:00
thomasmckay
fba629b2db release: fixing Release action (PROJQUAY-1486) (#723) 2021-04-08 09:00:02 -04:00
thomasmckay
cdd1d1d9d2 release: ci/cd release update (PROJQUAY-1486) (#716) 2021-04-07 16:38:29 -04:00
Kurtis Mullins
bd7252c536 [PROJQUAY-1021] task: Update "Black" to version 20.8b1 2020-11-30 18:48:19 -05:00
Kurtis Mullins
23b8a23993 fix: Use Python 3.8 for CI tests (#580) 2020-10-19 13:21:20 -04:00
Vanessasaurus
60a536afe3 GitHub Actions set-env deprecation (#573)
* GitHub Actions set-env deprecation

Announced on October 1st, [set-env is being deprecated](https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/) and we've started to see warnings in various workflow runs that use it. I noticed you use it here, and wanted to offer a quick fix.

* Update .github/workflows/CI.yaml

Co-authored-by: Hank Donnay <hdonnay@gmail.com>

Co-authored-by: Hank Donnay <hdonnay@gmail.com>
2020-10-13 13:57:54 -04:00
Arunprasad Rajkumar
f9249d8baa PROJQUAY-1020 chore: Fix cdnjs download failure(403) by setting custom User-Agent req header (#535)
* fix: cdnjs download failure(403) by setting custom User-Agent req header

* Update UA string

* chore: Version lock black to 19.10b0
2020-08-31 09:49:35 -04:00
thomasmckay
ff99c7463f PROJQUAY-872 - update pull-request template (#478) 2020-07-17 15:45:35 -04:00
Joseph Schorr
d9695c766c Remove pre-installed containerd to try to fix build (#480) 2020-07-16 13:09:33 -04:00
Kenny Lee Sin Cheong
4461ce283c Run required filemode changes in Dockerfile (#430)
Also reverts to using Python 3.6 for now
2020-06-15 12:20:17 -04:00
Kurtis Mullins
38be6d05d0 Python 3 (#153)
* Convert all Python2 to Python3 syntax.

* Removes oauth2lib dependency

* Replace mockredis with fakeredis

* byte/str conversions

* Removes nonexisting __nonzero__ in Python3

* Python3 Dockerfile and related

* [PROJQUAY-98] Replace resumablehashlib with rehash

* PROJQUAY-123 - replace gpgme with python3-gpg

* [PROJQUAY-135] Fix unhashable class error

* Update external dependencies for Python 3

- Move github.com/app-registry/appr to github.com/quay/appr
- github.com/coderanger/supervisor-stdout
- github.com/DevTable/container-cloud-config
- Update to latest mockldap with changes applied from coreos/mockldap
- Update dependencies in requirements.txt and requirements-dev.txt

* Default FLOAT_REPR function to str in json encoder and removes keyword assignment

True, False, and str were not keywords in Python2...

* [PROJQUAY-165] Replace package `bencode` with `bencode.py`

- Bencode is not compatible with Python 3.x and is no longer
  maintained. Bencode.py appears to be a drop-in replacement/fork
  that is compatible with Python 3.

* Make sure monkey.patch is called before anything else (

* Removes anunidecode dependency and replaces it with text_unidecode

* Base64 encode/decode pickle dumps/loads when storing value in DB

Base64 encodes/decodes the serialized values when storing them in the
DB. Also make sure to return a Python3 string instead of a Bytes when
coercing for db, otherwise, Postgres' TEXT field will convert it into
a hex representation when storing the value.

* Implement __hash__ on Digest class

In Python 3, if a class defines __eq__() but not __hash__(), its
instances will not be usable as items in hashable collections (e.g sets).

* Remove basestring check

* Fix expected message in credentials tests

* Fix usage of Cryptography.Fernet for Python3 (#219)

- Specifically, this addresses the issue where Byte<->String
  conversions weren't being applied correctly.

* Fix utils

- tar+stream layer format utils
- filelike util

* Fix storage tests

* Fix endpoint tests

* Fix workers tests

* Fix docker's empty layer bytes

* Fix registry tests

* Appr

* Enable CI for Python 3.6

* Skip buildman tests

Skip buildman tests while it's being rewritten to allow ci to pass.

* Install swig for CI

* Update expected exception type in redis validation test

* Fix gpg signing calls

Fix gpg calls for updated gpg wrapper, and add signing tests.

* Convert / to // for Python3 integer division

* WIP: Update buildman to use asyncio instead of trollius.

This dependency is considered deprecated/abandoned and was only
used as an implementation/backport of asyncio on Python 2.x
This is a work in progress, and is included in the PR just to get the
rest of the tests passing. The builder is actually being rewritten.

* Target Python 3.8

* Removes unused files

- Removes unused files that were added accidentally while rebasing
- Small fixes/cleanup
- TODO tasks comments

* Add TODO to verify rehash backward compat with resumablehashlib

* Revert "[PROJQUAY-135] Fix unhashable class error" and implements __hash__ instead.

This reverts commit 735e38e3c1d072bf50ea864bc7e119a55d3a8976.
Instead, defines __hash__ for encryped fields class, using the parent
field's implementation.

* Remove some unused files ad imports

Co-authored-by: Kenny Lee Sin Cheong <kenny.lee@redhat.com>
Co-authored-by: Tom McKay <thomasmckay@redhat.com>
2020-06-05 16:50:13 -04:00
Jimmy Zelinskie
616ce19c9e Add OCI Conformance Suite to CI (#375)
* test/data: regenerate test.db

* github/workflows: add oci conformance test

* OCI compliance test

Co-authored-by: Joseph Schorr <joseph.schorr@coreos.com>
2020-05-27 13:05:24 -04:00
Joseph Schorr
391ff960d8 Fix CI by always updating apt (#378) 2020-05-08 12:51:58 -04:00
Jimmy Zelinskie
1cad908118 .github/actions: only run dependabot changes on PR (#360) 2020-04-29 13:47:06 -04:00
Jimmy Zelinskie
b2eb753073 tox: remove legacy test suite 2020-04-28 18:13:40 -04:00
Jimmy Zelinskie
9ce9a67105 workflows: use tox from requirements 2020-04-28 18:13:40 -04:00
Jimmy Zelinskie
c06ca37322 init: github workflows 2020-04-28 18:13:40 -04:00
Jimmy Zelinskie
9c0dd3b722 initial import for Open Source 🎉 2019-11-12 11:09:47 -05:00