Hello everyone,

I did another step towards "building from sources".

Can some committer review and approve the PR?

https://github.com/apache/openserverless/pull/198

Some notes on the PR:

First, I added task as a prerequisite
since everything is built with task, it is a no brainer.

Then I automated building with the operator.
The logic is now in the Taskfile.yml that will act as a "master" bulder for
all the subrepos.

You can now build the cli  and the operator with task.

We need to also add the builds for the runtimes.

The operator is a docker image but we are not going to publish it in a
registry, we just save it locally and this is what the task operator does.

There is already a provision to load images that are stored locally.

Once you build the operator, the smoke test uses it: it creates a local
kubernetes cluster and load the local operator image in it.

An important note: since the images are located using the tags in
./olaris/opsroot.json,
the task save the pointers to the images, so the builder can use it.

As a tag, instead of a timestap I used the sha hash of the revision so you
know from which sources an image has been built. Of course for release we
will have to add some "semantic" versioning.

Once the operator is up and running everything else is operated by the
operator creating CRDs. So in a sense this is a "build from sources".

We still have to build from sources the runtimes since they are part of our
source relase, so at the moment I do not trigger yet the deployment of
everything else, I just verify the operator is up and running.

Next step is to build the runtimes.
--
Michele SciabarrĂ  - [email protected] - linkedin.com/in/msciab
Apache OpenServerless committer - reddit.com/r/openserverless
Apache OpenWhisk PMC member  - Author Learning Apache OpenWhisk
<https://www.oreilly.com/library/view/learning-apache-openwhisk/9781492046158/>

Reply via email to