Commit Graph

129 Commits

Author SHA1 Message Date
Colin Walters
29e8505fab tasks/repoweb: Add a print message to show progress 2014-04-01 19:21:31 -04:00
Colin Walters
f7cf900f40 autobuilder: Claim ownership of command socket on startup 2014-04-01 18:36:04 -04:00
Colin Walters
9cea1c5328 treecompose: Remove some commented-out code
This bit will never really work right; the real fix is to switch to
hawkey+librepo.
2014-03-31 18:37:27 -04:00
Colin Walters
0a88e292f2 Put hawkey stuff behind --enable-patched-hawkey-and-libsolv
Right now we depend on two patches.
2014-03-28 22:04:53 -04:00
Colin Walters
50bd970791 Print treepkgdiff on rollback too
Move it to an internal API.
2014-03-28 21:55:37 -04:00
Colin Walters
441313f9ef core: Add "rollback" builtin
This is a convenient command to go back to the previous tree.
2014-03-28 20:27:35 -04:00
Colin Walters
8b32e68d41 upgrade: Add missing variable initializer 2014-03-28 20:27:35 -04:00
Colin Walters
221becaafb autobuilder: Avoid critical if there's no gpg_key 2014-03-28 20:27:35 -04:00
Colin Walters
57f8bfb63f upgrade: Print out a summary of the package delta
This requires us to link to hawkey.
2014-03-28 17:34:08 -04:00
Colin Walters
87c144269e upgrade: Consistently end status line
On error, we would append to the status line.
2014-03-27 07:59:36 -04:00
Colin Walters
cced7a74da Stop shipping yumdb entirely
We don't have the tools to read it in the host system right now, and
its one-file-per-value badly conflicts with OSTree's
one-HTTP-request-per-file.
2014-03-26 17:09:51 -04:00
Colin Walters
83fae8e058 upgrade: End status line 2014-03-25 17:38:59 -04:00
Colin Walters
bee7feb8d8 update: Print message noting reboot is required 2014-03-25 17:30:15 -04:00
Colin Walters
8fb40b75bd upgrade: Print origin description 2014-03-25 16:50:19 -04:00
Colin Walters
60a00a8544 upgrade: Fix to actually deploy on change 2014-03-25 08:21:25 -04:00
Colin Walters
c2b242f200 Add upgrade builtin
This is just the start of moving more functionality into rpm-ostree,
with the goal of more tightly binding the rpm and ostree worldviews.

For exmaple, supporting package installation on top, showing the
package-level diff between trees, etc.
2014-03-24 18:11:21 -04:00
Colin Walters
1319e1616d Rename create -> treecompose
It's just a better name.  Also matches what we already did for the
autobuilder.
2014-03-22 15:20:23 -04:00
Colin Walters
05d348528e core: Move rpm-ostree-sign to "rpm-ostree sign" 2014-03-22 15:12:31 -04:00
Colin Walters
af49603d6f core: Use generic "builtin" infrastructure for command handling
I want to have more options than just "create".
2014-03-22 15:05:41 -04:00
Colin Walters
481ce2af64 autobuilder: selinux-ensure-labeled has moved to instutil 2014-03-18 18:25:11 -04:00
Colin Walters
3ba0eb2e6e autobuilder: Rename build -> treecompose
We're not building anything from source here.
2014-03-14 22:53:32 -04:00
Colin Walters
9d2124fa55 autobuilder: Remove bdiff
It only applies in Continuous.
2014-03-14 22:44:19 -04:00
Colin Walters
e989331788 core: Add rpm-ostree-sign
This uses rpm-sign which talks to a remote server for signing.
2014-03-14 22:18:17 -04:00
Colin Walters
c73bcb5112 rpm-ostree: Remove duplicate variable definition 2014-03-14 16:03:49 -04:00
Colin Walters
6e29b92035 zdisks: Run immediately after ensure-disk-caches 2014-03-14 10:55:21 -04:00
Colin Walters
394212008a When tasks are pushed from console, schedule immediately
This is so that I can force a zdisks run.
2014-03-14 10:53:32 -04:00
Colin Walters
2e97051d74 Move internal labeling helper to ostree
This way it can more easily be reused by Anaconda:
https://git.gnome.org/browse/ostree/commit/?id=e11de9357cea643b45a2e5e3f94d33dbd84d9ca3
2014-03-13 08:52:51 -04:00
Colin Walters
7057a33859 libqa: Also update default fstab 2014-03-11 18:37:25 -04:00
Colin Walters
fbfabf8574 libqa: Switch to XFS by default for /
Docker tends to trigger kernel panics in fallocate with ext4, and XFS
is the RHEL7 default.
2014-03-11 18:02:58 -04:00
Colin Walters
8e74ce423f postprocess: Remove from_repo_{revision,timestamp}
These change every time the repo changes, and don't add a lot of
value.  We mainly just want the package URL and such.
2014-03-10 14:41:38 -04:00
Colin Walters
7f3fa0d60b Add "composeui/"
The web page previously bounced out to the "fedora-atomic" component -
but we really want a bit of web UI that's shared between products.
Like how Koji is a generic frontend.

In particular, this now comes with a start of a generic "repoweb".
2014-03-05 13:16:22 -05:00
Colin Walters
d84ccd6959 ensure-disk-caches: Don't regenerate if we have exact revision 2014-03-03 07:45:47 -05:00
Colin Walters
e694106324 smoketest: Delete .qcow2 disks after completion
They can get kind of large.
2014-03-01 12:12:52 -05:00
Colin Walters
115b781729 autobuilder: Use last completed build for tasks
We can't execute a task in a *running* build.
2014-03-01 11:00:10 -05:00
Colin Walters
a1a2953d4c core: Don't make multi-user.target.wants link if it already exists 2014-02-28 10:44:43 -05:00
Colin Walters
db22ca6e92 build: Don't append lists muliple times 2014-02-28 08:54:20 -05:00
Colin Walters
0e2c40c8a8 Move demo-treefile.json to doc/ 2014-02-27 18:18:42 -05:00
Colin Walters
a9ac9dde40 core: Create multi-user.target.wants if necessary
For some reason this doesn't seem to be created with current systemd
in EL7 Beta.
2014-02-27 18:16:13 -05:00
Colin Walters
5a6ac59e66 autobuilder: Add "console" command
Implemented in C with readline.
2014-02-26 14:54:01 -05:00
Colin Walters
56ff31418c autobuilder: Add missing space 2014-02-26 10:17:52 -05:00
Colin Walters
1e194b3c0b autobuilder: Remove leftover debug print 2014-02-26 04:49:36 -05:00
Colin Walters
cf15328768 autobuilder: Add a control socket
I've always needed a way to change what the daemon is running.
2014-02-26 04:42:22 -05:00
Colin Walters
ebf5838436 Support "repos_data" in treefiles, use it for automatic overrides/
For convenience, allow users to create an "overrides/" directory which
is a repo.  If it exists, the builder automatically adds it.

(However, we should likely disallow distributing these builds on
 the network)
2014-02-25 17:07:59 -05:00
Colin Walters
c08630f5d5 autobuilder: Move data to -autobuilder subdirectory for easy packaging 2014-02-23 17:24:05 -05:00
Colin Walters
2e21ceed91 autobuilder: Default to running "autobuilder" 2014-02-23 17:05:43 -05:00
Colin Walters
0cb346b798 postprocess: Work around SELinux cross-labeling vs PCRE issue
See http://marc.info/?l=selinux&m=139282274522388&w=2
2014-02-22 01:32:20 -05:00
Colin Walters
6985805b3a rpm-ostree: Set HARDLINK=no in environment during install
This avoids the kernel pointlessly doing its own checksum of content.
2014-02-21 14:56:12 -05:00
Colin Walters
61f3066ac6 autobuilder: Inherit comment attribute into treefiles 2014-02-21 14:05:24 -05:00
Colin Walters
cced6f6874 postprocess: Always place rpmdb into /usr/share/rpm
Remove support for the case where the tree doens't have rpm - we don't
need to go quite that small yet, and having the file -> package
mapping helps with the GPL compliance story.

See https://lists.fedoraproject.org/pipermail/legal/2014-February/002393.html
2014-02-21 13:50:40 -05:00
Colin Walters
39a7c458ef Major update to SELinux handling
We use the new unified OSTree API (OstreeSePolicy) to perform
labeling, rather than having our own here.

Also create a new rpm-ostree-relabeling-helper that is run to label
any leftover files such as /etc/fstab that we create offline, and also
to relabel the entire disk.
2014-02-20 07:59:09 -05:00