Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@fabienheureux
Copy link
Contributor

@fabienheureux fabienheureux commented Sep 2, 2024

This upgrades Shairport version.

https://github.com/mikebrady/shairport-sync/releases

@fabienheureux fabienheureux force-pushed the feature/upgrade-airplay-2-implementation branch from 1928ade to 58d507f Compare October 26, 2024 12:19
@github-actions
Copy link

A repository maintainer needs to approve this workflow run.

https://github.com/balena-io-experimental/balena-sound/actions/runs/11531725105

Maintainers, please review all commits and react with 👍 to approve or 👎 to reject.

Things to look for: GitHub Actions Security Cheat Sheet

@fabienheureux
Copy link
Contributor Author

@vipulgupta2048 any chance you could approve this PR ?
I tried it on a fleet and it runs without issue.

I had to update the build step as it was failing for me.

Copy link
Contributor

@vipulgupta2048 vipulgupta2048 left a comment

Choose a reason for hiding this comment

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

Thanks for contributing!

Comment on lines 11 to 13
RUN apk upgrade --no-cache && apk add --no-cache supervisor curl
RUN curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh
RUN apk del curl
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
RUN apk upgrade --no-cache && apk add --no-cache supervisor curl
RUN curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh
RUN apk del curl
RUN apk upgrade --no-cache && apk add --no-cache supervisor curl && \
curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh \
apk del curl

Any reason why these steps can't happen together?

Copy link
Contributor Author

@fabienheureux fabienheureux Oct 26, 2024

Choose a reason for hiding this comment

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

I am not sure of the exact reason, but I had issues with building the airplay container without splitting these steps.
It was mostly trial and error...


I tried again with your suggestion and got the error below

Error: The command '/bin/sh -eo pipefail -c apk upgrade --no-cache && apk add --no-cache supervisor curl &&     curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh     apk del curl' returned a non-zero code: 85

I tried again with

RUN apk upgrade --no-cache
RUN apk add --no-cache supervisor curl && \
    curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh \
    apk del curl

And got the error below

[Error]             Some services failed to build:
[Error]               Service: airplay
[Error]                 Error: The command '/bin/sh -eo pipefail -c apk add --no-cache supervisor curl &&     curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh     apk del curl' returned a non-zero code: 2

Finally I tried with :

RUN apk upgrade --no-cache && apk add --no-cache supervisor curl && \
    curl -skL https://raw.githubusercontent.com/balena-io-experimental/audio/master/scripts/alsa-bridge/alpine-setup.sh | sh
RUN apk del curl

And this worked...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just updated the branch

@github-actions
Copy link

A repository maintainer needs to approve this workflow run.

https://github.com/balena-io-experimental/balena-sound/actions/runs/11532141643

Maintainers, please review all commits and react with 👍 to approve or 👎 to reject.

Things to look for: GitHub Actions Security Cheat Sheet

@github-actions
Copy link

A repository maintainer needs to approve this workflow run.

https://github.com/balena-io-experimental/balena-sound/actions/runs/11532432755

Maintainers, please review all commits and react with 👍 to approve or 👎 to reject.

Things to look for: GitHub Actions Security Cheat Sheet

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.