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
Rahul De
6b6493c4d8
[ #696 ] Use released zip as binary source
2021-01-02 17:43:33 +01:00
Rahul De
1f49e71964
[ #696 ] Copy linux bin correctly into docker
2021-01-02 17:13:38 +01:00
Rahuλ Dé
922de495e1
[ #696 ] Reuse linux binaries for docker builds
...
* Reuse linux binary in docker build
* Have a dedicated Dockerfile for CI
* Reuse linux binary in GH Actions
* Make docker action depend only on linux
* Run Actions only on master
2021-01-02 16:00:28 +01:00
Michiel Borkent
e309b49e1b
Rename
2021-01-01 11:26:31 +01:00
Michiel Borkent
9a80a47cfa
[ #653 ] Upgrade to GraalVM 20.3.0
2020-12-05 20:56:12 +01:00
Michiel Borkent
bbe47904b0
CircleCI docker
2020-10-01 12:23:34 +02:00
Michiel Borkent
e531300bae
Bump min macOS to 10.13
2020-09-22 13:13:45 +02:00
Michiel Borkent
cb2a719b09
Set macOS deployment target explicitly (10.11, El Capitan) ( #588 )
2020-09-22 12:36:53 +02:00
Michiel Borkent
f89da080c3
[ #561 ] Add org.httpkit.client namespace
...
This also bumps GraalVM to 20.2.0 and XCode to version 12
2020-09-18 21:32:08 +02:00
Adam Hartley
3a06297e5c
Bump to Xcode 9.4.1 ( #572 )
2020-09-11 22:47:40 +02:00
Michiel Borkent
ee8508d320
Merge testing of libs into one babashka process ( #485 )
2020-06-17 13:30:22 +02:00
Michiel Borkent
c3f9480efe
[ #449 ] move to GraalVM 20.1.0 java11
2020-05-23 14:53:28 +02:00
Sameer Kolhar
1961875c28
Update to GraalVM v19.3.2 ( #442 )
2020-05-20 22:04:41 +02:00
Sameer Kolhar
a28618387b
[ #388 ] embedded postgresql tests
2020-05-18 17:08:34 +02:00
Michiel Borkent
ab008870b8
[ #389 ] XML feature flag ( #390 )
2020-04-28 12:03:01 +02:00
Michiel Borkent
6116b34b74
rm postgres test in circleci
2020-04-27 11:47:45 +02:00
Michiel Borkent
88eb4c569d
Add postgres test
2020-04-27 11:45:11 +02:00
Michiel Borkent
793a60c907
Tweak docker memory
2020-04-24 16:39:17 +02:00
Michiel Borkent
df08fbafb1
Update script to babashka.curl
2020-04-20 09:59:49 +02:00
Michiel Borkent
6e4af06f37
Reduce Docker memory
2020-04-19 09:50:02 +02:00
Michiel Borkent
74d3cf4140
docker xmx
2020-04-06 22:11:09 +02:00
Michiel Borkent
3499310944
CircleCI config
2020-04-05 23:51:26 +02:00
Michiel Borkent
548ffa851b
Github actions enhancements ( #319 )
2020-03-30 20:29:08 +02:00
Michiel Borkent
af8c786c31
emit binary size to slack
2020-03-29 13:06:49 +02:00
Michiel Borkent
3c6c009096
Upgrade to GraalVM 19.3.1 ( #316 )
2020-03-29 11:00:07 +02:00
Michiel Borkent
6b93135ee2
Fix lein on CircleCI Mac
2020-02-29 13:37:02 +01:00
Michiel Borkent
1085e2591d
Fix lein install on CircleCI
2020-02-29 13:33:50 +01:00
Michiel Borkent
6e11b7c0bc
Install older version of lein
2020-02-29 13:24:16 +01:00
Michiel Borkent
8328a14183
Wipe CirleCI cache
2020-02-29 10:31:46 +01:00
Michiel Borkent
2285c92e99
Add linux static build step
2020-02-23 22:05:53 +01:00
Michiel Borkent
b8469180f9
Linux builds are statically linked
2020-02-23 12:04:18 +01:00
Michiel Borkent
7ad6f3195f
Lib tests
2020-02-19 23:58:58 +01:00
Michiel Borkent
f2084746b0
Checkout recursively in docker step
2020-02-09 23:08:46 +01:00
Michiel Borkent
c598c4b4a8
Fix circleci config
2020-02-09 22:58:32 +01:00
Michiel Borkent
148e3c9229
Docker
2020-02-09 22:55:12 +01:00
Michiel Borkent
c87e5f56c6
Version bump
2020-01-09 14:32:25 +01:00
Michiel Borkent
2b0cb6fb1c
Remove Unix-specific classes ( #227 )
2020-01-08 11:48:40 +01:00
Michiel Borkent
c383051194
Fix
2020-01-07 16:43:48 +01:00
Michiel Borkent
bf481b76d1
Rewrite bash script in bb
2020-01-07 16:38:54 +01:00
Michiel Borkent
fcc28657bc
Publish artifact links to Slack
2020-01-07 12:58:27 +01:00
Michiel Borkent
2c7a938621
Add lib tests
2020-01-07 09:33:37 +01:00
Michiel Borkent
51af94f70b
Add deps.clj test
2020-01-07 09:20:42 +01:00
Michiel Borkent
a5c2f62d38
Fix java build
2020-01-04 20:07:19 +01:00
Michiel Borkent
5e2c2a7ba0
Add locking
2020-01-04 20:04:29 +01:00
Michiel Borkent
fd833204f3
Release uberjar
2020-01-01 21:57:46 +01:00
Michiel Borkent
87c0cfba34
don't release bbk yet
2019-12-13 18:13:35 +01:00
Michiel Borkent
a74be0ad1a
[ #146 ] support --classpath / -cp and --main / -m ( #150 )
2019-12-12 23:07:35 +01:00
Michiel Borkent
e7d6f7a777
[ #121 ] Upgrade to GraalVM JDK8 19.3.0
2019-11-20 21:34:31 +01:00
Michiel Borkent
910b32b6c2
[ #48 , #49 , #50 ] add conch, Thread/sleep, wait-for-it, future and atom ( #51 )
2019-09-04 14:37:07 +02:00
Michiel Borkent
bcd7a5b408
support *in* and *command-line-args* in socket-repl ( #46 )
2019-09-02 12:50:37 +02:00
Michiel Borkent
9cd32bedb9
[ #34 ] upgrade to GraalVM 19.2.0
2019-08-31 21:02:24 +02:00
Michiel Borkent
4607016910
enable SSL via Java property ( #21 )
2019-08-17 22:19:46 +02:00
Michiel Borkent
ce35326ab4
enable SSL ( #19 )
2019-08-17 17:38:24 +02:00
Michiel Borkent
d4fee04df6
sci as submodule
2019-08-17 12:42:20 +02:00
Michiel Borkent
9bb15c5411
fix mac build by AOT-ing sci ( #9 )
2019-08-15 09:02:43 +02:00
Michiel Borkent
6dee50b0fa
initial commit
2019-08-09 15:43:27 +02:00