Commit Graph

160 Commits (e7e3a664a897ff87c114ef45c386f31ca704bb9a)

Author SHA1 Message Date
Suresh Sundriyal 7e9bdfbfcd Revert "[build] Use cURL instaed of git to get lnav from the repository."
This reverts commit 3f33d9d17a.
11 months ago
Suresh Sundriyal 1b2e8acb9b [build] Fix the action description. 11 months ago
Suresh Sundriyal 51f8f8299c [build] Upload lnav binary after the workflow. 11 months ago
Suresh Sundriyal d2d17ed7f0 [build] Updaate github checkout action.
Seems like `checkout@v2` is being deprecated. Update to v3.
11 months ago
Suresh Sundriyal 3a45802d7d Revert "[build] Link the built binaries from the previous layers."
This reverts commit eb0cdd2486.
11 months ago
Suresh Sundriyal e005ac0d50 Revert "[build] Compile ncurses without gpm support."
This reverts commit 5d87712fa8.
11 months ago
Suresh Sundriyal eb0cdd2486 [build] Link the built binaries from the previous layers. 11 months ago
Suresh Sundriyal 3507118371 [build] Stop linking libdl with curl and libssh2. 11 months ago
Suresh Sundriyal 5d87712fa8 [build] Compile ncurses without gpm support. 11 months ago
Tim Stack 239f717638 Revert "[build] update cosmo version"
This reverts commit 23a711041a.
12 months ago
Tim Stack 23a711041a [build] update cosmo version 12 months ago
Tim Stack b5e19ef3b0 [tests] add some tests for recent additions
Add missing SQLite JSON functions to the help
Fix some DB UI issues
12 months ago
Suresh Sundriyal 3f33d9d17a [build] Use cURL instaed of git to get lnav from the repository. 12 months ago
Suresh Sundriyal 192f2de374 [build] Build ncurses without unnecessary artifacts. 12 months ago
Suresh Sundriyal 5490fee155 [build] Create Docker images with latest alpine. 12 months ago
Suresh Sundriyal 7904b5fdd4 [build] Do a multi-stage Docker build. 12 months ago
Suresh Sundriyal 992d14dcb1 [build] Remove --with-default-terminfo-dir directive.
This seems to be settting the install path for the terminfo. As a result
the terminfo doesn't seem to be written in to fake.root.
12 months ago
Suresh Sundriyal bc42ea0c07 [build] Install ncurses packages on the build machine.
Ncurses requires the terminfo database and infocmp to be installed on
the build machine to configure the fallback entries.
12 months ago
Suresh Sundriyal 1fb471f4ba [build] Remove apk update.
Since we are passing in the `--no-cache` option to `apk add`; `apk
update` unnecessarily adds a local index; increasing the size of the
container image.
12 months ago
Suresh Sundriyal 0ece2e4ac6 [build] Update readline version. 12 months ago
Suresh Sundriyal ed72362b50 [build] Remove libexecinfo dependency on musl builds.
muslc does not expose the frame related information to execinfo.
Compiling with libexecinfo on muslc builds doesn't really serve any purpose.
12 months ago
Suresh Sundriyal c86081adcb [workflow] Reduce the frequency of md link checker workflow. 12 months ago
Suresh Sundriyal 3e6a695f68 [buid] Disable shared libraries on a few more components. 12 months ago
Suresh Sundriyal 7053efabb6 [build] Only compile shared versions of the library. 12 months ago
Suresh Sundriyal 969bc582a2 [build] Trim down Dockerfile
Remove the unnecessary packages and the ones that are already installed
as part of dependencies and meta-packages.

Also compile whatever we explicitly link against.
12 months ago
Suresh Sundriyal b1c7fad50d [templates] Update release version in issues template. 12 months ago
Suresh Sundriyal addc5fbca6 [build] Create shallow clones while doing local images. 12 months ago
Suresh Sundriyal 022a73d0ff [build/bins] Update paths-ignore
Ignore updates to container and issue changes.
12 months ago
Suresh Sundriyal ff0b112728 [build] Optimize the Dockerfile
Optimize the Dockerfile according to the best practices described here:
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
12 months ago
Suresh Sundriyal 8628bba7e5 [build] Use registry cache to speed up container image builds
Use the registry cache as described here:
- https://docs.docker.com/build/ci/github-actions/cache/
- https://docs.docker.com/build/cache/
12 months ago
Suresh Sundriyal 22d4d6242d [build/concurrency] Only allow one musl-build-image job.
Two musl-build-image jobs can be triggered by two commits done within a
short amount of time. Since building the image times can vary; the job
with the previou commit might finish later; updating the docker hub with
an older commit.

This uses the `concurrency` directive to fix the issue. If another job
is running; they get cancelled and only the latest one spawned is run.
12 months ago
Suresh Sundriyal 881c19963b [build] Fix the ignore paths.
Try the syntax suggested here:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
12 months ago
Suresh Sundriyal a3f55472ba [build] Replace the deprecated ghaction-docker-buildx
ghaction-docker-buildx has been merged with official docker action.
12 months ago
Suresh Sundriyal 1ec9fc8e22 [build] Remove unnecessary entries in the Dockerfile.
Cmake isn't used in the build script and make is installed on
the container image using apk and doesn't need to be compiled from
source.
12 months ago
Suresh Sundriyal f4e666543d [build] Use strategy matrix to run arm builds. 12 months ago
Suresh Sundriyal b22edd5a26 [build] Fix up aarch64 workflow.
Fix up the aarch4 workflow to use the docker-run-action and some minor
cleanup.
12 months ago
Suresh Sundriyal a79689c286 [build] Use docker-run-action
Use docker-run-action to have more control of the emulated docker
container.
12 months ago
Suresh Sundriyal 0e2199f650 [build] Add support for armv7l & aarch64 builds. 12 months ago
Suresh Sundriyal 2489a79c24 [build] Use the newer musl container image.
Use the newer multi-platform musl container image and the correct
platform.
12 months ago
Tim Stack 44d8e0d2af [build] use TARGETPLATFORM instead 12 months ago
Tim Stack c8fa534c7d [build] change the FROM in the Dockerfile 12 months ago
Tim Stack bb0460ade5 [build] fix buildx cwd 12 months ago
Tim Stack 9c9bdfd5ff [build] automate making the lnav-build image 12 months ago
Suresh Sundriyal 9fe7f61f3f [container] Allow building a container for multiple platforms.
Take in the architecture as a build argument in the Dockerfile.

The various images can be built by passing in the ARCH build argument
while building the images:

```
* docker image build --build-arg ARCH=arm32v7 -t ... (arm32v7)
* docker image build --build-arg ARCH=arm64v8 -t ... (aarch64)
* docker image build  -t ... (amd64)
```

Re: #558
12 months ago
Suresh Sundriyal 00c03950fe [actions] Modify entrypoint.
Modify entrypoint to work in the absence of a `GITHUB_WORKSPACE`
environment variable.

This allows the containers to work locally.
12 months ago
Tim Stack e3f4330377 [build] add --platform to Dockerfiles 12 months ago
Tim Stack 3fefbbc821 [build] fix some final release glitches 12 months ago
Tim Stack c575ba0a50 [build] fix rpm spec version 1 year ago
Tim Stack 0d40656ff6 [build] fix rpmbuild condition 1 year ago
Tim Stack dd1bb8e25c [build] don't push to packagecloud always 1 year ago