Commit Graph
45 Commits
Author SHA1 Message Date
Wez Furlong d47e280b9a ci: pruning in the builder images 2025-11-25 13:14:56 +00:00
Wez Furlong a76857cffb ci: try alternative way to install the rust-toolchain version
This should avoid having two different versions of the toolchain in the
common case, and reduces the size of the builder image.
2025-11-23 10:21:00 +00:00
Wez Furlong 7b583047d2 ci: pre-download the rust-toolchain version in the builder image 2025-11-23 10:04:45 +00:00
Wez Furlong cc03878c23 ci: adjust builder sccache build for amazonlinux:2
It doesn't like the full sccache build due to some wonkyness
with openss on this old distro.

Let's just pave over this by not enabling the full build
on that platform.
2025-11-22 21:44:41 +00:00
Wez Furlong 3c75f92d76 ci: re-enable sccache default features
At some point turning off most features used to make things work in our
environments, but looking at things today, I think it basically makes
it do nothing useful any more.

Turning things off just made the image build a hair faster and the
image a hair lighter.

So let's just turn it back on
2025-11-22 21:26:53 +00:00
Wez Furlong 09da95f586 ci: bump sccache size, simplify rocks/snappy logic
we don't build shared at all, so we can remove the additional
complexity of looking for .so files
2024-10-15 09:49:30 -07:00
Wez Furlong b4660b57f8 try sccache again
Might be worth it now we have pre-built rocksdb
2024-10-15 09:49:30 -07:00
Wez Furlong 85bbd1813b make fmt 2024-10-15 09:49:30 -07:00
Wez Furlong 04427e4f9e ci: rocksdb: build in PORTABLE mode
rocksdb has its own internal option that overrides the cpu
target, so we need to be sure to tell it not to do that
using this option, otherwise we can cause illegal instruction
errors in the resulting executable.
2024-10-15 06:38:44 -07:00
Wez Furlong cd16f5e540 ci: apply arch flags on x86 rather than arm 2024-10-14 23:13:35 -07:00
Wez Furlong 9041b0502b ci: build-rocksdb: adjust compiler flags
I'm seeing some illegal instruction errors on the build cluster
and I suspect that something is being tuned to a cpu on one
node and isn't 100% compatible with another node.
2024-10-14 22:55:22 -07:00
Wez Furlong 92d05f25a9 ci: build-rocksdb: reduce the -j to -j8 2024-10-14 21:07:15 -07:00
Wez Furlong 0a63a23020 ci: pre-build a static rocksdb
This commit arranges for the image builder to produce a static
build of rocksdb, and then for the populate-cache-vars.sh script
to detect that and update the environment so that the build picks
up that pre-built rocksdb instead of building a vendored version
of rocksdb on every CI run.
2024-10-14 20:52:22 -07:00
Wez Furlong de5d6b934d ci: remove package server notification 2024-09-27 08:02:18 -07:00
Wez Furlong a856e86fe8 code format 2024-08-10 06:06:47 -07:00
Wez Furlong 5b7813e0d7 ci: remove gcc-9 from builder images
aws-lc-sys refuses to build with it. aws-lc-sys is a dep of rustls.
gcc-9 is normally present in ubuntu-20.04.
The bug is not present in clang (what we end up with on ubuntu 20.04
when we uninstall gcc-9) and gcc-10.
2024-08-09 21:09:40 -07:00
Wez Furlong 3784bbac0a ci: ping package server to rebuild after uploading asset
Github's webhooks don't trigger for asset uploads, so we must
explicitly do our own signaling.
2024-07-22 08:45:56 -07:00
Wez Furlong d70f87593e ci: shift release creation to woodpecker, upload pkgs to release 2024-07-04 17:03:12 -07:00
Wez Furlong af7d19cb91 ci: try uploading main builds to a new dev GH release
Might need to add a different token for this action to succeed,
but let's give this a go.
2024-07-04 15:42:15 -07:00
Wez Furlong 1e29c1b459 ci: add gpg explicitly
This is needed to install the gh cli
2024-07-04 14:23:17 -07:00
Wez Furlong 7ad26cdac9 ci: install GH cli in the ubuntu image
This time for real; I edited the wrong script last time
2024-07-04 12:31:56 -07:00
Wez Furlong 2a33ed1101 ci: install GH cli in the ubuntu image 2024-07-04 08:54:53 -07:00
Wez Furlong 4ad21257bd ci: fixup failure in PR mode
We need to avoid recursively copying any symlinks-to-dirs as
directories. We can do that with cp, but the parallel xcp utility
doesn't support the --no-dereference flag at this time.

refs: https://github.com/tarka/xcp/issues/52
2024-06-19 08:34:22 -07:00
Wez Furlong 3e398c1a29 ci: force non-incremental builds in CI 2024-06-12 12:24:24 -07:00
Wez Furlong c9b98adc10 ci: cache target dir directly 2024-06-12 12:19:29 -07:00
Wez Furlong c5428dd5c8 ci: add xcp (parallel cp) to builder image 2024-06-12 09:15:22 -07:00
Wez Furlong df2eb1ed1b ci: another run at sccache in the builder image 2024-06-11 11:27:33 -07:00
Wez Furlong 555bfded56 use arm-specific URL for nextest 2024-06-06 18:01:16 -07:00
Wez Furlong 9c20b9fbc4 ci: build builder images on wp
This is essentially a refactoring of the stuff that we've been running
on GH, but broken out to run on our woodpecker instance.

I've removed sccache from the image; it's actually been failing the
build on amazonlinux:2, but the GH action version of the build has
been showing up as green(!)
2024-06-06 17:33:37 -07:00
Wez Furlong 84c88f2eff ci: add sccache to builder image 2024-04-20 08:09:18 -07:00
Wez Furlong 1cc78033d7 ci: add jq to builder, build builder when builder changes 2024-04-20 07:24:59 -07:00
Wez Furlong c3f2d1a584 ci: use matrix build for images 2024-04-20 00:02:41 -07:00
Wez Furlong 949f0a6625 code formatting 2024-02-24 09:18:23 -07:00
Wez Furlong a97a2c583b ci: another run at mkdocs 2024-02-09 13:28:13 -07:00
Wez Furlong 85bbefe8af ci: install docker in the builder image 2024-02-09 10:02:37 -07:00
Wez Furlong 1c9e2f1f4b ci: another crack at amazonlinux:2023
Install the full version of gpg
2023-12-08 13:32:45 -07:00
Wez Furlong ce3ddac0aa ci: maybe also add amazonlinux:2023 2023-12-08 12:38:40 -07:00
Wez Furlong 1171e1ce25 ci: fix build of amazon builder image 2023-12-08 10:20:42 -07:00
Wez Furlong eef7e87c6b ci: add amazon build
maybe? Let's see if it works
2023-12-08 10:06:30 -07:00
drone f8674c3d63 Add woodpecker CI pipeline 2023-09-30 15:57:48 -07:00
drone 71bc9b0098 ci: fixup auto fix for doc builds 2023-09-19 10:29:15 -07:00
Wez Furlong 620470f5aa ci: add local checker
use the drone cli to check that the starlark is well-formed,
and to try to run a build.

Useful for sanity checking a pending CI commit.

Slim down the deps very slight on ubuntu systems.
2023-09-19 09:54:54 -07:00
Wez Furlong c6425b701f ci: add auto-format fixup 2023-09-18 10:24:47 -07:00
Wez Furlong 054127c076 ci: do my own gh-pages push
The drone plugin does stuff very strangely and is incompatible
with our approach.

Do it ourselves (with blackjack and ...), so that we can avoid
cloning and bloating the repo.
2023-09-18 07:50:21 -07:00
Wez Furlong d9a4a3823d ci: set source file mtime to match git
Should improve cache viability
2023-09-16 09:08:56 -07:00