Commit Graph

27 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 fb1f66d9ab update dockerhub credentials (#106) 2020-12-16 16:45:40 +01:00
Markus Viitamäki f1635df605 updated CI flow and change master -> main (#105) 2020-12-16 16:31:24 +01:00
Louis Pilfold 9fd5550935 Correct CODEOWNERS syntax 2020-12-04 12:27:45 +00:00
Louis Pilfold 2bbf540f29 Add project maintainers as codeowners (#102)
* CODEOWNERS

* Update CODEOWNERS
2020-12-01 17:55:32 +01:00
Markus Viitamäki 1f1ed1195f CI Update (UserSpace and Cache) (#87)
- Setting up build pipeline for UserSpace images (docker)
- Adding a cache to speed up build process using github.com/actions/cache
2020-07-23 10:43:29 +02: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 558616a87c update makefile and documentation (#74) 2020-06-09 13:13:53 +02:00
Dmitry 4a9529a0e7 disable cgo (#70)
removes dependency on glibc from built binaries
2020-06-01 09:28:38 +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 b7a45cfd76 move build step after variables 2020-05-05 20:12:25 +02:00
Markus Viitamäki 03f67a54fe actions workflow for releases (#68)
* actions workflow for releases

Adding actions workflow for building releases

* change BOT_TOKEN to GITHUB_TOKEN
2020-05-05 16:46:44 +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 82c45bd349 Update push_master.yaml 2019-12-19 15:44:41 +01:00
Fredrik Grönqvist 4a5c38b71b Update push_master.yaml 2019-12-19 15:22:25 +01:00
Fredrik Grönqvist da0bdb2a5f Update push_master.yaml 2019-12-19 15:07:52 +01:00
Fredrik Grönqvist 44ccd065ac Upload to dockerhub instead (#29) 2019-12-19 14:49:42 +01: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
Daniel Lundin 6d79986817 Update to new Embark open source standards 2019-09-20 11:47:02 +02:00