1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
Commit graph

113 commits

Author SHA1 Message Date
Markus Lehtonen
1e3c971651 scripts: don't use '-e' command line option for make
There is no reason to override variables from the environment anymore.
2020-09-15 11:53:50 +03:00
Markus Lehtonen
e8e3fce851 scripts: explicitly override VERSION in push-image.sh
Without using -e to override variables from the environment.
2020-09-15 11:46:48 +03:00
Carlos Eduardo Arango Gutierrez
bac690813a
Drop gcloud auth for image pushing
gcloud auth call in push_image.sh test script is no longer needed

Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
2020-09-12 07:38:38 -05:00
Kubernetes Prow Robot
cf21e415dd
Merge pull request #349 from marquiz/devel/golangci-lint
scripts: update golangci-lint to v1.30.0 in verify.sh
2020-09-08 04:47:43 -07:00
Markus Lehtonen
d77d76e95d scripts: update golangci-lint to v1.30.0 in verify.sh 2020-09-04 10:45:51 +03:00
Markus Lehtonen
852c817bf6 scripts/test-infra: add build.sh
A script for verifying (non-docker) build.
2020-09-04 10:04:28 +03:00
Markus Lehtonen
86659fb100 scripts: configure docker authentication in push-image.sh
As we're trying to push the images directly from the phase job and not
use 'images:' targets in cloudbuild.yaml.
2020-09-03 23:35:07 +03:00
Markus Lehtonen
4899de7e59 scripts: use a reproducible version in push-image.sh
We don't have a full git repo in the gcb builds so our version/tag magic
inside the makefile does not work. With this patch we get the version
information from the builder environment - fortunately we can do that by
simply stripping the date prefix from the _GIT_TAG variable. By
stripping the date of we match what our makefile does.
2020-09-03 17:19:10 +03:00
Markus Lehtonen
ff5e36be0d scripts: drop special image name handling from test-e2e.sh
Let's just rely on our Makefile everywhere. Plus the previous version
was essentially broken as _PULL_BASE_REF env variable was not available
in testing jobs.
2020-09-03 16:01:36 +03:00
Markus Lehtonen
799da7cbb9 cloudbuild.yaml: build using make
Use make for building our container image (through a new push-image.sh
script) instead of building directly with docker. This way we avoid the
container image tag naming hassle where we build and push the image on
"image-pushing" prow job and need to be able to reliably re-create the
same tag on the "testing" side for end-to-end tests. This also has the
advantage that the same mechanism (make) is used everywhere, i.e. in
image-pushing, testing and locally.
2020-09-03 16:01:36 +03:00
Markus Lehtonen
5974b4d905 scripts: fix verify.sh
Modify PATH in order to make sure that golangci-lint is found.
2020-09-03 15:02:35 +03:00
Markus Lehtonen
05f5d2a88a scripts/test-infra: add script for end-to-end testing
Add a new script for running end-to-end tests. Implement a Makefile rule
for polling the container image. We need this for prow as there is no
other way for syncing the jobs (e2e postsubmit job must wait until the
image-pushing job has built and published the image). This is
implemented in the Makefile as all the image-related variables are also
defined/available there.

Also, adapt the TravisCI config to use the new script.
2020-08-27 14:48:37 +03:00
Markus Lehtonen
33eabbdd22 scripts: add scripts for kubernetest test-infra jobs
A step towards moving away from TravisCI.
2020-08-11 15:55:31 +03:00