-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remote modules support for OTB nixpkgs (#15)
* [ADD] Add support for multiple new OTB remote modules * Enabled optional integration of various OTB remote modules like MLUtils, Prefetch, and Phenology. * [ADD] Add otb-dev and otb-dev-docker packages * Add new `otb-dev` package build options for all the remote modules. * Also added `otb-dev-docker` for image based on all the remote modules. * [ADD] Add OTB_APPLICATION_PATH to environment variables * Add OTB_APPLICATION_PATH so that applications are importable via native python api of OTB * Additionally add a USER as `otbuser` and HOME directory for docker images * [FIX] Update the Makefile command for the updated docker package * [CI] Update CI build commands to include both the builds for otb modules * Builds OTB with all the remote modules and also build with minimal modules * [REFAC] Make all remote modules to be not activated by default * [DOC] Update Docker build instructions and handle remote modules * Add documentation for examples on remote modules, * Add some note on OTBTF related to TF library * [FIX] Fix typos in OTB default options * [FIX] Fix the wrong package name in CI build for OTB * [DOC] Correct typo in README.md * Add aarch64 runner (#16) * [CI] Add AArch64 GitHub Action Workflow * Add a new GitHub Actions workflow for AArch64 builds using ArchLinux example from https://github.com/marketplace/actions/arm-runner. This prepares an ArchLinux image, sets up the nix environment, and builds the project for AArch64. * [FIX] Fix Aarch64 workflow build system * Fix the matrix.machine.platform with aarch64-linux in Nix build commands. * [FIX] Fix build steps in aarch64 workflow * Move the 'Build system' task to correctly follow the cache setup. * [CI] Add permissions to CI workflows and update build steps * Updated the CI workflows to include `contents: read` and `id-token: write` permissions. Also adjusted build commands to focus on `otb-dev` target and included the use of `magic-nix-cache-action`. * [CI] Remove deprecated aarch64 GitHub Actions workflow * The aarch64 GitHub Actions workflow file (.github/workflows/aarch64.yml) was deleted. * This action is no more needed as the ci.yml works fine with Nix-Magic-Cache * Rather than building 2 derivation i.e. otb-dev (all modules) and otb (minimal modules) which takes a lot of time for ARM64 build and gets timed out so we build only one derivation i.e otb-dev which contains all the modules. * [REFAC] Move remote module to their own separate nix file for better readability * Move the remote module to its own separate file for better readability, also add information regarding remote module code LICENSE and copyright information * Updated related configurations in `flake.nix` and `docker.nix` to include licensing information and appropriate fetchGit instructions.
- Loading branch information
Showing
17 changed files
with
436 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
build_docker_x86_64: | ||
nix run .\#otb-docker-x86_64.copyToDockerDaemon | ||
build_docker: | ||
nix run .\#otb-docker.copyToDockerDaemon | ||
|
||
build_dev_docker: | ||
nix run .\#otb-dev-docker.copyToDockerDaemon | ||
|
||
#build_docker_arch64: | ||
# nix run .\#otb-docker-aarch64.copyToDockerDaemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.