11 karma · joined Jul 13, 2017 (9y ago) · 7 submissions
1.
Hammerkit Release 1.4.0(app.gitbook.com ↗)
1 points · by no0dles · 5y ago · discuss
comment 5y ago · link · parent
- without docker images in tasks tooling was not always the same on different machines
- a docker image that can be used for gitlab ci
- caching on CI systems was a huge effort, requiring to specify all .task directories and build directories
- limited includes of other build files, no nesting or loops, making project style taskfiles not possible
- the cwd of includes is not relative to the reference taskfile
and there are some, which are not solved yet in hammerkit, but planned: - detect changes in cwd during commands, for example with `cd ..`
- a service definition, allowing to use databases with some healthchecks to detect startup delays
- limiting cpu/memory of build steps / limiting tasks that are executed parallel by resource availablecomment 5y ago · link · parent
What I was missing in make was the containerization which enables running tasks inside container and take leverage of the installed tools there. That keeps the requirements on available tooling low and makes it als easier for cross platform development.
Bazel on the other side was very hard to get into and felt really complex. I am sure it's a great build tool and you can archive great things, but I thought maybe I could create something simpler that's almost as relable without the complexity. I am sure I miss a lot of features in my project that bazel covers and hope I do not end up with the same complexity.
At least I will learn a lot, either way :)
6.
Show HN: Hammerkit – Build Tool(github.com ↗)
21 points · by no0dles · 5y ago · 15 comments
comment 5y ago · link · parent
frontend sql statement as a json object:
{
select: {
name: field(Project, 'name')
},
from: table(Project),
where: equal(field(Project, 'ownerUsername'), '<my-user-id>'),
}
and here a rule configured on the backend: const rules = [
allow(authorized(), {
select: {
name: field(Project, 'name'),
},
from: table(Project),
where: equal(field(Project, 'ownerUsername'), requestContext().userId),
})
],
Sadly documentation is quite poor for now, but you can check it out here https://github.com/no0dles/daitaEdit: code formatting