Closed timfoster closed 4 years ago
Should https://github.com/joyent/smartos-live/pull/870 be closed then?
Should #870 be closed then?
Yes it should - unclear why the migration script didn't close it :-/ Thanks for the reminder! https://gist.github.com/timfoster/062d30ca636584bd7f2a1d1a53d6da01
(This change needs to wait for joyent/node-sdc-clients#20 before it can integrate)
I'd like to do another full test of this change before seeking review - last-minute testing on a full build of a SmartOS iso hit the bug that I think is fixed in the most recent commit, but I want to make sure.
I've re-run the entire imgadm test suite, and did some manual sanity tests on the correct iso image I built, and am happy with this change now. The import test results were:
import.test.js
✔ setup: clean WRKDIR (/var/tmp/img-test-import)
✔ setup: ensure images.joyent.com source
✔ setup: get test image in local SDC IMGAPI (if available)
✔ setup: get origin for experimental image
✔ setup: CACHEDIR (/var/tmp/img-test-cache)
✔ setup: cache test image manifest
✔ setup: cache test image file
✔ setup1: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ imgadm import 0764d78e-3472-11e5-8949-4f31abea4e05
✔ imgadm ancestry 0764d78e-3472-11e5-8949-4f31abea4e05
✔ imgadm ancestry -j 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup2: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ imgadm install ... 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup3: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ concurrent: imgadm install ... 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup4: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ concurrent: imgadm import 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup5: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ pre-downloaded file; imgadm import 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup6: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ pre-downloaded file (bad size); imgadm import 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup7: remove image 0764d78e-3472-11e5-8949-4f31abea4e05
✔ pre-downloaded file (bad checksum); imgadm import 0764d78e-3472-11e5-8949-4f31abea4e05
✔ setup8: rm experimental image b323e23f-e762-4677-a2c8-b56f3bd5ef48
✔ experimental image import fails
✔ setup9: add updates.joyent.com source
✔ experimental image import with -C arg
✔ setup10: delete experimental image
✔ experimental image import with -S channel url
✔ setup11: delete experimental image
✔ experimental image import configured channel
✔ experimental channel sources show up in list output
update.test.js
✔ imgadm update
OK: 191 assertions (1840103ms)
Thanks!
This PR was migrated from https://github.com/joyent/smartos-live/pull/870
OS-7601 want channel support for imgadm Reviewed by: John Levon john.levon@joyent.com
This PR was migrated-from-gerrit, https://cr.joyent.us/#/c/6796/. The raw archive of this CR is here. See MANTA-4594 for info on Joyent Eng's migration from Gerrit.
CR discussion
@timfoster commented at 2019-08-15T15:57:18
@timfoster commented at 2019-08-15T17:41:02
@timfoster commented at 2019-08-16T09:07:12
@timfoster commented at 2019-08-27T08:31:00
@johnlevon commented at 2019-08-27T16:29:07
@timfoster commented at 2019-08-28T10:46:16
@timfoster commented at 2019-08-28T14:52:46
Patch Set 3 code comments
@timfoster commented at 2019-08-29T12:18:05
@timfoster commented at 2019-08-29T12:19:55
@timfoster commented at 2019-08-30T13:07:14
@johnlevon commented at 2019-08-30T13:40:40
@timfoster commented at 2019-09-03T12:21:48
@timfoster commented at 2019-09-03T12:23:22
@timfoster commented at 2019-09-03T12:23:28
@timfoster commented at 2019-09-12T10:03:24