particle-iot-archived / particle-dev-local-compiler

Package providing local compilation for Particle devices in Particle Dev
MIT License
11 stars 0 forks source link

Compiler depends on `latest` tag instead of semver versions #17

Closed rei-vilo closed 7 years ago

rei-vilo commented 8 years ago

I followed the procedure After updating firmware versions Docker VM has grown to over 20GB. The VM is now 3 GB.

However, building fails with

capture 2015-11-23 a 17 34 42

but

$ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE particle/buildpack-particle-firmware v0.4.7 e4554a679713 2 weeks ago 2.053 GB

and

$ ls /Users/ReiVilo/.docker/machine/machines/default boot2docker.iso cert.pem default id_rsa key.pem server.pem ca.pem config.json disk.vmdk id_rsa.pub server-key.pem

suda commented 8 years ago

What does docker-machine env say? Are those values different from previous ones that are in package settings?

rei-vilo commented 8 years ago

They are exactly the same as before. I double-checked them and copied-pasted them again from docker-machine env default to Settings.

rei-vilo commented 8 years ago

Selecting v0.4.7 again and launching a new build against Photon succeeded.

It seems the latest container isn't created/installed, hence the need for specifying v0.4.7 manually.

Now, a new issue with the Core board.

Building against Core fails with v0.4.7.

capture 2015-11-23 a 17 52 00

Could v0.4.6 be installed alongside with the same procedure? The VM should bump up to 6 GB.

suda commented 8 years ago

Thanks for testing it out! Seems like local compiler depends too much on latest tag.

0.4.6 should work with the same method.

rei-vilo commented 8 years ago

Ok, I confirm, build against Core works only with v0.4.6, not v0.4.7.

VM size is unchanged at 3 GB.

suda commented 8 years ago

👍