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
43 stars 15 forks source link

[BUG]Cache from out file #624

Closed jinxiao closed 3 weeks ago

jinxiao commented 1 month ago

Describe the bug

When We tried to deploy seedfarmer modules from local, we always must delete the SeedFarmer cache otherwise it tries to deploy the wrong code:

rm -rf codeseeder.out

If this not be done, seedfarmer will use the old code to deploy. To Reproduce Steps to reproduce the behavior:

  1. Use one revision to deploy
  2. Update to another revision.
  3. re-deploy.
  4. Without deleting codeseeder.out, it will use the previous revision.

Expected behavior We expect to use the newest revision each time.

dgraeber commented 1 month ago

@jinxiao Thanks for this Issue request. This is managed by AWS-Codeseeder, and I see your issue logged there also.

We will investigate.

dgraeber commented 1 month ago

All correspondence for this related issue will be logged HERE as this is not a SeedFarmer issue directly. Leaving this issue open until resolved for reference

dgraeber commented 3 weeks ago

Closing as root-cause is not Seed-Farmer related