120 Commits (next)

Author SHA1 Message Date
Sayan Nandan 3699cc4720
Add support for MUSL x86_64 and fix CI scripts (#145) 3 years ago
Sayan Nandan 63708d58f4 Fix release script 3 years ago
Sayan Nandan 44e88518cf Fix artifact packaging
The upload-release-asset action only supports files and not entire dirs.
I had expected it to zip an item if it were a directory; but I was wrong
This commit zips everything before attempting to upload the artifacts
3 years ago
Sayan Nandan 16a19106cb Fix release script to hardcode artifact names
GHA doesn't support using env for matrix.include vars
3 years ago
Sayan Nandan 99826b8b02
Add release script for 32-bit targets (#138) 3 years ago
Sayan Nandan 379660f14c
Add testing for new Tier 1 targets (#135)
* Add support for new T1 platforms

This commit adds support for the following Tier-1 (T1) platforms:
- i686-unknown-linux-gnu
- i686-pc-windows-msvc

* Fix channel and add explicit target in cargo test

* Use `target add` to add $matrix.rust target

* Use actions-rs/toolchain to install rust

* Install musl-tools to test musl

* Simplify matrix

* Add 32-bit targets and refactor workflow

* Fix build matrix

* Explicitly specify target in cargo test

* Use rustup to install toolchain

* Install 32 bit tools on Linux

* Remove ports in [49000,50000] on Windows
3 years ago
Sayan Nandan a2d98c2bcb
Revert "Create Dependabot config file (#27)" (#134)
This reverts commit c4f00de5b5.
3 years ago
Sayan Nandan f379807365 Disable high port blocking 3 years ago
Sayan Nandan f151927f8a Add crt-static to RUSTFLAGS for Windows 3 years ago
Sayan Nandan 70ca5c143c Enable artifact generation on every commit 3 years ago
Sayan Nandan 32f76e3964
Update usage of `add-path` to use $GITHUB_PATH
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 9543ac3a1e
Use GNU tar instead of BSD tar for macOS caching
The discussion from #115 should explain a few things

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 740ba03ecc
Upgrade deps and remove caching on macOS again
Closes #113 and closes #114

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan a9f3d082b9
Restore caching on macOS runners
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 9df39187d1
Upgrade deps, add changelog entry and bump version
This closes #107, closes #108 and closes #109.

The configuration template was updated to include TLS/SSL and the
corresponding tests were also updated.

It also renames `sdb` to `skyd` for streamlining binary names.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan d7fbf0e10e
Perl setup is no longer required
As per the runner docs Perl is already installed on the runners.
This is why explicit setup is not required.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 859614a84f
Fix release script to use `sky-bench`
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 5392f27fdd
Improve builds and fix release builds (#105)
* Checkout the PR branch if triggered by a PR

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>

* Use `cmd` as the shell on Windows to fix builds

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>

#104 did this for pushes; this will do it for releases.

* Fix Windows release script

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>

* No need to checkout to head.ref for PRs

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan ce46e318f1
Fix Windows builds by defaulting to `cmd` (#104)
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 43779eb08e
And now we're Skytable
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 367ee86aa5
Fix docker image repo link
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan a3398f1d07
Rebrand from TerrabaseDB to Skybase (#90)
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 8736db1034
Code cleanup and added auto-sync with repo mirror
Dependencies were upgraded

A mirror sync badge was added. Also README was revised and workflow badge was fixed.

Signed-off-by: Sayan Nandan nandansayan@outlook.com
4 years ago
Sayan Nandan 052898ee9e
Fix binary build step
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 357f57250b
Add binary build step for docker image
The binary needs to be built before it can be copied into the container.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan 5391f2a694
Re-enable docker image builds
This commit re-enables docker image builds which was moved to a different CI server in a previous commit.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan c7b4a8396b
Stop using ubuntu image to reduce build times
We were previously using the ubuntu image and then manually installing
rust. From now on, we'll use the rust docker image instead to avoid huge
build times

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan f68b8f26a2
Skip builds on pushes to tags
There's no point of running tests on tags since we only create tags
after the build for the corresponding commit has succeeded.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan d23c4ee947
Fix issues with the Dockerfile
Using the configuration file has been a bad idea and this is why we're
switching to using command line args.

Also links and docs were updated

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 3d1dd04b0d
Improved testing to use custom compiler macros
Also, multi-threaded tests were re-enabled
4 years ago
Sayan 8270a5543b
Don't build docker image on PR
There's no point of building docker images when a PR is created, since we rely on the compiler and not docker
4 years ago
Sayan c4f00de5b5
Create Dependabot config file (#27)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years ago
Sayan Nandan 2d04a4f841
Enable build skips on PRs
Iff no source files are changed - skip the compute-intensive build
4 years ago
Sayan 16304cc4f7 Use bash as the default shell in `test-push` 4 years ago
Sayan Nandan 986c5e9784
Don't build docker image if src hasn't changed 4 years ago
Sayan Nandan 2a9fa9ffcf Fix script to skip builds iff md files are changed
In previous commits, we ignored the fact that bools are strings in bash
This caused the workflow to proceed wrongly and this commit fixes that
Also, auto builds for actions docs were added
4 years ago
Sayan Nandan 336115e493
Fix builds on macOS 4 years ago
Sayan Nandan 0468d0d921
Fix environment variables 4 years ago
Sayan d3e37cfa55
Fix CI script 4 years ago
Sayan Nandan 207b5e58d1
Fix push script 4 years ago
Sayan Nandan f5b91fdc18
Fix `test-push` script 4 years ago
Sayan Nandan 8c678a58e3
Skip builds iff markdown files are modified 4 years ago
Sayan Nandan 896b04e665
Use separate actions for PR and Push
This will enable us to use automation for builds in the future
With separate jobs for a PR and a push, we can avoid insecure operations
These operations may be triggered by malicious users sending 'bad' PRs
4 years ago
Sayan Nandan 9d6ae62559
Use one thread for tests to avoid state collision 4 years ago
Sayan Nandan 432e19dd71
Make docker build use `latest` tag 4 years ago
Sayan 09d7e33f9d
Fix docker image being built twice 4 years ago
Sayan Nandan 9d3e5db3a3
Enable container builds for multiple registries 4 years ago
Sayan 693d99603e
Add funding link 4 years ago
Sayan 20a138f79f
Add build for GH registry 4 years ago
Sayan Nandan 4881dbf258
Add todo to fix caching in the future 4 years ago
Sayan Nandan c8e548361f Fix CI failure on macOS 4 years ago
Sayan Nandan 9aa42c01c4
Update templates to use new labels 4 years ago
Sayan Nandan e23cd5ffcd
Update version and labels 4 years ago
Sayan Nandan 67dc83764a
Rename `corelib` to `libtdb` 4 years ago
Sayan Nandan ba9f4d7a9e
Fix docker build script 4 years ago
Sayan Nandan 44e0affc82
Enable remote host connections on tsh 4 years ago
Sayan 583932bdde
Merge pull request #10 from terrabasedb/docker-builds
Add build for docker image
4 years ago
Sayan Nandan 3f118bb387
Add docker image build script 4 years ago
Sayan Nandan bbce82d865 Improve readme and issue templates 4 years ago
Sayan Nandan 841f1a23d4
Fix missing file in release script 4 years ago
Sayan Nandan 2b7b3eb885
Fix release script 4 years ago
Sayan Nandan 689345cc90
Add tdb-bench to bundle 4 years ago
Sayan 2e71f8cf4c
Add template for security concerns 4 years ago
Sayan 8372c8beb3
Add issue template for performance concerns 4 years ago
Sayan 71b25cad7a Add issue templates 4 years ago
Sayan Nandan c75556ab2c
Improve workflow and docs 4 years ago
Sayan Nandan 1d3725d5e8
Add cross-platform builds 4 years ago
Sayan Nandan fa0c9b3f98
Improve workflow
Also added information on branches
4 years ago
Sayan Nandan 1069074838
Add labelling 4 years ago
Sayan 0e44ddb506
Add CI 4 years ago