Monorepo - Reference appspec.yml not in root

0

I have a just moved to a monorepo whereby my deployment dir and appspec.yml files are now in a sub directory.

My codeDeploy now fails as the appspec.yml file cannot be found. How can I reference it now that it is not in the root?

Edited by: wonka on Aug 19, 2020 8:32 PM

wonka
gefragt vor 4 Jahren298 Aufrufe
2 Antworten
0

We use TeamCity to package our artifacts prior to uploading to S3. In our CI pipeline we bundle the artifact up so that the yml file is in the root. Can you take advantage of your CI pipeline to control your artifact bundle?

boyerc
beantwortet vor 4 Jahren
0

Many thanks @boyerc

Yes, i think introducing a build tool is the right approach.

wonka
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen