toymaker

podman-exporter/3

Error

2023-03-21T10:04:54.721924308+01:00 stderr + item=3
2023-03-21T10:04:54.722013973+01:00 stderr + git clone https://github.com/containers/prometheus-podman-exporter
2023-03-21T10:04:54.768002848+01:00 stderr Cloning into 'prometheus-podman-exporter'...
2023-03-21T10:05:00.134043128+01:00 stderr Updating files: 87% (4731/5398)
 Updating files: 88% (4751/5398)
 Updating files: 89% (4805/5398)
 Updating files: 90% (4859/5398)
 Updating files: 91% (4913/5398)
 Updating files: 92% (4967/5398)
 Updating files: 93% (5021/5398)
 Updating files: 94% (5075/5398)
 Updating files: 95% (5129/5398)
 Updating files: 96% (5183/5398)
 Updating files: 97% (5237/5398)
 Updating files: 98% (5291/5398)
 Updating files: 99% (5345/5398)
 Updating files: 100% (5398/5398)
Updating files: 100% (5398/5398), done.
2023-03-21T10:05:00.165122308+01:00 stderr + cd prometheus-podman-exporter
2023-03-21T10:05:00.166053708+01:00 stderr + git + tail -n1
2023-03-21T10:05:00.166138920+01:00 stderr tag
2023-03-21T10:05:00.168290235+01:00 stderr + TAG=v1.3.0
2023-03-21T10:05:00.168354208+01:00 stderr + git checkout v1.3.0
2023-03-21T10:05:00.387164167+01:00 stderr Note: switching to 'v1.3.0'.
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387164167+01:00 stderr You are in 'detached HEAD' state. You can look around, make experimental
2023-03-21T10:05:00.387164167+01:00 stderr changes and commit them, and you can discard any commits you make in this
2023-03-21T10:05:00.387164167+01:00 stderr state without impacting any branches by switching back to a branch.
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387164167+01:00 stderr If you want to create a new branch to retain commits you create, you may
2023-03-21T10:05:00.387164167+01:00 stderr do so (now or later) by using -c with the switch command. Example:
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387164167+01:00 stderr git switch -c 
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387164167+01:00 stderr Or undo this operation with:
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387164167+01:00 stderr git switch -
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387164167+01:00 stderr Turn off this advice by setting config variable advice.detachedHead to false
2023-03-21T10:05:00.387164167+01:00 stderr
2023-03-21T10:05:00.387221586+01:00 stderr HEAD is now at 9d71493 Bump tp v1.3.0
2023-03-21T10:05:00.388405711+01:00 stderr + make binary
2023-03-21T10:05:00.870892417+01:00 stdout running go build
2023-03-21T10:05:00.872119175+01:00 stdout go build -mod=vendor -ldflags="-X '"github.com/containers/prometheus-podman-exporter"/cmd.buildVersion=1.3.0' -X '"github.com/containers/prometheus-podman-exporter"/cmd.buildRevision=1' -X '"github.com/containers/prometheus-podman-exporter"/cmd.buildBranch=HEAD'" -o ./bin/prometheus-podman-exporter
2023-03-21T10:08:18.291746621+01:00 stderr + scp ./bin/prometheus-podman-exporter deploy@host.containers.internal:toys/podman-exporter/3/prometheus-podman-exporter-v1.3.0
2023-03-21T10:08:20.592622749+01:00 stderr + ssh deploy@host.containers.internal 'cp ~/toys/podman-exporter/3/prometheus-podman-exporter-v1.3.0 /tmp/podman-exporter'
2023-03-21T10:08:21.425986514+01:00 stderr + ssh deploy@host.containers.internal 'chmod a+rwX /tmp/podman-exporter'
2023-03-21T10:08:22.206892649+01:00 stderr + ssh deploy@host.containers.internal 'doas -u infra cp /tmp/podman-exporter /usr/bin/podman-exporter'
2023-03-21T10:08:23.523707784+01:00 stderr doas: Operation not permitted