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

Release pipeline #178

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Release pipeline #178

merged 2 commits into from
Sep 29, 2023

Conversation

wkozyra95
Copy link
Member

@wkozyra95 wkozyra95 commented Sep 25, 2023

Release process for Linux binaries + docs

@wkozyra95 wkozyra95 force-pushed the @wkozyra95/setup-compositor-release branch 29 times, most recently from 55ce25b to 066a83a Compare September 28, 2023 14:38
@@ -140,11 +141,14 @@ fn download_cef(cef_root_path: &Path) -> Result<()> {
let download_path = cef_root_path
.parent()
.context("Failed to retrieve CEF_ROOT parent directory")?;
let url = format!("https://cef-builds.spotifycdn.com/cef_binary_117.1.4%2Bga26f38b%2Bchromium-117.0.5938.92_{platform}_minimal.tar.bz2");
let url = format!("https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_{platform}_minimal.tar.bz2");
Copy link
Member Author

Choose a reason for hiding this comment

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

temporary revert to make sure it builds

let client = reqwest::blocking::ClientBuilder::new()
.timeout(Duration::from_secs(2 * 60))
.build()?;
let resp = client.get(url).send()?;
let resp = client.get(&url).send()?;
if resp.status() != StatusCode::OK {
Copy link
Member Author

Choose a reason for hiding this comment

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

send throws error only when request itself fails, responses like 404 are considered success, so we need to check status code explicitlly

@wkozyra95 wkozyra95 force-pushed the @wkozyra95/setup-compositor-release branch 2 times, most recently from 9206509 to a69f5bb Compare September 28, 2023 15:12
@wkozyra95 wkozyra95 changed the title [wip] release pipeline Release pipeline Sep 28, 2023
@wkozyra95 wkozyra95 marked this pull request as ready for review September 28, 2023 15:13
@wkozyra95 wkozyra95 force-pushed the @wkozyra95/setup-compositor-release branch from a69f5bb to adaba57 Compare September 29, 2023 08:10
@wkozyra95
Copy link
Member Author

Merging because I need to verify some things on master, I'll address any comments in follow up.

@wkozyra95 wkozyra95 merged commit 8dbdaa9 into master Sep 29, 2023
2 checks passed
@wkozyra95 wkozyra95 deleted the @wkozyra95/setup-compositor-release branch September 29, 2023 08:57
Copy link
Member

@WojciechBarczynski WojciechBarczynski left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +42 to +44
panic!(
"Build process helper first: cargo build --bin process_helper. {:?}",
err
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add note about -r

src/bin/package_for_release/bundle_macos.rs Show resolved Hide resolved
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.

2 participants