Skip to content

feat: Add install script for Vector #95

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

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

spencergilbert
Copy link
Contributor

@spencergilbert spencergilbert commented Oct 6, 2023

Opened as an alternative to vectordotdev/vector#18777

This struck me as a better location to maintain the script as AP is likely to be responsible for it as it is for the Agent and OPW scripts. Additionally since the scripts are so copied related co-locating them seems sensible.

Original PR

@spencergilbert spencergilbert marked this pull request as ready for review October 6, 2023 13:14
@spencergilbert spencergilbert requested a review from a team as a code owner October 6, 2023 13:14
@spencergilbert spencergilbert self-assigned this Oct 6, 2023

$sudo_cmd sh -c "DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https curl gnupg 2>$VEC_APT_INSTALL_ERROR_MSG || apt_exit_code=$?"

if grep "Could not get lock" $VEC_APT_INSTALL_ERROR_MSG; then
Copy link
Contributor

Choose a reason for hiding this comment

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

I realize this is not at all related to your PR, but how does this check behaves with i18n?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

😓 probably poorly, but it doesn't appear to have come up for the "upstream" scripts yet? Might be worth opening an issue to track though.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh yeah this is definitely a question for the upstream version, but I didn't thought of it at the time 😬

Copy link
Contributor

Choose a reason for hiding this comment

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

@spencergilbert spencergilbert merged commit 7a6e7b8 into main Oct 6, 2023
@spencergilbert spencergilbert deleted the spencergilbert/vector-repo-script branch October 6, 2023 14:14
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