Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create github workflow triggered by manual dispatch that deploys a branch to a cf env #521

Open
Tracked by #632
gobengo opened this issue Mar 9, 2023 · 2 comments

Comments

@gobengo
Copy link
Contributor

gobengo commented Mar 9, 2023

Motivation:

@gobengo gobengo changed the title create github workflow triggered by manual dispatch that deploys a branch to dev env create github workflow triggered by manual dispatch that deploys a branch to a cf env Mar 9, 2023
@gobengo
Copy link
Contributor Author

gobengo commented Mar 9, 2023

One thing I'm not sure about here is I think any solution that resuses dev may run into issues keeping that cloudflare worker environment's d1 instance up to date (while trying out lots of combinations of git branches over time).
Over time I'd hope cf d1 to find ways of making that easy, but for now its in alpha and doesn't even have 'down' migraitons. https://developers.cloudflare.com/d1/platform/migrations/#plans-for-the-future
(with that said, they could add that feature any day now, and I hope they do so we can use it).

Instead of using a reusable shared cf env like dev, we could make the manual workflow deploy to a cf env derived from the branch name. So then we'd basically have the capability of using github ui to push any branch to a new env, and we can also have a manual workflow to tear it down later. infinity dev envs (aka review apps)!

@vasco-santos
Copy link
Contributor

I would love to see the deploy per branch like we do with SST. We just need to make sure CF APIs allow us to create workers on PR creation and delete workers on PR close/merged to avoid getting CF dashboard full of noise. This is particularly important in CF because for seeing Bucket analytics we need to go through the list of buckets and navigate there

Peeja pushed a commit to storacha/upload-service that referenced this issue Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[5.0.0](storacha/w3ui@vue-keyring-v4.2.0...vue-keyring-v5.0.0)
(2023-07-25)


### ⚠ BREAKING CHANGES

* upgrade access client, ucanto and other packages
([storacha#530](storacha/w3ui#530))

### Features

* upgrade access client, ucanto and other packages
([storacha#530](storacha/w3ui#530))
([8e7321b](storacha/w3ui@8e7321b))


### Bug Fixes

* inferred type error
([storacha#516](storacha/w3ui#516))
([1bf4cf2](storacha/w3ui@1bf4cf2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
Peeja pushed a commit to storacha/upload-service that referenced this issue Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[5.0.0](storacha/w3ui@vue-keyring-v4.2.0...vue-keyring-v5.0.0)
(2023-07-25)


### ⚠ BREAKING CHANGES

* upgrade access client, ucanto and other packages
([storacha#530](storacha/w3ui#530))

### Features

* upgrade access client, ucanto and other packages
([storacha#530](storacha/w3ui#530))
([4449018](storacha/w3ui@4449018))


### Bug Fixes

* inferred type error
([storacha#516](storacha/w3ui#516))
([adce6f5](storacha/w3ui@adce6f5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants