* Set Go version in go.mod
go mod edit -go=1.19
* Fix formatting issues reported by gofmt
* Fix SA1019 check (usage of deprecated "io/ioutil"), reported by golangci-lint
SA1019: "io/ioutil" has been deprecated since Go 1.16:
As of Go 1.16, the same functionality is now provided by package io or package os,
and those implementations should be preferred in new code.
See the specific function documentation for details. (staticcheck)
* Use Go 1.19 in our Dockerfiles
* Use Go 1.19 in the rpm-prepare.sh script
* Update the tag for the IBM Cloud CI image
* Update odo to use go 1.18
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* Update golangci-lint version in Makefile
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* Use go 1.18, not go 1.19
Erroneously I had used go 1.19 at various places.
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* Rearrange imports; fix golangci-lint errors
Fixed a bunch of golangci-lint errors like below:
`File is not `gofmt`-ed with `-s``
using the command: `golangci-lint run --fix`
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* Use go install instead of go get
This is because with go 1.18, `go get` behaves as `go get -d` by
default. Which means that it will only download, but not install.
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* update go version to 1.17
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* update go version to 1.17 and fix failure
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
* Building redistributable only on x86_64
We dont need redistributable package building
on multiple architectures as it is happening right
now (case in point internal scratch build)
Eg:
- openshift-odo-redistributable-1.2.3-1.el8.s390x.rpm
- openshift-odo-redistributable-1.2.3-1.el8.ppc64le.rpm
- openshift-odo-redistributable-1.2.3-1.el8.x86_64.rpm
We only need last one as individual rpms for specific architectures
is fine but not the redistributable ones.
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Updating golang version to 1.13
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding oc binary to bin path for multi stage test infra
* Added file permission locally and excluding it from docker file
* Created different dockerfile to avoid master break and proceed with multistage changes
* Setting golang version uniformly accross repo and updating docs
- All golang version references now uniformly updated to 1.12
- Adding all golang version references to development.adoc
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding golang warning to admonition block
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Removing unnessasary space
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding back warning as github does not render admonition in normal view
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Fixing the warning to look better
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Fixing up the list title
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Fixing up admonishments
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Fixing commits as per @cdrage comments
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding scripts to handle initialization of cluster for openshift CI.
This also fixes couple of usernames on the side
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding http-tools to build root so we can use htpasswd
* Adding login as developer and creation of first project
* Moving script to ./scripts and renaming makefile command
* Renaming scripts to incude tests in configure cluster script
* Making script more configurable
* Adding namespace to secret commands.
* Fixing missing username
* Simplifying script by removing unnessasary variables
* Adding TODO and slightly reduction wait time for auth config
* Making assets dir overwritable
* Making configure script executable.
* Fixing message for not existing kubeconfig
* Redirecting out and err of commands where we are not interested in msg
* Updating to 18 secs default sleep which can be overridden
* Adding workaround for missing wildfly in OpenShift 4.0
* Adding basic ci docs for prow
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding our own base image to test on Openshift CI
Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>
* Adding docs and updating base image