Commit graph

288 commits

Author SHA1 Message Date
Matthew Jaffee
c4af73e081 fix tag check to check against null
empty string doesn't work because gitlab doesn't set the variable at
all. How do I know that "null" is correct? Because Fletcher told
me... apparently it's a ruby-ism
2022-02-16 08:29:19 -06:00
Matthew Jaffee
504fce8e4d fix up S3 release dump
- remove commit SHA nesting
- add NOTICE, .service files, and .conf
2022-02-16 08:29:19 -06:00
Matthew Jaffee
1433d9ce83 add separate S3 dump step for tags 2022-02-16 08:29:14 -06:00
pokeeffe-molecula
fdb500898d fixed path 2022-02-15 07:59:33 -06:00
pokeeffe-molecula
f35741adcf removing experiments 2022-02-14 10:46:58 -06:00
pokeeffe-molecula
06e70d41e9 added a job to clean up files 2022-02-12 11:22:03 -06:00
pokeeffe-molecula
03da38d677 Merge branch 'master' into cicd-will-it-never-end 2022-02-12 11:14:26 -06:00
pokeeffe-molecula
4d8ff30eaa Merge branch 'master' into cicd-will-it-never-end 2022-02-11 17:33:13 -06:00
Matthew Jaffee
490ad7f08a try to clean up some files that are causing CI heartburn 2022-02-11 16:59:11 -06:00
pokeeffe-molecula
92d491682d added perf test 2022-02-11 15:38:33 -06:00
Matthew Jaffee
53a33134d9 add verbose output to race tests 2022-02-11 12:02:10 -06:00
pokeeffe-molecula
23980af634 Merge branch 'master' into cicd-will-it-never-end 2022-02-11 11:40:11 -06:00
Souhaila Noor
7983a7506f - Need to get code coverage on the server and client side
- For server side, used an instrumented binary with a test that wraps around the main entrypoint for featurebase
- Every time, the binary is called, a new coverage file is generated.
- For the client side, used the standard -coverprofile flag for go test to generate code coverage
- For backup test that's expected to fail, needed to call Run call in backup.go directly. The code coverage is not written to disk for an instrumented binary if there is an error.
2022-02-11 11:26:00 -06:00
garrison.davis@molecula.com
054f7c6cce Make wget less noisy 2022-02-11 08:57:23 -07:00
garrison.davis@molecula.com
27024de323 Use profile explicitly 2022-02-11 08:55:57 -07:00
pokeeffe-molecula
90d897ad7d address merge conflict 2022-02-10 14:00:06 -06:00
pokeeffe-molecula
966a86e4de Merge branch 'master' into cicd-will-it-never-end 2022-02-10 13:59:40 -06:00
garrison.davis@molecula.com
62e6544089 Stop termination in the gauntlet stage
We have pipelines that get to the gauntlet stage then get failed because
the ASG scales-in before the gauntlet stage finishes. (4/6 of the last
gauntlet failures were from this failure.)

There are a few ways to fix this, but my proposal is to turn on scale-in
protection to stop scaling in the instance running the gauntlet job
(scale in other instances instead), then turn off the scale-in
protection after the gauntlet test is run.
2022-02-09 16:22:10 -07:00
pokeeffe-molecula
3a0777c063 added 'able' perf testing environment 2022-02-08 16:30:35 -06:00
reesporte
ede85735df use nfpm 2.11.3 so CI doesn't break 2022-02-04 16:12:20 -06:00
Matthew Jaffee
1f371fa953 turn off verbose on linter, add smoke build
if your code doesn't build, the linter errors can be very misleading
2022-02-02 20:56:18 -06:00
Matthew Jaffee
06235c3d70 get container ID via "docker-compose" call in clustertests
this should be a lot more reliable than trying to construct it based
on the project name as the exact construction can differ between
docker-compose versions.

There was also an issue with the backups succeeding when they should
fail in the test. There's an arcane maze of HTTP timeouts to navigate
here, but basically there are situations where the client will just
wait forever rather than erroring if the server is paused at the
right(wrong) time. I'm not convinced we've solved every possible case
of this, so we still may see the backup succeed even when it's
supposed to fail. The ultimate hammer is to add Client.Timeout, but
that's a very blunt instrument and I'm afraid it could cause a timeout
when really we just have a lot of data to download or something.

There may be a better way to say "only time out if you literally
haven't heard a peep from the server in this long", but I haven't been
able to figure it out yet.

I also fixed how the authclustertests are run as they weren't using
the PROJECT parameter correctly. Now they can run concurrently with
clustertests, and with other copies of authclustertests without having
conflicts.
2022-02-02 12:03:46 -06:00
pokeeffe-molecula
ca2def7389 dump to s3 2022-02-01 14:51:06 -06:00
pokeeffe-molecula
586e4d7f5a Merge branch 'master' into cicd-will-it-never-end 2022-01-27 15:50:21 -06:00
pokeeffe-molecula
d7401babd4 add retries....so these fracking flaky ass tests don't screw up the pipeline constantly 2022-01-27 15:49:54 -06:00
pokeeffe-molecula
7ff9e82b1b
Merge branch 'master' into cicd-will-it-never-end 2022-01-27 14:52:51 -06:00
pokeeffe-molecula
fedcdab1c2 allow clustertests to fail 2022-01-27 14:49:46 -06:00
pokeeffe-molecula
a8fd5f99f2
Merge pull request #1890 from molecula/fb1151-auth-tooling
FB-1151 auth tooling
2022-01-27 13:04:13 -06:00
souhailanoor
1d26739c90
Merge branch 'master' into fb1151-auth-tooling 2022-01-27 12:07:22 -06:00
pokeeffe-molecula
47f87f24c3
Merge branch 'master' into cicd-will-it-never-end 2022-01-27 11:42:40 -06:00
pokeeffe-molecula
d16ada75af use -o instead of a subsequent mv command 2022-01-27 11:36:16 -06:00
reesporte
1db6009d70 fix broken dockerfile
i think its gonna work this time!!!
2022-01-27 10:55:20 -06:00
pokeeffe-molecula
dff061ca22 now do it for the other one 2022-01-27 10:18:21 -06:00
pokeeffe-molecula
5d7c2437e9 trying again 2022-01-27 10:00:22 -06:00
pokeeffe-molecula
0f5ce612e0 building roaring-migrate for linux_amd64 2022-01-27 09:39:34 -06:00
pokeeffe-molecula
b67b8aff6c Merge branch 'master' into cicd-will-it-never-end 2022-01-27 09:38:14 -06:00
Souhaila Noor
0e1cf5bbbd Enable authentication/authorization for featurebase tools
- Add auth-token for featurebase import, backup and restore
- Add auth-token to http request
- Create a cluster tests with auth enabled
- Add test for import with auth enabled
2022-01-26 17:30:26 -06:00
Matthew Jaffee
71da3fdcb2 add docker-compose project to clustertests in CI to allow concurreny 2022-01-25 07:54:48 -06:00
Matthew Jaffee
7fbcba5c4b add GCP back in 2022-01-25 07:54:48 -06:00
Matthew Jaffee
3477534930 add project support to clustertests to allow for concurrent runs
also remove gcp tag... shouldn't be needed any more as I think the AWS
runners are properly configured.
2022-01-25 07:54:48 -06:00
pokeeffe-molecula
e0e86ec1d3 put docker containers in the right place 2022-01-24 18:34:14 -06:00
pokeeffe-molecula
5241bd4ce4
Merge branch 'master' into cicd-will-it-never-end 2022-01-21 18:07:19 -06:00
Seebs
b5fb9aad84 bump test timeouts ridiculously
gitlab CI runs as much as 5x slower sometimes during business hours,
resulting in tests failing due to 10-11 minute timeouts that would
succeed in under 2-3 minutes outside of business hours. to allow us
to do anything at all, let's just set that to half an hour, and 90
minutes for `go test -race`.

Concern: It's possible there's a timeout that's a gitlab CI configuration
thing involved too, because we see some go test timeout panics, but we
also see some weird messages about SIGQUIT at 11 minutes, which isn't
the go test timeout, so we may need to address that too.

Note that we're changing the Makefile, and also the config for the
gitlab CI passes, which don't use the Makefile. The Makefile changes
are just to be careful and avoid retriggering this later. We may
want to revert these if we get the other issues fixed.
2022-01-21 11:12:10 -06:00
garrison.davis@molecula.com
a93c3f2f71 Remove go caching
This will likely return when it's done in S3.
2022-01-21 09:55:23 -07:00
reesporte
399a11223f use aws to run these jobs 2022-01-20 13:58:18 -06:00
pokeeffe-molecula
27f1fcbf45
Merge branch 'master' into cicd-will-it-never-end 2022-01-19 11:59:34 -06:00
pokeeffe-molecula
bc589ee4eb when it fails, it should fail 2022-01-19 10:13:11 -06:00
pokeeffe-molecula
b144c0e61c added ARG decl. 2022-01-19 10:10:30 -06:00
pokeeffe-molecula
ec76cb5b34 added .deb & .rpm package for arm64 2022-01-18 18:14:51 -06:00
pokeeffe-molecula
4ab3c32211 build docker for arm64 2022-01-18 18:08:59 -06:00