CircleCI-Public / cimg-shared

Shared resources for prototype convenience images
MIT License
12 stars 14 forks source link

check ~/project #40

Open FelicianoTech opened 2 years ago

FelicianoTech commented 2 years ago

The directory /home/circleci/project needs to either be empty or not exist in the image. We should verify this as a test. A test like this would have prevented https://github.com/CircleCI-Public/cimg-openjdk/issues/102.

FelicianoTech commented 2 years ago

I think we can solve this by having a general testing script in cimg-shared that we can run from any image. The same way gen-dockerfiles.sh or push-dockerfiles.sh works now. We can slowly add tests there starting with this one.

FelicianoTech commented 2 years ago

@JalexChen is this something you can easily add into your testing work for cimg?