Commit Graph

21 Commits

Author SHA1 Message Date
Minghe
d1f680dacd auto load config (#376) 2019-11-27 18:09:06 +08:00
Minghe
14c9397b70 use ssh to install, no dependency on k3sup (#367) 2019-11-27 15:40:18 +08:00
Minghe
f493749689 Better fx run remote docker host (#338) 2019-11-11 15:35:52 +08:00
Minghe
d8a1868fce Merge "deploy" command to "up" command (#333) 2019-10-18 09:32:57 +08:00
Minghe
aa49a59feb * kuberntes has some limitation on naming,By convention, the names of Kubernetes resources should be up to maximum length of 253 characters and consist of lower case alphanumeric characters, -, and ., but certain resources have more specific restrictions. (#322)
* skip run deploy when KUBECONFIG, DOCKER_USERNAME, and DOCKER_PASSWORD is not ready
2019-10-14 13:21:27 +08:00
Minghe
c9d382d903 Skip test when no credentials ready (#320)
* Since fork PR build could not read secrets of GitHub action,
https://github.community/t5/GitHub-Actions/Allow-secrets-to-be-shared-with-trusted-Actions/td-p/34278
So skip test when its credentials are nod ready

* skip deploy test when no DOCKER_USERNAME and DOCKER_PASSWORD found
2019-10-14 12:37:06 +08:00
Minghe
90d7ec88f0 disable julia in test, since the HttpParser is not in registry (#301)
* disable julia in test, since the HttpParser is not in registry

* fix typo
2019-10-09 17:24:50 +08:00
Minghe
3454ec0fdb Deploy function on bare docker. (#286) 2019-10-08 11:08:01 +08:00
Minghe
f70ef1c406 fx on k8s (#278) 2019-10-05 18:49:25 +08:00
Minghe
ab127a36ff support image operation, (#266)
* fx image build, build a function into a image which a API service handle with function
* fx image export, export service into a directory, for easy debug, we
  can just go the directory to do everything with Docker cli
2019-09-25 20:06:49 +08:00
Minghe
7d3cc8f8d0 Setup CI via GitHub actions (#241)
* Update go.yml

* provision docker

* fix use

* fix use

* migration to workflows

* fix dep

* refactor workflows

* setup golang env

* fix path issue

* fix path issue

* Fix

* clean up

* provision docker

* start fx agent

* check

* check

* Squashed commit of the following:

commit c7f50a3256164573f1f7910c4b79729c91f77af7
Author: Minghe Huang <h.minghe@gmail.com>
Date:   Mon Aug 12 08:13:54 2019 +0800

    update

commit e5ba0ea5af
Author: Minghe Huang <h.minghe@gmail.com>
Date:   Sun Aug 11 23:53:38 2019 +0800

    test

commit aec09957f9
Author: Minghe Huang <h.minghe@gmail.com>
Date:   Sun Aug 11 23:38:37 2019 +0800

    add unit test

commit 59ac78a112
Author: Minghe Huang <h.minghe@gmail.com>
Date:   Sun Aug 11 22:52:51 2019 +0800

    refactor api

* Squashed commit of the following:

commit caa7e06fee72f345c6fad742f30a740f1c3de04d
Author: Minghe Huang <h.minghe@gmail.com>
Date:   Mon Aug 12 13:42:54 2019 +0800

    refactor api

commit a384c6c023325da36fa54818c1c69673c439f8af
Author: Minghe Huang <h.minghe@gmail.com>
Date:   Mon Aug 12 09:58:21 2019 +0800

    move packer

* disable test

* manage dep
2019-08-12 23:17:14 +08:00
Minghe
2f238e9ce0 manage infrastructure (currently only suport host management) of fx (#233) 2019-08-10 11:54:40 +08:00
Minghe
e301d2d54f context of fx function (#223) 2019-08-09 09:10:49 +08:00
Minghe
61c151ef11 enable remote host provision and deploy (#216)
* 1. support provision a remote host
2. support deploy function to a remote host
3. support hosts management now

features:
* fx provision - provision on default host
* fx host - manage hosts
2019-07-29 09:27:34 +08:00
Minghe
efe7ad5b00 run test concurrency (#208)
* run test concurrency

* enable cli test in PR
2019-07-22 00:26:59 +08:00
Minghe
30133c534c fix(init): init before up (#183) 2019-03-21 23:54:27 +08:00
Minghe
14c5e841a9 feat(rust): support rust (#179)
* feat(rust): support rust now

* chore(test): test for rust

* fix(test): commit missing rust example func

* chore(*): only test cli before release
2019-03-21 23:32:45 +08:00
Minghe
f04bbd2403 feat(refactor): * (#173)
* 1. user docker remote api instead of docker golang sdk to do stuff
2. remote gRPC code
3. simplify command

* fix(dep): remove private import

* chore(*): clean up

* chore(*): clean up

* chore(*): commit source

* fix(test): *

* fix(env): enable docker remote api

* fix(env): enable docker remote api

* chore(*): clean up

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* fix(ci): use machine to do build

* feat(timeout): longger timeout

* fix(test): *

* fix(typo): flag is name

* chore(*): debug

* chore(*): debug

* chore(*): decrease test time

* fix(type): disable call test since not well design yet

* fix(typo): remove,

* feat(images): pull images

* fix(Pkg): using Pkg first

* fix(Pkg): using Pkg first

* feat(julia): fix version

* chore(*): clean up

* fix(file): ensure file exist

* feat(http): remote http test

* fix(circleci): fix deploy job

* chore(*): update info

* feat(init): update script

* doc(architect): update readme

* refactor(api): refactor api code

* refacot(api): seperate version

* refactor(build): service build as single file

* feat(concurrent): down concurrent

* refactor(api): refactor API

* fix(endpoint): valid endpoint

* fix(path): path change

* feat(release): fix release script

* fix(path): correct path

* feat(api): seperate service run

* fix(release): install goreleaser

* fix(cc): fix cc

* fix(releaser): install releaser from script outside of circleci config

* fix(env): init logic move env

* fix(cli): fix init

* fix(env): avoid conflict

* chore(*): update output

* test(stop): add test for stop

* feat(label):apply default label

* doc(readme): update workflow graph

* fix(init): should just start when container exist

* feat(state): update container by state
2019-03-20 17:06:52 +08:00
Minghe Huang
f208d7c8d2 fix test 2018-08-03 00:49:05 +08:00
Minghe
884fb65432 Remove path (#162)
* clean up

* remove Path

* fix typo

* add more test

* fix typo

* fix permission issue

* fix server not started issue

* clean up
2018-08-03 00:41:33 +08:00
Minghe
06bd14fb45 Refactor (#126) 2018-06-17 01:05:51 +08:00