1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-31 04:04:51 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Markus Lehtonen
d54881b6c8 travis: unify indentation in .travis.yml 2019-06-24 11:09:45 +03:00
Markus Lehtonen
7054e7dd43 travis: enable pushing of release images
This patch enables automatic pushes of release images whenever a new git
tag is created. This works as expected as the $TRAVIS_BRANCH variable is
set to $TRAVIS_TAG when builds are triggered by a new tag.
2019-06-24 11:00:53 +03:00
Markus Lehtonen
3088382772 travis: add deploy step to automatically push the container image
Configure .travis.yml to automatically push builds on the master branch
to the container image registry (quay.io by default). This will
automatically make the latest "experimental" version of NFD, built from
the tip of the master branch, available in the upstream Docker
repository.

IMAGE_REPO_USER and IMAGE_REPO_PASSWORD environment variables must be
defined in the travis repositorys settings in order for the deployment
step to be triggered.
2019-06-18 16:23:25 +03:00
Markus Lehtonen
118146a1ee travis: build image using make
Better to use the same method that developers are supposed to use. Plus,
this creates runnable images (as NFD version is defined).
2019-06-18 16:23:25 +03:00
Markus Lehtonen
fa4d9b76e9 travis: run in minimal environment and drop sudo
Default language is ruby and we don't need that. The minimal environment
is enough. Also, no su privileges are needed to run the build.
2019-04-27 12:49:48 +03:00
Markus Lehtonen
bff94eb107 Utilize multi-stage build to reduce docker image size
This reduces the size of the Docker image from ca. 1.2GB down to about
750MB.

Also, move unit tests from .travis.yml to Dockerfile. Final production
image is not able to run unit tests anymore, as sources are missing from
there.
2018-09-24 10:15:23 +03:00
Markus Lehtonen
b999a1a6f4 Fix unit tests (#98)
* Update unit tests

Make the unit tests pass, again.

* Update project dependencies

* Enable unittests in travis
2018-03-01 10:49:57 -08:00
Balaji Subramaniam
41abde10b3 Integrated with travis-ci. (#15)
- Added .travis.yml.
- Updated readme to show build status.
2016-09-23 14:08:03 -07:00
Connor Doyle
4bd63cb7f3 Automatically determine git version for labels.
- Added git version to published labels.
- Minor formatting fix in job template.
- Added .travis.yml and added build status image link to README.
- Added .gitignore.
2016-08-30 14:34:58 -07:00