openwhisk-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Mitchell <moose...@gmail.com>
Subject Re: Openwhisk in a standalone runnable jar (#4516)
Date Fri, 21 Jun 2019 12:05:40 GMT
we have the need to create namespaces/authkeys (so that we can run tests in
parallel); is this supported by the current build env? or would we have to
launch a separate openwhisk process for each tenant?

On Fri, Jun 21, 2019 at 8:03 AM Carlos Santana <csantana23@gmail.com> wrote:

> Chetan thanks for thinking on Windows users +1
>
> Just curious why the jar can’t be build in Windows can you log an issue
> for this?
>
> My 2 cents for Windows or Mac I think the best way to build the jar would
> be inside a docker container. A one liner with a single command should be
> able to produce the jar on a local workstation or devops pipeline.
>
>
> - Carlos Santana
> @csantanapr
>
> > On Jun 21, 2019, at 7:45 AM, Chetan Mehrotra <chetan.mehrotra@gmail.com>
> wrote:
> >
> > Just to share some more progress. With runnable jar its now possible
> > to run OpenWhisk standalone even on Windows and execute basic actions.
> > Tested it with Docker on Windows 2.0.0.3 on Windows 10
> >
> > Note you would probably not be able to build the project on windows.
> > But copying the produced jar would let you run it on Windows.
> >
> > Chetan Mehrotra
> >
> > On Fri, Jun 21, 2019 at 5:13 PM Chetan Mehrotra
> > <chetan.mehrotra@gmail.com> wrote:
> >>
> >> Hi Nick,
> >>
> >> For now just building the PR branch and running following command
> >> should get you going
> >>
> >> java -jar openwhisk-standalone-1.0.0-SNAPSHOT.jar
> >>
> >> You can use the default guest and whisk.system credentials to interact
> >> with it. I am in the process of writing a readme for various options
> >> exposed. Hope to get it done by Monday
> >>
> >> Chetan Mehrotra
> >>
> >>> On Fri, Jun 21, 2019 at 4:57 PM Nick Mitchell <moosevan@gmail.com>
> wrote:
> >>>
> >>> thanks chetan for doing this!
> >>>
> >>> could you provide some example startup sequences, e.g. with sample
> configs?
> >>> i'm willing to try this out for our CI/CD pipeline -- i'm sick of 1)
> >>> waiting 5-7 minutes for openwhisk to start up; and b) fighting ansible
> >>> versus xenial :)
> >>>
> >>> @starpit
> >>>
> >>> On Fri, Jun 21, 2019 at 12:44 AM Chetan Mehrotra <
> chetan.mehrotra@gmail.com>
> >>> wrote:
> >>>
> >>>>> What's the performance like on startup time
> >>>>
> >>>> It starts in < 5 secs.
> >>>>
> >>>> So far no major blocking issue apart from fetching docker logs on Mac.
> >>>> Current approach of directly reading the log json does not work. So
> >>>> need to have a mac version which uses `docker logs` command to
> >>>> somewhat handle such a case.
> >>>>
> >>>> Chetan Mehrotra
> >>>>
> >>>>> On Thu, Jun 20, 2019 at 9:50 PM James Thomas <jthomas.uk@gmail.com>
> wrote:
> >>>>>
> >>>>> That is mind-blowingly cool!
> >>>>>
> >>>>> What's the performance like on startup time?
> >>>>>
> >>>>> On Thu, 20 Jun 2019 at 06:14, Carlos Santana <csantana23@gmail.com>
> >>>> wrote:
> >>>>>>
> >>>>>> Genius!
> >>>>>> https://www.adminsub.net/tcp-udp-port-finder/whisker
> >>>>>>
> >>>>>>
> >>>>>> - Carlos Santana
> >>>>>> @csantanapr
> >>>>>>
> >>>>>>> On Jun 19, 2019, at 12:30 PM, David P Grove <groved@us.ibm.com>
> >>>> wrote:
> >>>>>>>
> >>>>>>> WhiskerControl
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Regards,
> >>>>> James Thomas
> >>>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message