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

Fixing docker release #4592

Merged
merged 16 commits into from
Apr 4, 2024
Merged

Fixing docker release #4592

merged 16 commits into from
Apr 4, 2024

Conversation

dessalines
Copy link
Member

@dessalines dessalines commented Apr 3, 2024

Had to make a few changes to .woodpecker.yml and one rust file to get a deploy working again.

This is still failing on the crates publish, but at least the docker publish is fixed.

@dessalines dessalines changed the title Try fix release 1 Fixing docker release Apr 3, 2024
@@ -94,7 +94,7 @@ pub async fn setup(context: LemmyContext) -> Result<(), LemmyError> {
delete_old_denied_users(&mut context.pool()).await;
update_instance_software(&mut context.pool(), context.client())
.await
.inspect_err(|e| warn!("Failed to update instance software: {e}"))
.map_err(|e| warn!("Failed to update instance software: {e}"))
Copy link
Member Author

Choose a reason for hiding this comment

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

Had to get rid of all these .inspect, since they're actually only nightly / unstable.

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

That can't be right, or I'm missing something else: https://woodpecker.join-lemmy.org/repos/129/pipeline/6302/4#L2860

That's on rust:1.77

Copy link
Member

@Nutomic Nutomic Apr 4, 2024

Choose a reason for hiding this comment

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

Thats strange because Im developing with stable rust and never saw that error since 1.76. I also tried just now to build a release docker image locally, and it worked fine on both 1.76 and 1.77.

Ive restarted the build, lets see if that changes anything.

Copy link
Member

Choose a reason for hiding this comment

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

Same failure again, weird. Gonna merge like this then.

@dessalines dessalines marked this pull request as ready for review April 3, 2024 22:42
Cargo.toml Outdated Show resolved Hide resolved
@Nutomic Nutomic merged commit 705e86e into main Apr 4, 2024
2 checks passed
@SleeplessOne1917 SleeplessOne1917 deleted the try_fix_release_1 branch April 4, 2024 18: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.

3 participants