redhat-edge-computing / blueprint-industrial-edge Goto Github PK
View Code? Open in Web Editor NEW3 nodes cluster blueprint for Industrial Edge usecases
3 nodes cluster blueprint for Industrial Edge usecases
Opening the issue here because issues can not be opened in kni-installer, and secondly because I don't have a clue of how to do it in Gerrit....
I am having some troubles compiling knictl, it seems the go package package gerrit.akraino.org/kni/installer/cmd
can not be found:
$ go env GOPATH
/home/fedora/go
$ git clone https://github.com/akraino-edge-stack/kni-installer.git
Cloning into 'kni-installer'...
remote: Enumerating objects: 46, done.
remote: Counting objects: 100% (46/46), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 2554 (delta 13), reused 34 (delta 1), pack-reused 2508
Receiving objects: 100% (2554/2554), 5.39 MiB | 8.41 MiB/s, done.
Resolving deltas: 100% (834/834), done.
$ cd kni-installer
$ make build
Building knictl with /home/fedora/go:/home/fedora/mycode/kni-installer/vendor:/home/fedora/mycode/kni-installer:/home/fedora/go to knictl.tar.gz
main.go:17:8: cannot find package "gerrit.akraino.org/kni/installer/cmd" in any of:
/usr/lib/golang/src/gerrit.akraino.org/kni/installer/cmd (from $GOROOT)
/home/fedora/go/src/gerrit.akraino.org/kni/installer/cmd (from $GOPATH)
/home/fedora/mycode/kni-installer/vendor/src/gerrit.akraino.org/kni/installer/cmd
/home/fedora/mycode/kni-installer/src/gerrit.akraino.org/kni/installer/cmd
/home/fedora/go/src/gerrit.akraino.org/kni/installer/cmd
$ go get
package gerrit.akraino.org/kni/installer/cmd: unrecognized import path "gerrit.akraino.org/kni/installer/cmd" (parse https://gerrit.akraino.org/kni/installer/cmd?go-get=1: no go-import meta tags ())
So I made it work by cloning the installer repo manually inside src/...:
$ cd kni-installer
$ mkdir -p src/gerrit.akraino.org/kni/installer
$ git clone "https://gerrit.akraino.org/r/kni/installer" src/gerrit.akraino.org/kni/installer/
Cloning into 'src/gerrit.akraino.org/kni/installer'...
remote: Counting objects: 10, done
remote: Finding sources: 100% (9/9)
remote: Total 2554 (delta 0), reused 2552 (delta 0)
Receiving objects: 100% (2554/2554), 5.46 MiB | 1.58 MiB/s, done.
Resolving deltas: 100% (777/777), done.
$ make build
Building knictl with /home/fedora/go:/home/fedora/mycode/kni-installer/vendor:/home/fedora/mycode/kni-installer:/home/fedora/go to knictl.tar.gz
tar -czvf knictl.tar.gz "knictl" plugins utils
knictl
plugins/
plugins/kustomize/
plugins/kustomize/plugin/
plugins/kustomize/plugin/kni.akraino.org/
plugins/kustomize/plugin/kni.akraino.org/v1alpha1/
plugins/kustomize/plugin/kni.akraino.org/v1alpha1/siteconfig/
plugins/kustomize/plugin/kni.akraino.org/v1alpha1/siteconfig/SiteConfig
utils/
utils/install_dependencies.sh
utils/prep_host.sh
[tapatel@myfedora .kni]$ oc get project | grep argocd
argocd Terminating
[tapatel@myfedora .kni]$
[tapatel@myfedora .kni]$
[tapatel@myfedora .kni]$ oc get route -n argocd
No resources found in argocd namespace.
[tapatel@myfedora .kni]$
[tapatel@myfedora .kni]$
[tapatel@myfedora .kni]$ oc get pods -n argocd
No resources found in argocd namespace.
[tapatel@myfedora .kni]$ oc get projects | grep manu
manuela-stormshift-line-dashboard Active
manuela-stormshift-machine-sensor Active
manuela-stormshift-messaging Active
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.