awslabs / seed-farmer

Seed-Farmer is an orchestration tool that works with AWS CodeSeeder and acts as an orchestration tool modeled after GitOps deployments. It has a CommandLine Interface based in Python, leverages modular code deployments defined by declarative manifests, and includes change detection and deployment optimization.
https://seed-farmer.readthedocs.io/en/latest/
Apache License 2.0
45 stars 16 forks source link

[BUG] DataFiles source from a branch errors #434

Closed dgraeber closed 1 year ago

dgraeber commented 1 year ago

When referencing a datafile from Git off a branch, seed-farmer does not recognize the file. It works fine when soourced from the default branch on git.

Fails

dataFiles:
  - filePath: git::https://github.com/awslabs/idf-modules.git//data/mwaa/requirements/requirements-emr-serverless.txt?ref=av-adas-solution

OK

dataFiles:
  - filePath: git::https://github.com/awslabs/idf-modules.git//data/mwaa/requirements/requirements-emr-serverless.txt
dgraeber commented 1 year ago

The path of the file had a trailing / in the manifest-- that is bad. There is no bug