winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.03k stars 198 forks source link

ci/cd in wing #3197

Open tsuf239 opened 1 year ago

tsuf239 commented 1 year ago

Feature Spec

During the dogfooding project, I was wondering what is the best approach for ci/cd in wing. I was bringing it up to on Monada Team Time (2023-06-29 17:00 GMT+3).

The approach we came out with was to give our users complete freedom and let them handle the process as they would handle any other project containing Terraform files.

For the more impatient users, especially those who have no experience with ci/cd of Terraform files, we should write a very straightforward guide, with a lot of "copy-and-paste"able snippets, and clear setup instructions.

Use Cases

ci/cd with wing

Implementation Notes

I was using the gh action lately and found it pretty convenient to use. The only step I struggled with was setting up a working aws-actions/configure-aws-credentials@v2 action using OIDC (in the end was settling for an access token usage, since the documentation was frustrating). I also didn't know that I had to create a bucket myself for the terraform state file (and it isn't auto-generated). I didn't know the right permissions so I set a public one.

Component

Documentation, Development Environment

Community Notes

ekeren commented 1 year ago

@tsuf239 is this a possible duplicate with https://github.com/winglang/wing/issues/2564

github-actions[bot] commented 1 year ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 7 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] commented 4 months ago

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!