Commit Graph

29 Commits

Author SHA1 Message Date
Neil Twigg
7f9e6dad38 Allow overriding target branch in on-demand nightly image builds
Signed-off-by: Neil Twigg <neil@nats.io>
2023-04-03 17:00:22 +01:00
R.I.Pienaar
447a174065 move dev nightly to same shared action
Signed-off-by: R.I.Pienaar <rip@devco.net>
2023-03-16 11:23:41 +01:00
R.I.Pienaar
2e362fee40 resolve access to secrets and a few other issues
Signed-off-by: R.I.Pienaar <rip@devco.net>
2023-03-15 13:41:30 +01:00
R.I.Pienaar
54da8b4f8a fix uses for embedded action in nightly build
The uses option requires a path that start with . for local files

Signed-off-by: R.I.Pienaar <rip@devco.net>
2023-03-15 11:44:56 +01:00
R.I.Pienaar
d3c8fddef3 fix path to actions file
Signed-off-by: R.I.Pienaar <rip@devco.net>
2023-03-14 21:43:17 +01:00
R.I.Pienaar
a8f33d594c checkout code before calling action
This ensures that the action can be found.

Signed-off-by: R.I.Pienaar <rip@devco.net>
2023-03-14 19:47:20 +01:00
R.I.Pienaar
204c53dcb2 adds a nightly build action and build nightly rc from main
Signed-off-by: R.I.Pienaar <rip@devco.net>
2023-03-14 19:20:18 +01:00
Ivan Kozlovic
4187413281 Change nightly to build from dev instead of main [ci skip]
Also updated some of the actions to avoid some deprecation warnings

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-11-02 11:52:36 -06:00
Ivan Kozlovic
a98af54d92 Fix some flappers and update Go version for nightly code coverage
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-10-10 16:42:43 -06:00
Ivan Kozlovic
3c9a7cc6e5 Move to Go 1.19, remote io/util, fix data race and a flapper
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-08-05 09:55:37 -06:00
Ivan Kozlovic
ab1b86ef96 Update nightly to Go 1.18
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-07-29 17:15:12 -06:00
Ivan Kozlovic
92755d3329 Fixed GithubAction code coverage to handle test panics
We are ok with a flapper or two, because they should not affect
code coverage that much, so it is better to have those and publish
code coverage than to have to recycle the whole test suite until
we get no test failure.

However, if there is a test panic, then all other tests within this
package will NOT run, which then would have possibly a massive
impact in the code coverage percentage.

These changes will ensure that the run fails if one of the code
coverage output is "empty" (it is actually not empty, but the
initial content is "mode: atomic" and then whe code coverage is
complete, it gets filled with actual code coverage data).
On failure, the push to coverall will not happen.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-05-02 14:51:19 -06:00
Ivan Kozlovic
0e2ab5eeea Changes to tests that run on Travis
- Remove code coverage from Travis and add it to a GitHub Action
that will be run as a nightly.
- Use tag builds to exclude some tests, such as the "norace" or
JS tests. Since "go test" does not support "negative" regexs, there
is no other way.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-04-26 14:11:31 -06:00
Ivan Kozlovic
609a9ba2da Nightly: set Go version to 1.17 and use latest goreleaser
[ci skip]

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-01-26 15:29:41 -07:00
Ivan Kozlovic
59eef192cd Prepare for release v2.7.0, start with v2.7.0-rc1
Since we have never released with goreleaser and GO111MODULE=on
and have removed vendor directory, we are going to push a
v2.7.0-rc1 tag. If the goreleaser process works fine and submit
the draft release correctly, we will not do an actual v2.7.0-rc1
release. Instead, we will follow up immediately with the v2.7.0
tag and the proper release.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-01-13 16:15:51 -07:00
Derek Collison
d18bb6288a No race flag for GHA [ci skip]
Signed-off-by: Derek Collison <derek@nats.io>
2021-08-14 16:43:21 -07:00
Derek Collison
f3067cda94 Bypass norace tests for GHA
Signed-off-by: Derek Collison <derek@nats.io>
2021-08-14 13:52:37 -07:00
R.I.Pienaar
0d391b02eb richer api errors proposal
Signed-off-by: R.I.Pienaar <rip@devco.net>
2021-05-26 08:04:50 +02:00
R.I.Pienaar
8ebf2515ce fix nightly builds
goreleaser now only function with GO111MODULES on, as will
much of the go eco system soon and we will need to move also.

For now use a version that still supports it

Signed-off-by: R.I.Pienaar <rip@devco.net>
2021-03-26 12:51:18 +01:00
Derek Collison
ce52ebd9fb Bump to go 1.16
Signed-off-by: Derek Collison <derek@nats.io>
2021-03-18 12:57:20 -07:00
R.I.Pienaar
162fd77161 upgrade nightlies to go 1.16
Signed-off-by: R.I.Pienaar <rip@devco.net>
2021-02-28 20:03:10 +01:00
R.I.Pienaar
3521d4c463 revert to previous checkout version
Signed-off-by: R.I.Pienaar <rip@devco.net>
2021-02-16 11:50:13 +01:00
R.I.Pienaar
1c27acb846 enable manual triggers of nightly builds
Signed-off-by: R.I.Pienaar <rip@devco.net>
2021-02-15 21:17:11 +01:00
Derek Collison
542d352017 Just run 1.15, don't need vendored installs
Signed-off-by: Derek Collison <derek@nats.io>
2021-01-25 17:42:21 -08:00
R.I.Pienaar
b852a9ba84 use go 1.15 for nightly builds
Signed-off-by: R.I.Pienaar <rip@devco.net>
2021-01-07 13:54:50 +01:00
Waldemar Quevedo
f0c144203b Add Go 1.15 version to CI
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
2020-09-09 07:21:32 -07:00
R.I.Pienaar
04271d7ead fix nightly schedule
Signed-off-by: R.I.Pienaar <rip@devco.net>
2020-06-05 12:21:36 +02:00
R.I.Pienaar
8f917f1068 add nightly docker build workflows
Signed-off-by: R.I.Pienaar <rip@devco.net>
2020-06-04 12:57:35 +02:00
R.I.Pienaar
71144b37c5 initial gh actions
Adds basic GH Workflow that runs tests on push and pr, coverage
is disabled.

The intention is to soft switch to GH Actions by just letting them
run next to travs for a while to get a feel for things

Signed-off-by: R.I.Pienaar <rip@devco.net>
2020-05-21 13:49:20 +02:00