Flavian Missi
f9d93c44be
pkg,test: import distribution/distribution/v3
...
instead of the deprecated docker/distribution
2023-06-19 12:06:47 +02:00
Forrest Babcock
81fae2eb92
Revert "Merge pull request #370 from flavianmissi/bump-docker-distribution"
...
This reverts commit b095928ea9 , reversing
changes made to 92c7270360 .
2023-06-16 10:37:39 -04:00
Flavian Missi
342cc1a242
pkg,test: import distribution/distribution/v3
...
instead of the deprecated docker/distribution
2023-06-13 12:03:23 +02:00
Oleg Bulatov
5d5c5d2d54
Support pull-through for manifest lists
...
pkg/imagestream should use layers API when it needs to know about
sub-manifests.
2023-01-13 23:25:03 +01:00
Oleg Bulatov
d205a581b1
Fix security context for test pods
2022-08-23 16:55:20 +02:00
Oleg Bulatov
63162e28ba
Bump k8s deps to 1.23
2022-01-04 15:56:06 +01:00
Oleg Bulatov
e708dfbe87
Use sha256 oauth tokens in tests
2021-05-12 12:37:16 +02:00
Ricardo Maraschini
564525b02b
Polling route until registry is available
...
Following messages from networking team we should ping the route until
it becomes available, apparently that is the only way of begin certain
that it is properly set up.
Networking team uses the following script to achieve the same on their
tests:
https://github.com/openshift/origin/blob/master/test/extended/router/scoped.go#L241-L271
2020-12-11 09:08:00 +01:00
Oleg Bulatov
b4b3e5441d
Run registries for pull-through in pods
2020-12-03 16:13:02 +01:00
Ricardo Maraschini
a6c2c7698d
Migrating code to user k8s 1.18 packages
2020-04-15 12:49:44 +02:00
Oleg Bulatov
d5e07d1b8c
Prepare for Kubernetes 1.16.2
2019-10-23 17:25:14 +02:00
Juan Antonio Osorio Robles
881c1fdb12
Introduce gosec for security checks
...
gosec does static code analysis and checks for common security issues in
golang codebases.
This PR introduces the tool, and sets it up as a test target in the Makefile.
It also ignores some security warnings. These warnings do not present security
issues given their context (mostly extra tooling and test frameworks).
2019-08-01 14:18:05 +03:00
Mo Khan
39d9c66c9c
Update test OAuthAccessToken with required fields
2019-05-01 11:20:27 -04:00
Mo Khan
03c5ff33a9
Update OAuthClient to include GrantMethod
...
This field will be required in 4.x
2019-03-15 12:09:08 -04:00
Gladkov Alexey
a707da3225
Add integration test for request loop
...
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2019-02-21 16:11:49 +01:00
Oleg Bulatov
7eeebc9ec6
Fix manifest deletion by pruner
2018-09-20 16:47:22 +02:00
Oleg Bulatov
f736dd7046
Refactor integration tests
2018-09-20 16:47:21 +02:00
Oleg Bulatov
41b46f5104
Remove ctx from NewRepository
2018-08-27 17:09:07 +02:00
Oleg Bulatov
90c2dfe3e6
Fix waiting for cluster roles
2018-08-08 14:48:55 +02:00
Oleg Bulatov
c96fa96f4a
Add pullthrough metrics
2018-06-05 17:41:30 +02:00
Clayton Coleman
777e4e1a5a
Support TEST_KUBECONFIG for integration tests
...
Uses the provided administrator kubeconfig and runs the tests against
that master. This allows the integration tests to be run against a stock
"openshift start master".
Another change in the master will make local dev cases easier so allowed
registries doesn't have to be customized.
2018-05-23 16:20:50 -04:00
OpenShift Merge Robot
7df8b56978
Merge pull request #61 from bparees/versioned_testing
...
use versioned origin image for integration tests
2018-02-02 09:26:34 -08:00
Ben Parees
f53be7f112
use versioned origin image for integration tests
2018-01-31 12:55:42 -05:00
Oleg Bulatov
20876e0f80
Check error from WaitForRoles
2018-01-30 18:03:12 +01:00
Ben Parees
744579f740
switch back to using latest origin version
2018-01-30 08:58:28 -05:00
Ben Parees
0b9d53b29b
remove kubernetes and origin deps
2018-01-23 13:21:19 -05:00
Oleg Bulatov
f657969a87
Stick to specific version of OpenShift Origin container
2018-01-17 11:58:37 +01:00
Oleg Bulatov
bf56d516ab
Add tests for pullthrough
2018-01-16 16:36:28 +01:00
Oleg Bulatov
fbe8f87b68
Move package: pkg/dockerregistry/testutil -> pkg/testutil
2018-01-12 14:22:09 +01:00
Oleg Bulatov
62e760df38
Fix crossmount test
2017-12-20 16:05:04 +01:00
Oleg Bulatov
75a2c098e0
Add integration test for cross-mounting blobs
2017-12-08 18:31:45 +01:00
Oleg Bulatov
5797f8d919
Use docker client in the integration tests
2017-11-28 17:19:33 +01:00
OpenShift Merge Robot
72f7c3a848
Merge pull request #15 from dmage/lint
...
Use gometalinter in make verify
2017-11-25 10:02:07 -08:00
Gladkov Alexey
922c1c45c1
Migrate middleware configuration to openshift section
...
See for more info: https://github.com/openshift/origin/issues/13568
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2017-11-24 15:53:42 +01:00
Oleg Bulatov
7888015c19
Make linter happy
2017-11-24 15:21:35 +01:00
Oleg Bulatov
227c04379b
Don't use --net=host in tests
2017-11-21 15:24:11 +01:00
Oleg Bulatov
1e9aac41b1
Copy test TestPullThroughInsecure from origin
2017-11-21 15:24:07 +01:00