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
posta 4 anni fa295 visualizzazioni
2 Risposte
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
con risposta 4 anni fa
0

Many thanks @boyerc

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

wonka
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande