[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [atomic-devel] Hacking on Atomic Host: Achievement: unlocked




On 03/28/2016 10:39 AM, Colin Walters wrote:
> One of the goals I have for Atomic Host is that we are doing more integration testing work than the traditional client-side package assembly model.
> 
> However, in order to achieve that goal, we need to enable developers to quickly and rapidly test combinations of packages and code.  Until now, actually developing on Atomic Host has certainly been *possible*, but not documented well and unnecessarily painful.
> 
> I think with the new "ostree admin unlock" verb in OSTree v2016.4 that has changed:
> https://mail.gnome.org/archives/ostree-list/2016-March/msg00009.html

This looks awesome!

> 
> Now v2016.4 is only in updates-testing, so we'll need to rebase to it, per https://fedoraproject.org/wiki/QA:Updates_Testing
> 
> # rpm-ostree rebase fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host
> ...
> Changed:
>   docker 1:1.9.1-6.git6ec29ef.fc23 -> 2:1.9.1-7.gitc6607d2.fc23
>   docker-selinux 1:1.9.1-6.git6ec29ef.fc23 -> 2:1.9.1-7.gitc6607d2.fc23
>   ...
>   ostree 2015.11-2.fc23 -> 2016.4-2.fc23
>   ostree-grub2 2015.11-2.fc23 -> 2016.4-2.fc23
>    ...
> # systemctl reboot
>   ...
> # ostree admin unlock
> Development mode enabled.  A writable overlayfs is now mounted on /usr.
> All changes there will be discarded on reboot.

Any solution for testing that needs to involve a reboot?

> -bash-4.3# ostree admin status
> * fedora-atomic 2f80c5d5918dbe2fd7745f9596ffee4ce44348f5d039ad480d7da37ddc03529e.0
>     Version: 23.92
>     Unlocked: development
>     origin refspec: fedora-atomic:fedora-atomic/f23/x86_64/testing/docker-host
>   fedora-atomic 10c4a50468c276e087abfd4d30a46b9233caeaaa7849981fc4db856add7d04c4.0
>     Version: 23.91
>     origin refspec: fedora-atomic:fedora-atomic/f23/x86_64/docker-host
> 
> See the new "Unlocked: development" there.  Now, let's download the new 1.10 build: http://koji.fedoraproject.org/koji/buildinfo?buildID=746041
> 
> # for x in "" "-selinux" "-forward-journald"; do curl -L -O https://kojipkgs.fedoraproject.org//packages/docker/1.10.2/8.git0f5ac89.fc23/x86_64/docker-$x-1.10.2-8.git0f5ac89.fc23.x86_64.rpm; done
> # rpm -Uvh --oldpackage *.rpm
> # docker info|grep Server
> Server Version: 1.10.2
> #
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]