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

feat: add prometheus install #668

Merged
merged 1 commit into from
Apr 9, 2022
Merged

feat: add prometheus install #668

merged 1 commit into from
Apr 9, 2022

Conversation

dirien
Copy link
Contributor

@dirien dirien commented Apr 6, 2022

Signed-off-by: Engin Diri [email protected]

Description

Add Prometheus to system package install

Motivation and Context

Relates to #654

How Has This Been Tested?

❯ docker container run --rm -v $(pwd):/workspace -ti golang:1.18 bash
root@663ed16b868a:/go# cd /workspace/
root@663ed16b868a:/workspace# go build .
go: downloading github.com/spf13/cobra v1.4.0
go: downloading github.com/alexellis/go-execute v0.5.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/morikuni/aec v1.0.0
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/mattn/go-runewidth v0.0.12
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading golang.org/x/sys v0.0.0-20211205182925-97ca703d548d
go: downloading golang.org/x/mod v0.5.1
go: downloading github.com/sethvargo/go-password v0.2.0
go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
root@663ed16b868a:/workspace# ./arkade system install prometheus
Installing Prometheus to /usr/local/bin
Installing version: v2.34.0 for: amd64
Downloading from: https://github.com/prometheus/prometheus/releases/download/v2.34.0/prometheus-2.34.0.linux-amd64.tar.gz
72.77 MiB / 72.77 MiB [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00%
Downloaded to: /tmp/prometheus-2.34.0.linux-amd64.tar.gz
Unpacking binaries to: /tmp/prometheus3034869986
Copying binaries to: /usr/local/bin
root@663ed16b868a:/workspace# ls /tmp/
prometheus-2.34.0.linux-amd64.tar.gz
root@663ed16b868a:/workspace# pro
prometheus  promtool    prove       
root@663ed16b868a:/workspace# pro

Are you a GitHub Sponsor (Yes/No?)

  • Yes
  • No

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Documentation

  • I have updated the list of tools in README.md if (required) with ./arkade get -o markdown
  • I have updated the list of apps in README.md if (required) with ./arkade install --help

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have tested this on arm, or have added code to prevent deployment

Signed-off-by: Engin Diri <[email protected]>
Copy link
Owner

@alexellis alexellis left a comment

Choose a reason for hiding this comment

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

LGTM

@alexellis alexellis merged commit 3ec2129 into alexellis:master Apr 9, 2022
@dirien dirien deleted the prometheus branch April 9, 2022 07:45
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