ci: replace snap install yq with direct binary download#77696
Closed
Alfredo Garcia (agarctfi) wants to merge 1 commit into
Closed
ci: replace snap install yq with direct binary download#77696Alfredo Garcia (agarctfi) wants to merge 1 commit into
Alfredo Garcia (agarctfi) wants to merge 1 commit into
Conversation
The snap store has been unreachable from GitHub Actions runners, causing all connector pre-release publish workflows to fail. Replace `sudo snap install yq` with a direct binary download from the mikefarah/yq GitHub releases in all 5 occurrences across: - .github/actions/connector-image-build-push/action.yml - .github/workflows/auto-upgrade-certified-connectors-cdk.yml (x2) - .github/workflows/cdk-source-connector-compatibility-test.yml - .github/workflows/cdk-destination-connector-compatibility-test.yml Co-Authored-By: alfredo.garcia@airbyte.io <freddy.garcia7.fg@gmail.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksPR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
📚 Show Repo GuidanceHelpful Resources
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
The snap store has been unreachable from GitHub Actions runners all day, causing all connector pre-release publish workflows to fail with:
Affected connectors today (8+ failed runs):
source-google-ads(PR fix(source-google-ads): mount TimeoutHTTPAdapter on parent-stream sessions (4.2.6-rc.2) #77663) — 4 failuressource-airtable(PR feat(source-airtable): add oauth_connector_input_specification with granular scopes #76071)source-snapchat-marketing(PR feat(source-snapchat-marketing): add oauthConnectorInputSpecification with scopes array #76214)source-linear(PR feat(source-linear): add OAuth 2.0 support #77578)source-microsoft-dataverse(PR feat(source-microsoft-dataverse)!: map DateOnly fields to date format instead of date-time #77565)Requested by Alfredo Garcia (@agarctfi).
How
Replace
sudo snap install yqwith a direct binary download from the mikefarah/yq GitHub releases in all 5 occurrences:.github/actions/connector-image-build-push/action.yml— used by the publish workflow.github/workflows/auto-upgrade-certified-connectors-cdk.yml(2 occurrences).github/workflows/cdk-source-connector-compatibility-test.yml.github/workflows/cdk-destination-connector-compatibility-test.ymlThe new install method (
wgetfrom GitHub releases) does not depend on the snap store and is a common pattern for installingyqin CI.Review guide
.github/actions/connector-image-build-push/action.yml— line 83.github/workflows/auto-upgrade-certified-connectors-cdk.yml— lines 29, 73.github/workflows/cdk-source-connector-compatibility-test.yml— line 25.github/workflows/cdk-destination-connector-compatibility-test.yml— line 25User Impact
Unblocks all connector pre-release publish workflows that are currently failing due to the snap store outage.
Can this PR be safely reverted and rolled back?
Devin session