-
Notifications
You must be signed in to change notification settings - Fork 104
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
no partitions defined while using dind (docker in a docker) with gitlab ci runner #147
Comments
I faced the same problem. Make sure you are not overwriting any previously created images that may exist in the |
Aha, this looks the same as my issue, so I don't think this is specific to DIND In my case, running natively on an RPi (i.e. outside of Docker)
@shantanoo-desai's suggestion
doesn't apply in my case, because I'm running this packer build from a completely fresh directory every time Edit: scratch that, rebooting the host, command runs fine. But... now I know what I'm looking for, @marcelomanzo if you can post the output of |
I am facing the same issue, while using gitlab ci runner, even when using: -v /dev:/dev
build_os_dist:
image: "docker:latest"
stage: .pre
services:
script:
tags:
Output...
==> arm-image: Copying source image.
==> arm-image: Image is a zip file.
==> arm-image: Unzipping 2020-02-13-raspbian-buster-lite.img
arm-image: Speed: 148.38 MB/s
arm-image: Progress: 40.25%
arm-image: Speed: 91.92 MB/s
arm-image: Progress: 65.03%
arm-image: Speed: 55.48 MB/s
arm-image: Progress: 80.06%
==> arm-image: Growing partition to 4096 M (4294967296 bytes)
arm-image: mapping output-arm-image/image
==> arm-image: losetup --show -f -P output-arm-image/image
==> arm-image: partitions: []
==> arm-image: no partitions defined
Build 'arm-image' errored after 33 seconds 467 milliseconds: step canceled or halted
==> Wait completed after 33 seconds 467 milliseconds
==> Some builds didn't complete successfully and had errors:
--> arm-image: step canceled or halted
==> Builds finished but no artifacts were created.
Cleaning up project directory and file based variables
The text was updated successfully, but these errors were encountered: