GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add windows release artifacts by yaalsn · Pull Request #72 · apache/pulsar-client-cpp

Conversation

@yaalsn

@yaalsn yaalsn commented Oct 25, 2022

Copy link
Copy Markdown
Contributor

Motivation

Add windows release artifacts and create a release with artifacts after pushing tag.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
yaalsn and others added 12 commits October 25, 2022 15:15
@yaalsn
Add windows artifacts release
a1ccfd8
@yaalsn
Add windows artifacts release
2b40ef6
@yaalsn
Add windows artifacts release
577540a
@yaalsn
Add windows artifacts release
d822579
@yaalsn
Add windows artifacts release
5d54fe8
@yaalsn
Add windows artifacts release
2bb83bb
@yaalsn
Update ci-build-binary-artifacts.yaml
f56d3a2
@yaalsn
Add windows artifacts release
45c5d1a
@yaalsn
Add windows artifacts release
f6a309c
@yaalsn
Add windows artifacts release
e1c0de7
@yaalsn
Add windows artifacts release
6d0c9be
@yaalsn
Add windows artifacts release
e6c2b54
BewareMyPower
BewareMyPower approved these changes Oct 25, 2022
View reviewed changes
@BewareMyPower
BewareMyPower merged commit 1ea58e1 into apache:main Oct 25, 2022
@merlimat

merlimat commented Oct 27, 2022

Copy link
Copy Markdown
Contributor

@yaalsn @BewareMyPower This has changed from uploading the binaries to GH actions artifacts into a release. It is breaking the release workflow.
First, we still must upload as artifacts, but also we may not have the credentials to upload to GH releases.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Oct 27, 2022
Add windows release debug mode #75
Closed
Support linking static dependencies when building with MSVC #73
Merged
@yaalsn

yaalsn commented Oct 28, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

@merlimat The uploaded artifacts are release artifacts needed by users, and they don't need to build themself. The token is GITHUB_TOKEN which is a builtin token in GitHub action so that we can use it directly.

About GITHUB_TOKEN:

https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shibd

shibd commented Oct 28, 2022

Copy link
Copy Markdown
Member

@merlimat The uploaded artifacts are release artifacts needed by users, and they don't need to build themself. The token is GITHUB_TOKEN which is a builtin token in GitHub action so that we can use it directly.

About GITHUB_TOKEN:

https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

I think we need to keep uploading the binaries to GH action artifacts. This is required for the current release process. You can refer to the following:

  • https://github.com/apache/pulsar-client-cpp/wiki/Committer-Release-Guide#sign-and-stage-the-artifacts
  • https://github.com/apache/pulsar-client-cpp/blob/main/build-support/stage-release.sh
yaalsn reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yaalsn

yaalsn commented Oct 30, 2022

Copy link
Copy Markdown
Contributor Author

Thanks @shibd, I didn't notice the release guide before.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@merlimat

merlimat commented Oct 30, 2022

Copy link
Copy Markdown
Contributor

@yaalsn we could keep the upload to GH release as an optional step, enabled only if some flag is set. For Apache releases, we need to anyway follow the process of staging the binaries.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@BewareMyPower BewareMyPower added the release/3.0 label Nov 1, 2022
BewareMyPower pushed a commit that referenced this pull request Nov 1, 2022
@yaalsn @BewareMyPower
Add windows release artifacts (#72)
a4494d5
### Motivation

Add windows release artifacts and create a release with artifacts after pushing tag.

(cherry picked from commit 1ea58e1)
@BewareMyPower BewareMyPower added the cherry-picked/3.0 label Nov 1, 2022
@BewareMyPower BewareMyPower mentioned this pull request Nov 14, 2022
Upload binaries napi to release. apache/pulsar-client-node#245
Closed
1 of 4 tasks
@RobertIndie RobertIndie added this to the 3.1.0 milestone Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@BewareMyPower BewareMyPower BewareMyPower approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cherry-picked/3.0

Projects

None yet

Milestone

3.1.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@yaalsn @merlimat @shibd @BewareMyPower @RobertIndie
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.