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

build: adds tooling for uploading to object storage #673

Merged
merged 8 commits into from
Feb 16, 2024
Merged

Conversation

tdstein
Copy link
Collaborator

@tdstein tdstein commented Dec 19, 2023

Intent

Adds build tooling for uploading to S3 (CDN).

Resolves #524

Type of Change

    • Bug Fix
    • New Feature
    • Breaking Change
    • Documentation
    • Refactor
    • Tooling

Approach

Adds the command just upload, which uploads build artifacts to S3 when available. The object location is derived from the GITHUB_REF (there is a link in the code documentation).

Automated Tests

Directions for Reviewers

Checklist

@tdstein tdstein force-pushed the tdstein/524 branch 6 times, most recently from 9f32e44 to 340856a Compare December 20, 2023 19:58
@tdstein tdstein marked this pull request as ready for review December 20, 2023 20:10
.github/workflows/upload.yaml Show resolved Hide resolved
build/ci/Dockerfile Show resolved Hide resolved
scripts/get-vscode-extension-path.bash Outdated Show resolved Hide resolved
scripts/upload.bash Outdated Show resolved Hide resolved
scripts/upload.bash Show resolved Hide resolved
@@ -24,6 +24,12 @@ jobs:
archive:
needs: build
uses: ./.github/workflows/archive.yaml
upload:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to do this for PR branches, or is this temporary to test this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit of both. If we don't want to save pull-request builds, we can delete it.

Copy link
Collaborator

@dotNomad dotNomad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great to me, but I think I'd like to try it on a release before merging it.

@tdstein tdstein merged commit 552de20 into main Feb 16, 2024
23 checks passed
@tdstein tdstein deleted the tdstein/524 branch February 16, 2024 15:38
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

Successfully merging this pull request may close these issues.

Automate artifact releases to CDN
3 participants