Fixes for the build (#201)

* gitmodules fix admin-api and streamer

* updated build with bug fixes

* fix

---------

Co-authored-by: Trustable User <noreply@example.com>
Co-authored-by: Michele Sciabarra <michele@sciabarra.com>
Co-authored-by: Michele Sciabarra <michele@nuvolaris.io>
6 files changed
tree: e59ffa861f7dcdeea096bc4b52faf3f316311098
  1. .github/
  2. assets/
  3. attic/
  4. .asf.yaml
  5. .gitignore
  6. .gitmodules
  7. bash_aliases
  8. CHANGES
  9. CONTRIBUTING.md
  10. DISCLAIMER
  11. get-diff.sh
  12. LICENSE
  13. NOTICE
  14. openserverless-cli.code-workspace
  15. openserverless-operator.code-workspace
  16. openserverless.code-workspace
  17. README.md
  18. ROADMAP.md
  19. sync-branch.sh
  20. Taskfile.yml
  21. test.sh
  22. update-tree.sh
  23. VERSIONS.md
README.md

Apache OpenServerless (incubating)

Welcome to Apache OpenServerless, an incubating project at the Apache Software Foundation

  • If you want to install Apache OpenServerless in cloud go here.
  • If you want to understand what this project is check the original proposal.
  • If you want to contribute to the project, read on this README to setup a development environment.
  • If you want to discuss with us, join our mailing list sending an email to dev-subscribe@openserverless.apache.org
  • If you want to locally install open serverless from sources test or development, read on.

Build and test from sources

Prerequisites

  • you need an Unix environment, either OSX, Linux or Windows WSL.
  • you need docker on the path
  • you need go available on the path
  • you need task (https://taskfile.dev) available in the path

Here the procedures for MacOS, Windows 11 and Ubuntu Linux

Prepare Mac

On Mac, install brew and Docker Desktop. then do

  • brew install task
  • brew install go

Prepare Windows

On windows,

  • install Docker Desktop then
  • wsl --install Ubuntu-24.04

then enable docker to be used in the distro Ubuntu-24.04

Access the distro (wsl -d Ubuntu-24.04 ), configure a new user, then execute:

sudo apt-get update
sudo apt-get -y install jq
sudo snap install go --classic
sudo snap install task --classic
sudo snap install kubectl --classic

Prepare Ubuntu Linux

Setup for a plain Ubuntu Linux with an user with sudo power:

sudo apt-get update
sudo apt-get -y install jq
sudo snap install go --classic
sudo snap install task --classic
sudo snap install kubectl --classic
curl -sL get.docker.com | sudo bash
sudo usermod -aG docker $USER
newgrp docker
docker ps

Procedure

git clone https://github.com/apache/openserverless --recurse-submodules
cd openserverless
task build
task setup

TODO: task test