docker / app

Make your Docker Compose applications reusable, and share them on Docker Hub
Apache License 2.0
1.57k stars 177 forks source link

Tests: Add e2e test for image promotion flow #453

Open simonferquel opened 5 years ago

simonferquel commented 5 years ago

Description

One of the promise of the CNAB storage to a registry is that if a CNAB manifest is deeply copied (or mounted) into another repo (on the same or an other registry), it will:

This is to ensure that if a user has Pull access to a repo where a CNAB lives, he also has sufficient rights to install it by design. (other bonus effects are: security scanning can work at the application level trough manifest crawling, image promotion works at the application level as well).

Test steps:

  1. Build a sample Docker-app
  2. Push it to a registry
  3. Deep-copy the app manifest to another registry
  4. Install the app from this new registry
  5. Check that all services are referencing digested references coming from the same repo as the app itself.