Commit Graph

14 Commits

Author SHA1 Message Date
Thomas Frössman 4f57eac902 Use Go embed.FS instead of external tool to embed assets (#135)
* Use Go embed.FS instead of external tool to embed assets

* remove go-bindata from dockerfiles and bump ci to golang 1.16.x

* remove more go-bindata related stuff

Co-authored-by: Markus Viitamäki <markus.viitamaki@embark-studios.com>
2021-07-23 15:28:35 +02:00
Markus Viitamäki 685e913dc3 Force usage of golang 1.16 (#137)
* force usage of golang 1.16

* change specific 20.04 of ubuntu to latest
2021-07-23 15:11:51 +02:00
Markus Viitamäki 0cdaa2ae05 Work on reoccurring build errors (#123)
* bump golang-action to 1.7.0

* set action-gh-release to v1

* move away from distroless to alpine

* bump alpine to latest to align with Dockerfile

* making sure path is gopath is correct

* separate cache directories per build-job

* go mod tidy

* update go dependencies
2021-05-10 12:28:51 +02:00
Markus Viitamäki 3e05fa4ad1 removing SA9002 from linter (#122) 2021-05-10 09:53:49 +02:00
Markus Viitamäki f1635df605 updated CI flow and change master -> main (#105) 2020-12-16 16:31:24 +01:00
Markus Viitamäki 709fb144f1 CI Overhaul (#83)
Multiple changes made to the CI workflow.

Docker images are now built for AMD64, ARM64 and ARMv7
Docker images are now built for each release and published on docker hub
Release workflow now successfully create release and upload assets
Added ARM64 to list of binaries compiled during release
2020-07-22 16:33:37 +02:00
Markus Viitamäki 557e41283e figuring out ci issues (no space left) (#77)
Fixing space issue and at the same time move github actions runner to ubuntu-20.04 from ubuntu-latest (currently 18.04).
2020-06-13 16:05:04 +02:00
Markus Viitamäki 1b03a98d9f rename jobs and bump version on golang-action 2020-05-06 09:31:22 +02:00
Markus Viitamäki 9d93f4092c Include building ui into dockerfile (#62)
* Include building ui into docker file

* Specify docker.io for image

* removing old dist files

* update gitignore to skip dist folders

* adding build to arguments as the files are no longer in repo

* remove bindfs to figure out the problem later

* running all instead of just specified

* removed bindfs action

* disabling error check for now until we move building ui assets to action

* added npm install & run to pull_request yaml

* build ui folder

* --prefix on install deps

* --prefix on install deps

* re-added not checking generated files

Co-authored-by: Fredrik Grönqvist <fredrik.gronqvist@embark-studios.com>
2020-04-20 03:51:29 +02:00
Markus Viitamäki 758100558a Fix GitHub Action (no space left on device) (#53)
* Removing swap and cleaning up apt cache.

* List all docker images on machine, in order to do cleanup

* Cleanup old docker images

* Adding disk cleanup for master push
2020-04-14 21:28:08 +02:00
Sohalt e49634f9d2 Fix gosec issues (#57)
* Stricter file permissions when writing /proc/sys/ipv4/ip_forward

* Fix gosec issues
2020-04-14 21:04:43 +02:00
Sohalt f203beeab0 Fix name for Github Actions (#55) 2020-04-14 20:24:43 +02:00
Fredrik Grönqvist 5fafa92046 org name should be lowercase (#28)
* org name should be lowercase

* also added case for pull request
2019-12-19 13:22:39 +01:00
Fredrik Grönqvist b471f3dff5 Github actions & clean up to be able to do linting (#27)
* Github actions & clean up to be able to do linting

* renamed user

* pushing images to github packages

* Fixed tags
2019-12-19 13:03:03 +01:00