Michiel Borkent
d9ff456e60
Re-enable mac on CircleCI ( #1263 )
2022-05-09 17:57:41 +02:00
Rahuλ Dé
5b455cd51b
Refine Actions ( #1261 )
2022-05-08 10:31:14 +02:00
Michiel Borkent
eee3b55f56
Try newer machines for aarch64
2022-05-06 16:51:59 +02:00
Michiel Borkent
fc7df082b7
Bump to newest graalvm ( #1250 )
2022-04-26 16:27:49 +02:00
Rahuλ Dé
d7f180cdbe
Bash -> Clojure: Take 2 ( #1243 )
...
* Bash -> Clojure: Take 2
* Apply better naming
* Temp disable circle branch filter
* Pass platforms correctly to buildx
* Rename platforms, better checks
* Add circle and script guards for branch and PR
* Fix guard
2022-04-15 19:20:52 +02:00
Michiel Borkent
d830e8f576
Revert "First pass at bash cleanup ( #1239 )"
...
This reverts commit b5a4e0a170 .
2022-04-15 13:27:29 +02:00
Rahuλ Dé
b5a4e0a170
First pass at bash cleanup ( #1239 )
2022-04-14 23:35:19 +02:00
Wes Morgan
e602286799
feat #863 : Load pods from bb.edn ( #1205 )
...
Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2022-03-23 17:08:59 +01:00
Michiel Borkent
b7461756bf
chore: Upgrade to GraalVM 22.0.0.2
2022-01-25 18:04:38 +01:00
Michiel Borkent
530177eefd
Fix docker 🙏
2022-01-25 15:46:17 +01:00
James Carnegie
3602b89512
Add metabom jars to all built docker images
2022-01-18 07:34:36 +00:00
Wes Morgan
b765ed3ec7
Fix: alpine docker builds in CI (follow-up) ( #1142 )
2022-01-13 21:35:55 +00:00
Wes Morgan
5ff1a04f10
Build alpine Docker images in CI when linux/amd64 is in platform list ( #1141 )
2022-01-13 20:26:31 +00:00
Rahul De
f453928f80
fix docker build script
2022-01-11 20:38:43 +00:00
James Carnegie
6e2c32ff84
Add opencontainers annotations to docker image ( #1136 )
...
Co-authored-by: Rahuλ Dé <lispyclouds@users.noreply.github.com>
2022-01-11 20:26:29 +01:00
Michiel Borkent
fb7f984389
[ #1110 ] Load tasks and deps from other bb.edn file ( #1117 )
...
Co-authored-by: Bob <highpressurecarsalesman@gmail.com>
2021-12-26 17:26:35 +01:00
Wes Morgan
bc0ae17e64
Build arm64 docker image in CI ( #1099 )
2021-12-15 15:28:39 +00:00
Michiel Borkent
a9cc6e301e
Bump to GraalVM 21.3.0 JVM 11
2021-11-04 11:01:41 +01:00
Thiago Kenji Okada
9ca3a3bd31
Use Debian bullseye on CI/CD/Dockerfile ( #1005 )
...
* Migrate `Dockerfile` to use a bullseye-based image
Also, some QoL changes on the `Dockerfile`:
- Parametrize GRAALVM_VERSION to make it easier to update
- Remove installing programs already included on base image
- Remove `deps.edn` from `.dockerignore` since it is necessary to build
* Migrate CircleCI to use a bullseye-based image
Also some modifications necessary to make it work:
- Migrate from `circleci` images to `clojure` since they're out-of-date
and also seem to be considered legacy:
https://circleci.com/docs/2.0/circleci-images/#legacy-language-images
- Remove unnecessary usage of `sudo`, since all commands runs as root
- Sync packages with `Dockerfile`. This will make easier to test locally
if everything will work (of course, it is not 100% guarantee)
* Remove lsof
* Remove "Install {Clojure,Leiningen}" steps
Already included on the base image.
* Do not change directory when downloading GraalVM
* Move "Download GraalVM" to script/download-graalvm
* Set GRAALVM_HOME correctly
* Unbreak mac build
* Revert "Set GRAALVM_HOME correctly"
This reverts commit 5e2a6158dc .
* Set GRAALVM_HOME correctly, take 2
* Improve download-graalvm script
* Re-added "Install Clojure" steps
* Set amd64 as default GRAALVM_ARCH
* Unbreak linux-aarch64
* Ubreak jvm
* Do not change directory
* Fix yaml
* Fix mac/linux-aarch64
* Add missing Clojure
* Fix cache
* Move GraalVM installation to /tmp
* Use script/install-clojure
* Use /opt instead of /tmp to install GraalVM
* Revert "Use /opt instead of /tmp to install GraalVM"
This reverts commit 3cfad03c8e .
* Use CircleCI's Clojure images again
* Go back to installing GraalVM on $HOME
2021-09-13 23:28:13 +02:00
Michiel Borkent
cebdd19c00
Upgrade to GraalVM 21.2.0
2021-08-30 20:16:18 +02:00
Michiel Borkent
35103f40ef
Upgrade to graal 21.1, fixes #884 ( #885 )
2021-06-13 21:53:07 +02:00
Michiel Borkent
11b066ae70
Include binary size in msg
2021-05-13 12:13:02 +02:00
Michiel Borkent
c01700c9c7
Update release link
2021-05-13 12:10:37 +02:00
Michiel Borkent
c8e6e7ad4c
Update release link
2021-05-13 12:02:01 +02:00
Thiago Kenji Okada
14e053e0a3
Add BABASHKA_MUSL build variable ( #834 )
...
This allows building a Babashka binary using musl C libraries instead,
instead of hardcoding this accordingly to the CPU arch.
2021-05-11 00:10:11 +02:00
Michiel Borkent
798ec2e3d4
musl
2021-05-10 23:03:39 +02:00
Michiel Borkent
34bbea0204
Move setup-musl to .circleci scripts ( #833 )
2021-05-10 22:46:32 +02:00
Michiel Borkent
6edc26c834
[ #831 ] Workaround for musl stack size issues
2021-05-10 18:29:26 +02:00
Michiel Borkent
f4b9f8a59d
Temporarily enable static build on master]
2021-05-09 23:48:30 +02:00
Thiago Kenji Okada
ddc900a656
Build BABASHKA_STATIC with musl C library ( #828 )
...
* Build BABASHKA_STATIC with musl C library
Based on https://github.com/babashka/pod-babashka-aws/pull/37 .
This is the recommended way to build static binaries with GraalVM by the
documentation and multiple issues on GitHub. See:
- https://www.graalvm.org/reference-manual/native-image/StaticImages/
- oracle/graal#571 (comment)
The reason that building a statically binary with glibc is complicated
is explained in the glib documentation:
https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F
* Bring back zlib1g-dev
Seems it is necessary for the non-static build.
2021-05-09 23:30:27 +02:00
Michiel Borkent
24c4c62ae3
Use correct branch on appveyor
2021-04-21 13:46:47 +02:00
Michiel Borkent
c39fc76702
Automatically upload artifacts to Github release
2021-04-21 00:10:59 +02:00
Michiel Borkent
da27843544
shortcut static aarch build
2021-04-11 21:37:12 +02:00
Michiel Borkent
b16de694b9
Fix Docker
2021-04-10 17:22:44 +02:00
Michiel Borkent
53bd7cd0c0
[ #782 ] rename
2021-04-09 17:40:01 +02:00
Michiel Borkent
322b30ad6f
[ #782 ] fix
2021-04-09 17:02:44 +02:00
Michiel Borkent
8add2d90b2
[ #782 ] fix
2021-04-09 16:59:20 +02:00
Michiel Borkent
d968b96082
[ #782 ] linux arm64 static
2021-04-09 16:56:26 +02:00
Michiel Borkent
be96692739
Fix aarch64 on CircleCI
2021-03-15 23:03:38 +01:00
Michiel Borkent
126d2ff728
Fix release script
2021-03-15 17:21:17 +01:00
Michiel Borkent
6c8f9a1038
[ #241 ] AArch64 linux binaries
2021-03-15 16:56:32 +01:00
Grazfather
38d18acd4d
Update install to support future tar.gz releases ( #752 )
...
* Update install to support future tar.gz releases
* CI: Release as .tar.gz instead of .zip
2021-03-12 10:16:39 +01:00
Michiel Borkent
77daea7362
[ #712 ] Upgrade to GraalVM 21.0.0 ( #725 )
2021-02-07 12:23:20 +01:00
Rahul De
2314c82a1a
Revert "[ #699 ] Test alpine builds"
...
This reverts commit f3deca41d7 .
2021-01-03 15:57:30 +01:00
Rahul De
f3deca41d7
[ #699 ] Test alpine builds
2021-01-03 15:47:00 +01:00
Rahul De
e05b6903ec
[ #699 ] Remove redundant checks for snapshot, fix actions build
2021-01-03 14:53:52 +01:00
Rahul De
8b61d855a8
[ #699 ] Build images only when non snapshot
2021-01-03 14:29:25 +01:00
Rahuλ Dé
7b1e9cbe62
[ #699 ] Add alpine builds
...
* [#699 ] Add Dockerfile for alpine
* [#699 ] Add pod tests
* [#699 ] Add alpine image build
* [#699 ] Build images on CI
* [#699 ] Add actions
* [#699 ] Amend actions to the new flow
2021-01-03 14:18:34 +01:00
Michiel Borkent
cbe1210e62
[ #695 ] Only build static image on non-SNAPSHOTs
2021-01-03 10:56:21 +01:00
Michiel Borkent
f4478769df
[ #695 ] Only build static image on non-SNAPSHOTs
2021-01-03 10:48:03 +01:00