brief-restaurant-6367910/26/2023, 1:12 PM
field correctly when using the
handler on the VCS class. It looks like its just ignoring it which means it thinks a give action doesn't have any files. For example, consider the following config:
In this case the build context for the build action will be empty and the build fails with the error that a Dockerfile wasn't found. The Deploy appears to work because at deploy time we read the files from the correct path and Garden applies the manifests. However—and this is important!—because the files are still empty the action version is incorrectly calculated. So if you e.g. update the manifests, the version will not change. First off, am I doing something wrong here? If not, this needs to be addresses ASAP. cc @curved-intern-91221 @swift-garage-61180 , because this is pretty deep in the engine.
# In api/garden.yml kind: Build name: api type: container source: path: ../ # <-- Set the source to the parent dir include: [api/**/*] --- kind: Deploy name: api source: path: ../ # <-- Set the source to the parent dir spec: files: [./manifests]
and I'm not entirely sure if that's should be the actual config file path or the "corrected" one with respect to the
swift-garage-6118010/26/2023, 1:49 PM
curved-intern-9122110/27/2023, 8:25 AM