Paweł Krupa
9bbd18a7c8
Merge pull request #3504 from paulfantom/go1.15
...
Switch to go 1.15
2020-09-15 11:35:34 +02:00
paulfantom
2676aa022c
switch to golang 1.15
2020-09-15 09:14:40 +02:00
paulfantom
fc44e7f072
scripts: fix pushing tagged images by using github ref and push mutable 'master' tag
2020-09-14 16:31:22 +02:00
paulfantom
a1361008ff
.github/workflows: add image building stage and unify workflows
...
additionally added myself as github action code owner for future PR
reviews and swapped travis CI badge in README.md for GitHub actions one
2020-09-08 19:54:20 +02:00
paulfantom
94d0bd7e93
remove travis config and helper scripts
2020-09-08 16:02:17 +02:00
Matthias Rampke
8d876ff138
Step into the API package for generating CRDs and code
...
`controller-gen` does not work across package boundaries. Run it from
inside the API package directory to work around this.
Signed-off-by: Matthias Rampke <matthias@rampke.de >
2020-08-28 13:41:47 +00:00
paulfantom
14bee2c9e9
secondary stage to push images to quay.io/coreos
2020-08-05 18:29:52 +02:00
paulfantom
67780ccc45
repository migration to prometheus-operator organization
2020-08-05 13:13:46 +02:00
Arno Uhlig
35fd2dd9e4
rename blackbox to probe
...
Signed-off-by: Arno Uhlig <arno.uhlig@sap.com >
2020-06-27 20:33:03 +02:00
Arno Uhlig
536493a8be
blackboxMonitor
...
Signed-off-by: Arno Uhlig <arno.uhlig@sap.com >
2020-06-27 20:30:48 +02:00
Paweł Krupa
af8e08b61f
Refactor tooling management ( #3176 )
2020-05-26 08:34:04 +02:00
Damien Grisonnet
fb9d660fa0
*: remove v1beta1 crds
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-05-04 09:33:40 +02:00
Paweł Krupa
c6a3cfb6de
Workaround for https://github.com/docker/for-linux/issues/396
...
`docker manifest` command needs access to /etc/docker/cert.d which is prevented by default
2020-04-29 16:14:48 +02:00
Frederic Branczyk
d1c3b3f6e6
Merge pull request #3177 from paulfantom/cross_build
...
Multi-arch images (adding ARMv7 & ARM64)
2020-04-29 12:40:32 +02:00
Damien Grisonnet
8676a98f33
scripts: generate bundle with v1beta1 CRDs
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-29 11:10:49 +02:00
Damien Grisonnet
08d02c8c58
scripts: add script to generate crds
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-29 11:10:49 +02:00
paulfantom
7b15bb3f0c
scripts: build container images for multiple architectures
2020-04-28 16:18:44 +02:00
Damien Grisonnet
9a862461f8
bundle.yaml: add Custom Resource Definitions
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-27 15:08:05 +02:00
Damien Grisonnet
eb0344f82c
pkg,scripts: remove bindata
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-23 13:58:39 +02:00
Simon Pasquier
6225c4c5fb
Revert #3107 + Bump to k8s v1.18.0 and minikube v1.19.2 ( #3132 )
...
* scripts: bump to k8s v1.18.0 and minikube v1.19.2
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
* Revert "update controller-tools to v0.2.8"
This reverts commit d145e1174d .
2020-04-14 17:01:43 +02:00
Paul Gier
75e13bcd15
update go-bindata to v3.1.3
...
This brings the version of go-bindata in sync between the local version
and the version in the Docker container. And also updates to the
latest version which has proper module versioning.
2020-03-31 13:55:20 -05:00
Paul Gier
280b222cb1
update jsonnet-bundler to v0.3.1
2020-03-30 15:41:22 -05:00
Paweł Krupa
04eb98361f
scripts/tooling: use latest and greatest tooling binaries ( #3037 )
...
- jsonnet 0.15.0
- promtool 2.16.0
- golanglint 1.23.6
- jsonnet-bundler 0.3.1
2020-03-12 11:46:43 +01:00
Paul Gier
5fbb4f93b5
update jsonnetfile.json for v0.2.0 compat
...
jsonnet bundler v0.2.0 no longer accepts a local path to a git
repository.
2020-02-06 14:32:17 -06:00
paulfantom
90c3ad5985
*: incorporate po-lint into po-tooling image and remove references to prometheus-operator-lint image
2020-01-29 16:15:33 +01:00
paulfantom
8f928cc6c7
scripts/tooling: fix jsonnet version variable by removing 'v' prefix where needed
2020-01-29 14:53:43 +01:00
paulfantom
98e688e1ad
scripts: move tooling Dockerfile to tooling dir
2020-01-28 18:29:44 +01:00
paulfantom
9752b437a2
scripts/jsonnet: update tooling container
...
* bump golang to 1.13
* bump promtool to 2.15.2
* lock jsonnet-bundler on version 0.2.0
* add po-lint build
2020-01-28 18:27:34 +01:00
Erki Esken
910cdbecac
lint: add operator lint command as separate container image
...
Build and publish the lint executable as separate image, useful to have in CI
pipelines to validate the CRD yaml files.
2020-01-07 10:53:31 +02:00
Paul Gier
1384d55152
use generated CRD yaml for runtime CRD deployment
...
Generate bindata.go from the generated crd yaml and then
unmarshal the bindata yaml into CRD structs at runtime.
This removes the need for openapi-gen.
2019-11-20 21:54:33 -06:00
Paul Gier
5dbb62c8d9
add deepcopy generation using controller-gen
...
Removes dependency on deepcopy-gen command
2019-11-20 15:35:23 -06:00
Paul Gier
ce72171c48
use kubebuilder controller-gen for creating CRD yaml files
...
Replaces the custom po-crdgen command
2019-11-20 15:35:04 -06:00
paulfantom
1603386c9c
scripts/jsonnet: reduce jsonnet-ci image size
2019-11-01 16:05:41 +01:00
paulfantom
f50ded49ab
scripts: fail earlier in CI when detected a problem
2019-10-11 14:48:46 +02:00
Frederic Branczyk
779b0b0989
scripts/jsonnet: Bump jsonnet and golangci-lint versions
2019-09-30 14:06:00 +02:00
Bartek Plotka
71d313cd25
Cleaned up travis yaml.
...
It's bit more verbose when you see conditional above the script.
Signed-off-by: Bartek Plotka <bwplotka@gmail.com >
2019-09-20 00:31:09 +01:00
paulfantom
9c0ea15eaa
scripts/jsonnet: revert optimizations in jsonnet-ci image
...
Since this image is use only by CI systems I don't see much benefit in
optimizing its size and number of layers. In this case it only clouds
Dockerfile readability. Additionally it breaks already established
CI pipelines.
2019-09-02 10:41:19 +02:00
Sergiusz Urbaniak
5f5c1782cf
scripts/jsonnet/Dockerfile: re-enable python-yaml
...
... as it was removed https://github.com/coreos/prometheus-operator/pull/2739 .
2019-09-02 09:55:30 +02:00
Kemal Akkoyun
f01c96dbcf
Add golangci-lint and promtool to jsonnet-ci
2019-08-29 15:46:28 +02:00
Lili Cosic
f4fe83a583
scripts/create-minikube.sh: Bump k8s to v1.14.5
2019-08-12 16:18:25 +02:00
Lili Cosic
0ea2526fda
scripts: Bump minikube version
2019-07-24 09:28:55 +02:00
Frederic Branczyk
d01d324a95
Replace bundle when generating
2019-06-19 21:23:31 +02:00
Frederic Branczyk
dd8e446e3e
jsonnet: Bump manifest
2019-06-19 20:19:06 +02:00
paulfantom
d9ee903ffb
scripts/jsonnet: use go modules only for go-jsonnet
2019-06-05 14:39:19 +02:00
paulfantom
96a7e7a320
scripts/jsonnet: enable path@version notation in go get
2019-06-05 14:10:37 +02:00
paulfantom
933e99bd5c
update jsonnet container to use go-jsonnet and jsonnetfmt
2019-06-05 11:31:37 +02:00
paulfantom
590e61e713
scripts/jsonnet: add go-bindata to satisfy openshift/cmo requirements; add /.cache to allow 'go get' from anywhere
2019-05-27 17:05:16 +02:00
paulfantom
a3030cda38
scripts/jsonnet: add python-yaml
2019-05-16 14:43:48 +02:00
paulfantom
fffe8d5494
scripts/jsonnet: add gawk to jsonnet container image
2019-05-16 13:34:05 +02:00
paulfantom
b602243f57
hack: *: remove hacky shell scripts and move generate dir to scripts/
2019-05-14 17:11:34 +02:00