2022-12-22T11:32:12.069470158+01:00 stderr + item=1
2022-12-22T11:32:12.069470158+01:00 stderr + git clone https://github.com/containers/prometheus-podman-exporter
2022-12-22T11:32:12.071306248+01:00 stderr Cloning into 'prometheus-podman-exporter'...
2022-12-22T11:32:17.464476243+01:00 stderr Updating files: 87% (4280/4898)
Updating files: 88% (4311/4898)
Updating files: 89% (4360/4898)
Updating files: 90% (4409/4898)
Updating files: 91% (4458/4898)
Updating files: 92% (4507/4898)
Updating files: 93% (4556/4898)
Updating files: 94% (4605/4898)
Updating files: 95% (4654/4898)
Updating files: 96% (4703/4898)
Updating files: 97% (4752/4898)
Updating files: 98% (4801/4898)
Updating files: 99% (4850/4898)
Updating files: 100% (4898/4898)
Updating files: 100% (4898/4898), done.
2022-12-22T11:32:17.503507092+01:00 stderr + cd prometheus-podman-exporter
2022-12-22T11:32:17.504241559+01:00 stderr + tail -n1
2022-12-22T11:32:17.505058928+01:00 stderr + git tag
2022-12-22T11:32:17.507444872+01:00 stderr + TAG=v1.2.0
2022-12-22T11:32:17.507671516+01:00 stderr + git checkout v1.2.0
2022-12-22T11:32:17.807941493+01:00 stderr Note: switching to 'v1.2.0'.
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807941493+01:00 stderr You are in 'detached HEAD' state. You can look around, make experimental
2022-12-22T11:32:17.807941493+01:00 stderr changes and commit them, and you can discard any commits you make in this
2022-12-22T11:32:17.807941493+01:00 stderr state without impacting any branches by switching back to a branch.
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807941493+01:00 stderr If you want to create a new branch to retain commits you create, you may
2022-12-22T11:32:17.807941493+01:00 stderr do so (now or later) by using -c with the switch command. Example:
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807941493+01:00 stderr git switch -c
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807941493+01:00 stderr Or undo this operation with:
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807941493+01:00 stderr git switch -
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807941493+01:00 stderr Turn off this advice by setting config variable advice.detachedHead to false
2022-12-22T11:32:17.807941493+01:00 stderr
2022-12-22T11:32:17.807996363+01:00 stderr HEAD is now at ab5e786 Bump to v1.2.0
2022-12-22T11:32:17.808860725+01:00 stderr + make binary
2022-12-22T11:32:17.910432941+01:00 stdout running go build
2022-12-22T11:32:17.911270107+01:00 stdout go build -mod=vendor -ldflags="-X '"github.com/containers/prometheus-podman-exporter"/cmd.buildVersion=1.2.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
2022-12-22T11:35:10.274510931+01:00 stderr + scp ./bin/prometheus-podman-exporter deploy@host.containers.internal:toys/podman-exporter/1/prometheus-podman-exporter-v1.2.0
2022-12-22T11:35:12.879240948+01:00 stderr + ssh deploy@host.containers.internal 'cp ~/toys/podman-exporter/1/prometheus-podman-exporter-v1.2.0 /tmp/podman-exporter'
2022-12-22T11:35:13.699802977+01:00 stderr + ssh deploy@host.containers.internal 'chmod a+rwX /tmp/podman-exporter'
2022-12-22T11:35:14.474901558+01:00 stderr + ssh deploy@host.containers.internal 'doas -u infra cp /tmp/podman-exporter /home/infra/podman-exporter/'
2022-12-22T11:35:15.249381784+01:00 stderr doas: Operation not permitted