Commit graph

5567 commits

Author SHA1 Message Date
Joseph Schorr
75e8af47e5 Switch Olark to Chatlio 2016-08-08 18:18:35 -04:00
josephschorr
1a137ee7b3 Merge pull request #1643 from coreos-inc/db-retry
Enable automatic retry for the database
2016-08-08 15:04:25 -04:00
Joseph Schorr
700e7b74e4 Enable automatic retry for the database 2016-08-08 15:02:42 -04:00
Jimmy Zelinskie
2f140f1128 Merge pull request #1688 from jzelinskie/rmfk
MIGRATION: drop foreign keys on logentry table
2016-08-08 14:23:20 -04:00
Jimmy Zelinskie
22a25ac2d3 Revert "Merge pull request #1678 from coreos-inc/delete-repo-fix"
This reverts commit df64caf133, reversing
changes made to 0d1e453566.
2016-08-08 12:38:15 -04:00
Jimmy Zelinskie
ce14b9dddf modify log_action to internally resolve IDs 2016-08-08 12:38:15 -04:00
Jimmy Zelinskie
052c31752b MIGRATION: drop foreign keys on logentry table
This migration generates the following for MySQL:

BEGIN;

-- Running upgrade 1093d8b212bb -> 6243159408b5

ALTER TABLE logentry DROP FOREIGN KEY fk_logentry_account_id_user;

ALTER TABLE logentry DROP FOREIGN KEY
fk_logentry_repository_id_repository;

ALTER TABLE logentry DROP FOREIGN KEY fk_logentry_performer_id_user;

UPDATE alembic_version SET version_num='6243159408b5' WHERE
alembic_version.version_num = '1093d8b212bb';

COMMIT;
2016-08-08 12:38:15 -04:00
Jimmy Zelinskie
e05bc8bf7d migration.sh: default DOCKER_IP to localhost 2016-08-08 12:36:01 -04:00
josephschorr
6716a2562b Merge pull request #1680 from coreos-inc/add-missing-index
Add various missing indexes
2016-08-08 12:34:58 -04:00
Joseph Schorr
80a37fd295 Add various missing indexes
Indexes added:

Image::repository - Needed for model.image.get_repository_images_without_placements
RepositoryTag::image - Needed for model.tag.get_tags_for_image
RepositoryTag::repository - Needed for repository deletion
RepositoryBuild::phase - Needed for model.build.list_repository_builds sorting
RepositoryBuild::started - Needed for model.build.list_repository_builds sorting
RepositoryBuild::repository+started+phase - Needed for model.build.list_repository_builds
RepositoryBuild::started+logs_archived+phase - Needed for model.build.get_archivable_build lookup
2016-08-08 12:34:45 -04:00
josephschorr
fe2aeee218 Merge pull request #1689 from coreos-inc/qemu-specific-version
Allow the version of CoreOS to be specified when building QEMU image
2016-08-05 16:47:35 -04:00
Joseph Schorr
acdfc9369d Allow the version of CoreOS to be specified when building QEMU image 2016-08-05 16:46:11 -04:00
josephschorr
fb0a1f9728 Merge pull request #1681 from coreos-inc/no-retry-builds
Fix display for builds which have fully expired
2016-08-04 16:55:16 -04:00
josephschorr
df64caf133 Merge pull request #1678 from coreos-inc/delete-repo-fix
Have repo deletion not lock all the things
2016-08-04 16:48:03 -04:00
josephschorr
0d1e453566 Merge pull request #1685 from coreos-inc/org-wide-read
Change permissions model so that non-admins do not get org-wide read
2016-08-04 16:47:41 -04:00
Joseph Schorr
c4daf1cc3d Change permissions model so that non-admins do not get org-wide read
Fixes #1684
2016-08-04 16:47:28 -04:00
Joseph Schorr
0b5cd95693 Have repo deletion not lock all the things 2016-08-04 16:45:59 -04:00
Joseph Schorr
b7bde27b3c Fix display for builds which have fully expired
Fixes #1663
2016-08-04 11:13:32 -04:00
Jimmy Zelinskie
5a4e557d90 Merge pull request #1682 from coreos-inc/readme-terminology
readme: some extra stuff
2016-08-03 23:23:30 -04:00
Jimmy Zelinskie
53934b1426 readme: fix URLs pointing to the wrong docs 2016-08-03 22:21:35 -04:00
Jimmy Zelinskie
78971d68a5 readme: add some terminology 2016-08-03 22:18:53 -04:00
josephschorr
432bdc7e3e Merge pull request #1679 from coreos-inc/changelog
Changelog
2016-08-03 16:00:36 -04:00
Joseph Schorr
c700c6e54b Changelog for v1.16.5 2016-08-03 15:59:42 -04:00
Jimmy Zelinskie
012fec9e55 changelog: cut 1.16.4 2016-08-03 15:43:39 -04:00
josephschorr
8bc0080aeb Merge pull request #1672 from coreos-inc/off-by-one
Fix off-by-one error in repo tags pagination
2016-08-03 15:00:23 -04:00
josephschorr
630d022b56 Merge pull request #1675 from coreos-inc/fix-storage-validation
Add missing arg to validate call and add logging
2016-08-03 14:05:37 -04:00
josephschorr
4e9800dfc2 Merge pull request #1676 from coreos-inc/swift-delete-logs
Add logging when Swift deletion fails
2016-08-03 13:38:16 -04:00
Joseph Schorr
0b47fce1cb Add logging when Swift deletion fails 2016-08-03 12:16:06 -04:00
josephschorr
de58c1e38b Merge pull request #1661 from coreos-inc/buildman-timeout
Fix TTL on heartbeat in etcd
2016-08-03 11:18:32 -04:00
Joseph Schorr
c29f9ccc7f Fix TTL on heartbeat in etcd
Until now, once the heartbeat has expired, we would issue a TTL that is negative, which causes etcd to either raise an exception or simply ignore the expiration (depending on the version of etcd). This change ensures that once the key is expired, it is removed immediately via a set of a TTL of 0. Also adds tests for this case and the normal expiration case.
2016-08-03 11:15:03 -04:00
Joseph Schorr
974ab6c42c Add missing arg to validate call and add logging 2016-08-03 11:13:27 -04:00
josephschorr
83849f4320 Merge pull request #1660 from coreos-inc/storage-status
Add storage validation to the status endpoint
2016-08-03 11:09:48 -04:00
Joseph Schorr
770ac0016e Change validate method to work for all storages 2016-08-02 15:01:37 -04:00
josephschorr
b662fad09e Merge pull request #1670 from coreos-inc/blob-upload-logs
Add additional logs for invalid blob upload
2016-08-02 14:55:44 -04:00
josephschorr
7ca0ba882c Merge pull request #1673 from coreos-inc/build-logs-requires-cors
Add missing requires_cors to build log archive URL
2016-08-02 14:50:19 -04:00
Joseph Schorr
dc22b50b56 Add missing requires_cors to build log archive URL
Fixes #1671
2016-08-02 14:18:58 -04:00
Joseph Schorr
b1b0da7afd Fix off-by-one error in repo tags pagination
Fixes #1665
2016-08-02 14:17:33 -04:00
Joseph Schorr
a1a6647ea7 Add additional logs for invalid blob upload
Fixes #1668
2016-08-02 12:15:30 -04:00
Jake Moshenko
c3a401d960 Merge pull request #1669 from jakedt/gcrandomtest
Accidentally forgot a line in the gc worker.
2016-08-02 10:45:51 -04:00
Jake Moshenko
a113f548db Accidentally forgot a line in the gc worker. 2016-08-02 10:44:53 -04:00
Jake Moshenko
61bc358516 Merge pull request #1662 from jakedt/gcrandomtest
Add a test to make sure the random policy function runs.
2016-08-01 18:49:24 -04:00
Jake Moshenko
8ac88facab Add a test to make sure the random policy function runs. 2016-08-01 18:42:55 -04:00
Jake Moshenko
05e2773fa7 Get rid of remaining slow query for garbage collection. 2016-08-01 18:22:38 -04:00
josephschorr
b0bffe56ca Merge pull request #1638 from coreos-inc/swift-retry-seek
Add retry support to Swift
2016-08-01 14:04:54 -04:00
Joseph Schorr
c30b8dd1ad Add storage validation to the status endpoint
Fixes #1659
2016-08-01 13:02:26 -04:00
josephschorr
abce6a8dbc Merge pull request #1657 from coreos-inc/redis-reconnect
Change user events tutorial Redis error to be an inline box
2016-07-27 16:11:58 -07:00
josephschorr
98bfdc7244 Merge pull request #1656 from coreos-inc/stupid-ff
Fix enter key in password dialogs in Firefox
2016-07-27 16:11:51 -07:00
Joseph Schorr
cb9a99fc7b Change user events tutorial Redis error to be an inline box
Fixes #1653
2016-07-27 13:41:26 -07:00
Joseph Schorr
c60f441d87 Fix enter key in password dialogs in Firefox
Fixes #1655
2016-07-27 13:12:37 -07:00
josephschorr
d240ad9a2c Merge pull request #1652 from coreos-inc/custom-link
Add support for custom commit links in the build UI
2016-07-26 16:37:21 -07:00