Commit Graph

1943 Commits

Author SHA1 Message Date
Lance Ball 8a60c5e0c4 feat(ci/cd): add release-please for automated release management
This commit adds release-please as a github action, replacing the
develop, main and releases actions. Now, with each commit to main, a PR
is either created or updated with the contents of all changes since the
last release. When this PR is landed, a tag and branch are created, and
the build artifacts (binaries) are uploaded as part of a regular github
release.

A practical result of this landing will be that all work will subsequently
happen on the `main` branch (aside from backport releases) and the `develop`
branch will no longer be used.

When this is landed on `main`, a release will not be created as per usual.
Instead, a PR will be created with the contents of the changes since the
last release.
2020-09-10 09:49:54 -04:00
Luke K 6fb0116a86
release: v0.6.2 2020-09-09 23:10:18 +09:00
Luke K fffb1f28bc
build: remove main branch from release 2020-09-09 23:09:03 +09:00
Matej Vasek 8012e195c3
fix: update pkger generated files 2020-09-09 15:45:35 +02:00
Matej Vasek bb575b04c0
fix: signature of HTTP go function in template 2020-09-09 15:27:38 +02:00
Luke K bcd692be77
release: v0.6.1 2020-09-09 19:12:03 +09:00
Matej Vasek 565066ef4b
chore: update quarkus version to 1.7.2.Final 2020-09-08 21:23:56 +02:00
Lance Ball 609ab86a4d
templates(node): make node templates use npx @redhat/faas-js-runtime (#99)
Currently the templates have a `local.js` file and an explicit dependency
on the @redhat/faas-js-runtime module. This removes that build-time
dependency and replaces it with a runtime dependency by using the (pending)
CLI from the module.

This is nice for a couple of reasons.

- Reduces the build time during `faas deploy`
- Eliminates the need for `faas` to bump with updates to faas-js-runtime

See: https://github.com/boson-project/faas-js-runtime
2020-09-08 14:16:51 -04:00
Lance Ball 9826487044
chore(actions): add binary uploads to develop branch CI (#104)
This will enable non-developers who are interested in trying out the
latest builds to easily get a copy pre-release.
2020-09-04 12:11:54 -04:00
Luke K be8c9eb52a
fix: build releases from main branch only 2020-09-04 23:21:38 +09:00
Luke K cda3a98e9a
chore: use organization-level secrets for image deployment 2020-09-04 23:17:04 +09:00
Luke K ce48083a10
fix: remove references to unused binaries appsody, kn, kubectl 2020-09-04 23:08:03 +09:00
Luke K 3d51c27c6c
docs: initial Go template READMEs 2020-09-04 22:27:16 +09:00
Matej Vasek 91172ef0b1
fix: image override (#88) 2020-09-02 08:37:17 -04:00
Luke K 8262aa110b
release: v0.6.0 2020-08-31 19:08:55 +09:00
Luke K 38d41baaa3
feat: golangci-lint allow enum shorthand, use config file 2020-08-31 17:10:08 +09:00
Luke K 3fc39aa773
feat: consolidate formatters
- Replaces globally-scoped formatter function with methods
- Defines enumerated Format types
- Renames the 'output' flag 'format' due to confusion with command file descriptors
- FunctionDescription now Function
- Global verbose flag replaced with config struct based value throughout
2020-08-31 16:37:07 +09:00
Luke K 89c09d9a78
fixup: remove unnecessary WithVerbose option from progressListener 2020-08-31 09:45:20 +09:00
Luke K 00ac880c3b
docs: fix function typos 2020-08-29 01:55:33 +09:00
Luke K adcd93d70c
fix: return fs errors on config creation 2020-08-29 01:55:33 +09:00
Luke K 6fdbb649ba
fix: serialize trigger on faas.config 2020-08-29 01:55:33 +09:00
Luke K d33fb2d694
feat: test suite
- updated tests to new api throughout
- expanded tests where appropriate
- lint issues
- minor code review comments addressed
2020-08-29 01:55:33 +09:00
Luke K 6e0f4caa93
feat: consolidate knative client config construction 2020-08-29 01:55:30 +09:00
Luke K 4918cc7eef
feat: cli usability enhancements and API simplification 2020-08-29 01:54:13 +09:00
Luke K 2fcbe740e9
fix: default k8s namespace to 'faas' per documentation 2020-08-29 01:52:56 +09:00
Matej Vasek fbab8c09d0
feat: the `list` sub-command uses namespace 2020-08-24 14:08:25 +02:00
Lance Ball c0426b5a3c
test: add test targets for go and quarkus templates (#72)
This commit adds Makefile targets for go and quarkus, and includes these
in the regular `make test` target. I've also added a couple of entries to
.gitignore.
2020-08-19 07:56:35 -04:00
Luke K 6be6b71262
docs: setting up remote access to kind clusters 2020-08-19 08:13:19 +09:00
Luke K b3d513031a
docs: wireguard configuraiton for OS X 2020-08-18 10:01:17 +09:00
Luke K 00669dca25
docs: Kind cluster provisioning and TLS 2020-08-18 10:01:16 +09:00
Luke K 07c633a707
docs: separate repository and system docs 2020-08-18 10:01:16 +09:00
Luke K 1f5205c6fc
docs: getting started with kubernetes, reorganization. 2020-08-18 10:01:16 +09:00
lkingland 4c3a276c2f
feat: version command respects verbose flag (#61) 2020-08-13 17:05:59 -04:00
Lance Ball ea7fe15376
src(templates/node): update Node.js templates (#68)
This commit updates the Node.js templates to use the latest faas-js-runtime
framework, and fixes a couple of dependency issues and broken tests. I have
also added a build time test for these templates so that if/when they change
again, we can be sure to catch any problems.
2020-08-13 17:05:25 -04:00
Lance Ball 5b4d97a443
feat: add init/build/deploy commands and customizable namespace (#65)
* feat: add init/build/deploy commands and customizable namespace

This commit comprises some fairly large changes in the codebase.
The 'create' command has been extracted into 'init', 'bulid' and
'deploy' commands. The 'create' command remains, but now delegates
most of its work to these other three. This also has resulted in
some rework of the various flags. 

In addition, it is now possible to specify the cluster namespace to
which the function will be deployed.
2020-08-12 10:52:50 -04:00
Matej Vasek 17a00c9057
feat: JSON output for the `list` sub-command 2020-08-11 15:25:33 +02:00
Matej Vasek 11692f6bd3
chore: build static binary 2020-08-10 18:54:48 +02:00
Luke K 811d09ae01
v0.5.0 2020-07-31 13:48:08 +00:00
Matej Vasek 382fcf8d1e
chore: add `-race` flag for tests 2020-07-30 16:01:25 +02:00
Luke K 15f1e8be1e
feat: build and release cross-platform binaries 2020-07-29 16:04:12 +00:00
Luke K 653dec5eae
build: reduce build verbosity for cross-platform compilations 2020-07-29 16:04:09 +00:00
Luke K ebd2c11964
fix: build using environmentally-defined settings for GOOS and GOARCH by default 2020-07-29 16:03:17 +00:00
Matej Vasek 4677b3452f
chore: add lint to GH actions CI 2020-07-29 17:47:08 +02:00
Luke K c3d983907d
Merge remote-tracking branch 'markito/develop' into develop 2020-07-29 14:54:36 +00:00
Luke K dd2e70969f
feat: version prints semver first 2020-07-28 15:02:23 +00:00
Luke K 7c253298ea
fix: version flag 2020-07-28 15:02:23 +00:00
Luke K cc016db990
build: update container latest tag when releasing 2020-07-28 14:52:49 +00:00
William Markito a39a57331f Fix ordering of platforms and set default to linux 2020-07-28 09:18:02 -05:00
Lance Ball 0810d9ace4
actions: add CHANGELOG.md and a release target to Makefile (#45)
This commit adds a `release` target to the Makefile, simplifying the generation
of the CHANGELOG.md (oh, this commit also adds a CHANGELOG.md). Invoke the
make target like so.

```sh
make release VTAG=v0.4.1
```

This will update the CHANGELOG with the commits included since the last
release, commit that change, and create the version tag. Then you just need
to push to github in order to publish the binary.
2020-07-28 09:14:45 -04:00
William Markito ce8448dde6 Adding multiple platforms to Makefile 2020-07-27 17:47:58 -05:00