2022-12-22T11:38:42.969662841+01:00 stderr + item=2
2022-12-22T11:38:42.969662841+01:00 stderr + git clone https://github.com/containers/prometheus-podman-exporter
2022-12-22T11:38:42.971359755+01:00 stderr Cloning into 'prometheus-podman-exporter'...
2022-12-22T11:38:47.931786667+01:00 stderr Updating files: 92% (4508/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:38:47.958123568+01:00 stderr + cd prometheus-podman-exporter
2022-12-22T11:38:47.959261301+01:00 stderr + git tag
2022-12-22T11:38:47.959261301+01:00 stderr + tail -n1
2022-12-22T11:38:47.960701662+01:00 stderr + TAG=v1.2.0
2022-12-22T11:38:47.960746284+01:00 stderr + git checkout v1.2.0
2022-12-22T11:38:48.470739867+01:00 stderr Note: switching to 'v1.2.0'.
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr You are in 'detached HEAD' state. You can look around, make experimental
2022-12-22T11:38:48.470739867+01:00 stderr changes and commit them, and you can discard any commits you make in this
2022-12-22T11:38:48.470739867+01:00 stderr state without impacting any branches by switching back to a branch.
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr If you want to create a new branch to retain commits you create, you may
2022-12-22T11:38:48.470739867+01:00 stderr do so (now or later) by using -c with the switch command. Example:
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr git switch -c
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr Or undo this operation with:
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr git switch -
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr Turn off this advice by setting config variable advice.detachedHead to false
2022-12-22T11:38:48.470739867+01:00 stderr
2022-12-22T11:38:48.470739867+01:00 stderr HEAD is now at ab5e786 Bump to v1.2.0
2022-12-22T11:38:48.471999439+01:00 stderr + make binary
2022-12-22T11:38:48.576588625+01:00 stdout running go build
2022-12-22T11:38:48.577718618+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:41:41.389619323+01:00 stderr + scp ./bin/prometheus-podman-exporter deploy@host.containers.internal:toys/podman-exporter/2/prometheus-podman-exporter-v1.2.0
2022-12-22T11:41:43.603709098+01:00 stderr + ssh deploy@host.containers.internal 'cp ~/toys/podman-exporter/2/prometheus-podman-exporter-v1.2.0 /tmp/podman-exporter'
2022-12-22T11:41:44.445263145+01:00 stderr + ssh deploy@host.containers.internal 'chmod a+rwX /tmp/podman-exporter'
2022-12-22T11:41:45.216907892+01:00 stderr + ssh deploy@host.containers.internal 'doas -u infra cp /tmp/podman-exporter /home/infra/podman-exporter/'
2022-12-22T11:41:46.082106569+01:00 stderr + ssh deploy@host.containers.internal 'rm /tmp/podman-exporter'
2022-12-22T11:41:46.867204270+01:00 stderr + ssh deploy@host.containers.internal 'doas -u infra doas /etc/init.d/podman-exporter restart'
2022-12-22T11:41:47.985141817+01:00 stdout * Caching service dependencies ... [ ok ]
2022-12-22T11:41:48.006302926+01:00 stdout * Stopping podman-exporter ... [ ok ]
2022-12-22T11:41:48.053109451+01:00 stdout * Starting podman-exporter ... [ ok ]