ubuntu@node04:~/snap-prometheus-ceph-exporter$ git rev-parse HEAD
c35368013ab689486e25be3b3f6d9acd81be32b1
ubuntu@node04:~/snap-prometheus-ceph-exporter$ git remote show origin
* remote origin
Fetch URL: git://git.launchpad.net/snap-prometheus-ceph-exporter
Push URL: git://git.launchpad.net/snap-prometheus-ceph-exporter
HEAD branch: master
Remote branches:
beta tracked
master tracked
stable/2.0.7-luminous tracked
stable/3.0.0-nautilus tracked
Local branches configured for 'git pull':
master merges with remote master
stable/3.0.0-nautilus merges with remote stable/3.0.0-nautilus
Local refs configured for 'git push':
master pushes to master (up to date)
stable/3.0.0-nautilus pushes to stable/3.0.0-nautilus (up to date)
ubuntu@node04:~/snap-prometheus-ceph-exporter$ snapcraft
Launching a VM.
snapd is not logged in, snap install commands will use sudo
snap "core18" has no updates available
Pulling ceph-exporter
+ snapcraftctl pull
Cloning into '/root/parts/ceph-exporter/src'...
remote: Enumerating objects: 1280, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 1280 (delta 5), reused 6 (delta 3), pack-reused 1260
Receiving objects: 100% (1280/1280), 784.98 KiB | 2.98 MiB/s, done.
Resolving deltas: 100% (723/723), done.
Note: checking out '5d050f19bb58f34db721334cbb6a85ced63f3c66'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
go get -t -d ./github.com/digitalocean/ceph_exporter/...
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Failed to run 'go get -t -d ./github.com/digitalocean/ceph_exporter/...' for 'ceph-exporter': Exited with code 1.
Verify that the part is using the correct parameters and try again.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
ubuntu@node04:~/snap-prometheus-ceph-exporter$
ubuntu@ node04: ~/snap- prometheus- ceph-exporter$ git rev-parse HEAD 86e25be3b3f6d9a cd81be32b1 node04: ~/snap- prometheus- ceph-exporter$ git remote show origin launchpad. net/snap- prometheus- ceph-exporter launchpad. net/snap- prometheus- ceph-exporter 2.0.7-luminous tracked 3.0.0-nautilus tracked 3.0.0-nautilus merges with remote stable/ 3.0.0-nautilus 3.0.0-nautilus pushes to stable/ 3.0.0-nautilus (up to date) node04: ~/snap- prometheus- ceph-exporter$ snapcraft parts/ceph- exporter/ src'... 4db721334cbb6a8 5ced63f3c66' .
c35368013ab6894
ubuntu@
* remote origin
Fetch URL: git://git.
Push URL: git://git.
HEAD branch: master
Remote branches:
beta tracked
master tracked
stable/
stable/
Local branches configured for 'git pull':
master merges with remote master
stable/
Local refs configured for 'git push':
master pushes to master (up to date)
stable/
ubuntu@
Launching a VM.
snapd is not logged in, snap install commands will use sudo
snap "core18" has no updates available
Pulling ceph-exporter
+ snapcraftctl pull
Cloning into '/root/
remote: Enumerating objects: 1280, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 1280 (delta 5), reused 6 (delta 3), pack-reused 1260
Receiving objects: 100% (1280/1280), 784.98 KiB | 2.98 MiB/s, done.
Resolving deltas: 100% (723/723), done.
Note: checking out '5d050f19bb58f3
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
go get -t -d ./github. com/digitalocea n/ceph_ exporter/ ... com/digitalocea n/ceph_ exporter/ ...' for 'ceph-exporter': Exited with code 1. node04: ~/snap- prometheus- ceph-exporter$
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Failed to run 'go get -t -d ./github.
Verify that the part is using the correct parameters and try again.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.
ubuntu@