compliance: cleanup compliance test code

zot ci/cd tests are too stict, so separate and relax them for compliance
tests.

Location header is set in some cases, but some clarification is needed
in URL construction.

Fix some incorrect compliance tests.
This commit is contained in:
Ramkumar Chinchani
2019-12-23 22:32:52 -08:00
parent e76804af4f
commit a57f085749
5 changed files with 124 additions and 81 deletions
+1
View File
@@ -42,6 +42,7 @@ func (c *Controller) Run() error {
handlers.PrintRecoveryStack(false)))
c.Router = engine
c.Router.UseEncodedPath()
_ = NewRouteHandler(c)
c.ImageStore = storage.NewImageStore(c.Config.Storage.RootDirectory, c.Log)