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

Fix manual release/dispatch workflows #2230

Merged
merged 10 commits into from
May 30, 2023
Merged

Conversation

jprochazk
Copy link
Member

@jprochazk jprochazk commented May 26, 2023

What

  • manual_build_release now includes reusable_build_web_demo/reusable_upload_web_demo
  • manual_release now uploads the the commit from rerun-demo/commit/<commit> to /version/latest
  • bandaid for breaking manual_dispatch: changed BUILD_WEB input in manual_dispatch to accept a string instead of a bool (example values: app, demo, app,demo), and removed BUILD_WEB_DEMO
    • without this the number of inputs exceeds 10 and the workflow is invalid and cannot be used
  • bandaid to ensure adhoc_web will not overwrite the latest commit build: added UPLOAD_COMMIT input to upload_web and upload_web_demo which is on by default, and set it to false in manual_adhoc_web

Checklist

PR Build Summary: https://build.rerun.io/pr/2230

@jprochazk jprochazk added the 🧑‍💻 dev experience developer experience (excluding CI) label May 26, 2023
@emilk
Copy link
Member

emilk commented May 30, 2023

  • manual_release now uploads the the commit from rerun-demo/commit/<commit> to /version/latest

We already use latest as a tag for the latest release, e.g. https://github.com/rerun-io/rerun/tree/latest so I think we should use a different word for "the most recent manual release", but I'm not sure what that would be

@jprochazk jprochazk merged commit 9d38f43 into main May 30, 2023
@jprochazk jprochazk deleted the jan/fix-release-workflows branch May 30, 2023 08:56
emilk pushed a commit that referenced this pull request Jun 15, 2023
<!--
Open the PR up as a draft until you feel it is ready for a proper
review.

Do not make PR:s from your own `main` branch, as that makes it difficult
for reviewers to add their own fixes.

Add any improvements to the branch as new commits to make it easier for
reviewers to follow the progress. All commits will be squashed to a
single commit once the PR is merged into `main`.

Make sure you mention any issues that this PR closes in the description,
as well as any other related issues.

To get an auto-generated PR description you can put "copilot:summary" or
"copilot:walkthrough" anywhere.
-->

### What

- `manual_build_release` now includes
`reusable_build_web_demo`/`reusable_upload_web_demo`
- `manual_release` now uploads the the commit from
`rerun-demo/commit/<commit>` to `/version/latest`
- bandaid for breaking `manual_dispatch`: changed `BUILD_WEB` input in
`manual_dispatch` to accept a string instead of a bool (example values:
`app`, `demo`, `app,demo`), and removed `BUILD_WEB_DEMO`
- without this the number of inputs exceeds 10 and the workflow is
invalid and cannot be used
- bandaid to ensure `adhoc_web` will not overwrite the latest commit
build: added `UPLOAD_COMMIT` input to `upload_web` and `upload_web_demo`
which is on by default, and set it to false in `manual_adhoc_web`

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [ ] I've included a screenshot or gif (if applicable)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2230
This was referenced Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants