OpenLiberty / guide-okd

(Deprecated) A guide on how to use Minishift to deploy microservices to an Origin Community Distribution of Kubernetes (OKD) cluster.
https://openliberty.io/guides/okd.html
2 stars 2 forks source link

Peer Review #6

Closed NimG98 closed 4 years ago

NimG98 commented 4 years ago

Peer Review: review to be done by a peer member.

Peer Testing: tests to be done by a peer member.

Guide’s contributor’s (if available, otherwise peer tester’s) responsibility:

Peer Tester’s responsibility:

NimG98 commented 4 years ago

Building the system microservice

Logging in to the cluster

Building the Docker image

Deploying the system microservice

Deploying the inventory microservice

Testing the microservices

NimG98 commented 4 years ago

Note:

NimG98 commented 4 years ago

End-to-end test:

NimG98 commented 4 years ago
NimG98 commented 4 years ago
NimG98 commented 4 years ago
MaiHameed commented 4 years ago
  • [ ] license years are off

    • a lot of the files look like they were taken from old guides, and are either the same or were modified
    • if they were never changed, they should have that old year/year-range: e.g.201X
    • if they were modified, then it should say e.g. 201X, 2019

Already talked to Gilbert about this, since it's a new guide, it isn't wrong to have all the licence years at 2019, even if they're identical to applications from other guides.

MaiHameed commented 4 years ago
  • [ ] need to use:

    • ideal pom
    • latest LMP (3.1)

Addressing in upcoming PR, from mai/simple-pom branch

MaiHameed commented 4 years ago
  • [ ] add guide to draft automation tests

Note:

  • tested travisTest.sh and it is failing locally. The travis environment has openshift project as myproject. When i run the travisTest locally, it build's docker image using the specified oc project, which in my case is nim-project: docker build -t `oc registry info`/`oc project -q`/system:test system/. So it ends up becoming docker build -t 172.30.1.1:5000/nim-project/system:test system/. But the test.yaml has myproject as the project name, and hence the failure.
  • Maybe make the oc project name in test.yaml match oc project -q, or remember to make sure the travis environment never changes the openshift project, otherwise it will cause failures

Regarding this, when Travis starts a test, it'll automatically use the myproject project since I did not specify for it to create a specific project name, therefore the test.yaml file is already configured to use the myproject name. I already tested and ensured everything worked before merging the CI tests in a previous PR, so if you retry the script locally with the myproject project name, everything will (or should) run as expected with no errors.

MaiHameed commented 4 years ago

hotspots in yaml file are highlighting extra blank lines below

UI issue, they're already aware, I can't fix it.

MaiHameed commented 4 years ago

Issues that weren't addressed were moved to #10, everything else in here was addressed, closing.