32 Commits

Author SHA1 Message Date
Armel Soro
6d83e4043b Fix issue with OpenShift CI Interop tests failing due to error with glibc when executing any oc command (#7243)
* Use build root tag compatible with oc 4.16 (and below)

For reference, the following command was used to list all the image
tags:

```
skopeo list-tags docker://registry.ci.openshift.org/openshift/release
```

* Update README.md for build root image
2024-05-22 08:08:28 +00:00
Armel Soro
4d6a785cff Review and update OWNERS files 2023-10-23 14:29:20 +02:00
Armel Soro
df07ac8a24 Clean up OWNERS files (#6997)
This makes sure the list is accurate, to avoid requesting PR reviews
from people no longer maintaining the project.
Ideally, I would put a GitHub team,
but this does not seem to be supported [1].
It can be done via an additional OWNERS_ALIASES file [2],
but this is yet to be tested.

[1] https://www.kubernetes.dev/docs/guide/owners/
[2] https://www.kubernetes.dev/docs/guide/owners/#owners_aliases
2023-07-21 14:27:24 +02:00
Armel Soro
7b9f214299 Bump Go to 1.19 (#6586)
* 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
2023-02-16 09:03:48 -05:00
Dharmit Shah
f062c11a11 Update odo to use go 1.18 (#6166)
* 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>
2022-11-09 05:31:38 -05:00
Parthvi Vala
ce3dc54335 Update OWNERS files (#5808)
* Update OWNERS files

* Update tests/OWNERS
2022-06-13 03:35:19 -04:00
Anand Kumar Singh
098389b027 update go version to use go 1.17 (#5497)
* 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>
2022-04-29 12:20:35 -04:00
Tomas Kral
5f79c542a8 openshift/odo -> redhat-developer/odo (#5268)
* openshift/odo -> redhat-developer/odo

* update more links to redhat-developer
2021-12-01 16:38:34 +01:00
Dharmit Shah
43c72742e9 Remove Priti from OWNERS files (#5170) 2021-10-26 10:13:25 +00:00
Dharmit Shah
fd029225e6 Update buildroot to 1.16 (#5154)
* Update buildroot to 1.16

* Update go.mod to use go 1.16

* Ran go mod vendor for failing test

* Update 1.15 reference at more places
2021-10-20 12:03:14 +00:00
Anand Kumar Singh
f9cbdc4d98 Update go 1.15 (#4852)
* updating golang version 1.15

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* update go.mod

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
2021-06-28 16:36:39 -04:00
Girish Ramnani
66935fca21 Remove Dockerfile.travislogin as its not being used anywhere (#4647) 2021-04-21 08:48:33 -04:00
Priti Kumari
035fc9a746 Changing golang url as openshift has moved all jobs from api.ci (#4551) 2021-03-24 23:22:24 -07:00
Girish Ramnani
70116e82c5 update the owner files (#4171)
* updated the owner files

* add prietyc123 and rnapoles-rh in some owner files
2020-10-30 18:40:11 +01:00
Girish Ramnani
53fd14e764 Revert "Updating golang version to 1.15 (#4121)" (#4132)
This reverts commit 436015d028.
2020-10-23 04:24:53 -04:00
Girish Ramnani
436015d028 Updating golang version to 1.15 (#4121) 2020-10-21 17:07:30 -04:00
Amit Rout
3f786a350f Fixing rvm error and Docker file format for travis login (#3813)
* Fixing rvm error and Docker file format for travis login

* Removed duplicate dependencies
2020-08-24 12:48:32 -04:00
Amit Rout
0f4abad232 Docker test container for travis login (#3732) 2020-08-21 01:30:39 +02:00
Mohammed Ahmed
46b512ee21 Building redistributable only on x86_64 and updating golang version to 1.13 (#3464)
* 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>
2020-07-08 22:59:10 +02:00
Priti Kumari
79bba03138 Adding oc from build to container image (#3418) 2020-06-30 16:59:53 +05:30
Amit Rout
b83cf5bb3c Updating script path in Dockerfile for multistage test (#3412) 2020-06-24 18:25:06 +05:30
Priti Kumari
4b29931a83 Adding oc binary to bin path for multi stage test infra (#3362)
* 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
2020-06-23 19:03:05 -04:00
Girish Ramnani
c7dbe2c882 Revert "Adding oc to bin path for multistage testing (#3351)" (#3360)
This reverts commit fa9f7b94a5.
2020-06-16 14:54:31 +05:30
Priti Kumari
fa9f7b94a5 Adding oc to bin path for multistage testing (#3351) 2020-06-16 04:18:42 -04:00
Priti Kumari
398cacd36f Removing unused secret directory (#3290) 2020-06-09 05:16:32 +02:00
Mohammed Ahmed
fb83151053 Setting golang version uniformly accross repo and updating docs (#3204)
* 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>
2020-05-21 18:14:13 +02:00
Tomas Kral
4f11c10387 add more OWNERS files (#2886) 2020-04-17 01:06:44 -07:00
Priti Kumari
c5d8e7557e Go version and base image update on Openshift CI (#2830) 2020-04-07 13:16:40 +02:00
Priti Kumari
8d6422d8b6 Create a secret directory in docker file (#2718) 2020-03-13 09:00:25 -04:00
Tomas Kral
6bd0d73dc6 redhat-developer/odo -> openshift/odo (#1505)
* redhat-developer/odo -> openshift/odo

* gofmt

* add CircleCI tests temporary back to TravisCI
2019-03-21 17:36:28 +01:00
Mohammed Ahmed
631b53d2a3 Adding scripts to handle initialization of cluster for openshift CI. (#1441)
* 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>
2019-03-13 11:20:34 +05:30
Mohammed Ahmed
afe5d59c2d Adding our own base image to test on Openshift CI (#1437)
* 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
2019-03-07 00:30:30 -08:00