Windows builds working, including artifacts import
This commit is contained in:
parent
38f74ed5a0
commit
4aab93fe8f
8 changed files with 347 additions and 62 deletions
|
|
@ -179,6 +179,7 @@ INSERT INTO channels (name) VALUES ('createrepo');
|
|||
INSERT INTO channels (name) VALUES ('maven');
|
||||
INSERT INTO channels (name) VALUES ('livecd');
|
||||
INSERT INTO channels (name) VALUES ('appliance');
|
||||
INSERT INTO channels (name) VALUES ('vm');
|
||||
|
||||
-- Here we track the build machines
|
||||
-- each host has an entry in the users table also
|
||||
|
|
@ -668,6 +669,12 @@ CREATE TABLE maven_builds (
|
|||
version TEXT NOT NULL
|
||||
) WITHOUT OIDS;
|
||||
|
||||
-- Windows-specific build information
|
||||
CREATE TABLE win_builds (
|
||||
build_id INTEGER NOT NULL PRIMARY KEY REFERENCES build(id),
|
||||
platform TEXT NOT NULL
|
||||
) WITHOUT OIDS;
|
||||
|
||||
-- Even though we call this archiveinfo, we can probably use it for
|
||||
-- any filetype output by a build process. In general they will be
|
||||
-- archives (.zip, .jar, .tar.gz) but could also be installer executables (.exe)
|
||||
|
|
@ -683,6 +690,13 @@ insert into archivetypes (name, description, extensions) values ('zip', 'Zip arc
|
|||
insert into archivetypes (name, description, extensions) values ('pom', 'Maven Project Object Management files', 'pom');
|
||||
insert into archivetypes (name, description, extensions) values ('tar', 'Tar files', 'tar tar.gz tar.bz2');
|
||||
insert into archivetypes (name, description, extensions) values ('xml', 'XML files', 'xml');
|
||||
insert into archivetypes (name, description, extensions) values ('exe', 'Windows executable', 'exe');
|
||||
insert into archivetypes (name, description, extensions) values ('dll', 'Windows dynamic link library', 'dll');
|
||||
insert into archivetypes (name, description, extensions) values ('sys', 'Windows device driver', 'sys');
|
||||
insert into archivetypes (name, description, extensions) values ('inf', 'Windows driver information file', 'inf');
|
||||
insert into archivetypes (name, description, extensions) values ('cat', 'Windows catalog file', 'cat');
|
||||
insert into archivetypes (name, description, extensions) values ('msi', 'Windows Installer package', 'msi');
|
||||
insert into archivetypes (name, description, extensions) values ('pdb', 'Windows debug information', 'pdb');
|
||||
|
||||
-- Do we want to enforce a constraint that a build can only generate one
|
||||
-- archive with a given name?
|
||||
|
|
@ -715,4 +729,11 @@ CREATE TABLE buildroot_archives (
|
|||
) WITHOUT OIDS;
|
||||
CREATE INDEX buildroot_archives_archive_idx ON buildroot_archives (archive_id);
|
||||
|
||||
-- Extended information about files built in Windows VMs
|
||||
CREATE TABLE win_archives (
|
||||
archive_id INTEGER NOT NULL PRIMARY KEY REFERENCES archiveinfo(id),
|
||||
platforms TEXT NOT NULL,
|
||||
flags TEXT
|
||||
) WITHOUT OIDS;
|
||||
|
||||
COMMIT WORK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue