Community...  here you go.... Fabric 8 latest release running on CDK 2.0
beta 4....

---------

Alberts-MacBook-Pro:rhel-ose alwong$ vagrant ssh
[vagrant@localhost ~]$ oc config use-context
default/10-0-2-15:8443/system:admin
switched to context "default/10-0-2-15:8443/system:admin".
[vagrant@localhost ~]$ oc login -u system:admin
Logged into "https://10.0.2.15:8443"; as "system:admin" using existing
credentials.

You have access to the following projects and can switch between them with
'oc project <projectname>':

  * default (current)
  * openshift
  * openshift-infra
  * test

Using project "default".
[root@localhost ~]# oc whoami
system:admin
[vagrant@localhost ~]$ oadm policy add-cluster-role-to-user cluster-admin
admin
[vagrant@localhost ~]$ sudo su -
[root@localhost ~]# yum install wget
[root@localhost ~]# wget
https://github.com/fabric8io/gofabric8/releases/download/v0.3.27/gofabric8-0.3.27-linux-amd64.tar.gz
[root@localhost ~]# tar zxvf gofabric8-0.3.27-linux-amd64.tar.gz
[root@localhost ~]# oc whoami
system:admin
[root@localhost ~]# ./gofabric8 deploy -d cdk.vm -y
[root@localhost ~]# ./gofabric8 secrets -y

                                   Z Z        Z
                                  Z Z        Z
                                  Z Z        Z
                                  Z Z        Z
                  ZZZZZZZZZZZZ    Z Z        Z
                  Z      Z Z Z    Z Z        Z
                  Z      Z Z Z    ZZZZZZZZZZZZ
                  Z      Z Z Z                    ZZZZZZZZZZZZ
                  Z      Z Z Z                    Z Z Z      Z
                  Z      Z Z Z                    Z Z Z      Z
                  Z          Z                    Z Z Z      Z
                                                  Z Z Z      Z
                  Z                               Z Z Z      Z
                    Z                             ZZZZZZZZZZZZ
              ZZZ  ZZZ
               ZZZZZZZ
                 ZZZZZZZ                                   Z    Z
                 :  ZZZZZ          Z ZZZZZZZZ             ZZZ  ZZ
                 Z  .ZZZZZ        ZZZZZ$    ZZZ          ZZZZZZZ
                   Z  ZZZZZZZ$ZZZZZZZZZZZZZZZZZZ        ZZZZZZZ
                    ZZ  ZZZZZZZ IIIZZZZZZZZZZZZZZZ     ZZZZZZZZ
                      ZZ ,ZZZZZ, ZZZZZZZZZZ+    ZZZZ  ZZZZZZZ
                         ZZZZZZZ  ZZ:::::::::IZZZZZZZZZZZZZZ
                            ZZZZ  Z:           ,:::ZZZZZZ
                            ZZZZI Z:       I.     :?ZZ
                             ZZZZ Z:       II     :ZZ
                             ZZZZ Z:    ,IIII     :ZZ
                             ZZZZ Z:    IIII      :ZZ
                             ZZZZZZ:    II.I      :ZZ
                             ZZZZZZI:   II III   .:ZZ
                             ZZZZZZZZ::::::::::::?ZZ
                             ZZZZZZZZZZZZZZZZZZZZZZZ
                                ZZZZZZZZZZZZZZZZZZZZ
                                ZZZZZZZ     ZZZZZZ
                                ZZZZZZZ     ZZZZZZ
                                ZZZ ZZZ     ZZZZZZ
                                ZZZ ZZZZ+:::ZZZZZZZ:::::
                         :::::::::ZZZZZZZZ::::ZZZZZZ=:
                               ::::::::::::::::::::::

                  ZZZZ         ZZ             ZZ          ZZZZZZ
                  ZZ           ZZ             ZZ         ZZZ  ZZZ
                 ZZZZZ ZZZZZZ  ZZZZZZ  ZZ ZZZ ZZ  ZZZZZZ ZZ   ZZZ
                  ZZ       ZZZ ZZ   ZZ ZZZZZZ ZZ ZZZ     ZZZZZZZ
                  ZZ   ZZZZZZZ ZZ   ZZ ZZZ    ZZ ZZ      ZZ   ZZZ
                  ZZ   ZZ  ZZZ ZZ   ZZ ZZZ    ZZ ZZ      ZZ   ZZZ
                  ZZ   ZZZZZZZ ZZZZZZZ ZZZ    ZZ ZZZZZZZ ZZZZZZZZ

Setting up secrets on your OpenShift installation at https://10.0.2.15:8443
in namespace default

Importing secret: jenkins-hub-api-token/hub
Warning: open jenkins-hub-api-token/hub: no such file or directory
jenkins-hub-api-token
secret..................................................✔
Importing secret: jenkins-docker-cfg/config.json
Warning: open jenkins-docker-cfg/config.json: no such file or directory
jenkins-docker-cfg
secret.....................................................✔
Importing secret: jenkins-git-ssh/ssh-key
Importing secret: jenkins-git-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key
pair
jenkins-git-ssh
secret........................................................✔
Importing secret: jenkins-master-ssh/ssh-key
Importing secret: jenkins-master-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key
pair
jenkins-master-ssh
secret.....................................................✔
Importing secret: jenkins-ssh-config/config
Warning: open jenkins-ssh-config/config: no such file or directory
jenkins-ssh-config
secret.....................................................✔
Importing secret: jenkins-release-gpg/gpg.conf
Warning: open jenkins-release-gpg/gpg.conf: no such file or directory
Importing secret: jenkins-release-gpg/secring.gpg
Warning: open jenkins-release-gpg/secring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/pubring.gpg
Warning: open jenkins-release-gpg/pubring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/trustdb.gpg
Warning: open jenkins-release-gpg/trustdb.gpg: no such file or directory
jenkins-release-gpg
secret....................................................✔
Importing secret: jenkins-maven-settings/settings.xml
Warning: open jenkins-maven-settings/settings.xml: no such file or directory
Importing secret: Using deafult maven settings from
https://raw.githubusercontent.com/fabric8io/gofabric8/master/default-secrets/mvnsettings.xml
jenkins-maven-settings
secret.................................................✔
Importing secret: gerrit-users-ssh-keys/id-jenkins-rsa.pub
No secrets found on local filesystem, generating SSH public key
Importing secret: gerrit-users-ssh-keys/id-sonar-rsa.pub
No secrets found on local filesystem, generating SSH public key
gerrit-users-ssh-keys
secret..................................................✔
Importing secret: gerrit-admin-ssh/ssh-key
Importing secret: gerrit-admin-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key
pair
gerrit-admin-ssh
secret.......................................................✔
Importing secret: jenkins-release-gpg/gpg.conf
Warning: open jenkins-release-gpg/gpg.conf: no such file or directory
Importing secret: jenkins-release-gpg/secring.gpg
Warning: open jenkins-release-gpg/secring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/pubring.gpg
Warning: open jenkins-release-gpg/pubring.gpg: no such file or directory
Importing secret: jenkins-release-gpg/trustdb.gpg
Warning: open jenkins-release-gpg/trustdb.gpg: no such file or directory
jenkins-release-gpg
secret....................................................✘ secrets
"jenkins-release-gpg" already exists
Importing secret: jenkins-maven-settings/settings.xml
Warning: open jenkins-maven-settings/settings.xml: no such file or directory
Importing secret: Using deafult maven settings from
https://raw.githubusercontent.com/fabric8io/gofabric8/master/default-secrets/mvnsettings.xml
jenkins-maven-settings
secret.................................................✘ secrets
"jenkins-maven-settings" already exists
Importing secret: jenkins-hub-api-token/hub
Warning: open jenkins-hub-api-token/hub: no such file or directory
jenkins-hub-api-token
secret..................................................✘ secrets
"jenkins-hub-api-token" already exists
Importing secret: jenkins-docker-cfg/config.json
Warning: open jenkins-docker-cfg/config.json: no such file or directory
jenkins-docker-cfg
secret.....................................................✘ secrets
"jenkins-docker-cfg" already exists
Importing secret: jenkins-git-ssh/ssh-key
Importing secret: jenkins-git-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key
pair
jenkins-git-ssh
secret........................................................✘ secrets
"jenkins-git-ssh" already exists
Importing secret: jenkins-master-ssh/ssh-key
Importing secret: jenkins-master-ssh/ssh-key.pub
No secrets found on local filesystem, generating SSH public and private key
pair
jenkins-master-ssh
secret.....................................................✘ secrets
"jenkins-master-ssh" already exists
Importing secret: jenkins-ssh-config/config
Warning: open jenkins-ssh-config/config: no such file or directory
jenkins-ssh-config
secret.....................................................✘ secrets
"jenkins-ssh-config" already exists
[root@localhost ~]# ./gofabric8 validate

                                   Z Z        Z
                                  Z Z        Z
                                  Z Z        Z
                                  Z Z        Z
                  ZZZZZZZZZZZZ    Z Z        Z
                  Z      Z Z Z    Z Z        Z
                  Z      Z Z Z    ZZZZZZZZZZZZ
                  Z      Z Z Z                    ZZZZZZZZZZZZ
                  Z      Z Z Z                    Z Z Z      Z
                  Z      Z Z Z                    Z Z Z      Z
                  Z          Z                    Z Z Z      Z
                                                  Z Z Z      Z
                  Z                               Z Z Z      Z
                    Z                             ZZZZZZZZZZZZ
              ZZZ  ZZZ
               ZZZZZZZ
                 ZZZZZZZ                                   Z    Z
                 :  ZZZZZ          Z ZZZZZZZZ             ZZZ  ZZ
                 Z  .ZZZZZ        ZZZZZ$    ZZZ          ZZZZZZZ
                   Z  ZZZZZZZ$ZZZZZZZZZZZZZZZZZZ        ZZZZZZZ
                    ZZ  ZZZZZZZ IIIZZZZZZZZZZZZZZZ     ZZZZZZZZ
                      ZZ ,ZZZZZ, ZZZZZZZZZZ+    ZZZZ  ZZZZZZZ
                         ZZZZZZZ  ZZ:::::::::IZZZZZZZZZZZZZZ
                            ZZZZ  Z:           ,:::ZZZZZZ
                            ZZZZI Z:       I.     :?ZZ
                             ZZZZ Z:       II     :ZZ
                             ZZZZ Z:    ,IIII     :ZZ
                             ZZZZ Z:    IIII      :ZZ
                             ZZZZZZ:    II.I      :ZZ
                             ZZZZZZI:   II III   .:ZZ
                             ZZZZZZZZ::::::::::::?ZZ
                             ZZZZZZZZZZZZZZZZZZZZZZZ
                                ZZZZZZZZZZZZZZZZZZZZ
                                ZZZZZZZ     ZZZZZZ
                                ZZZZZZZ     ZZZZZZ
                                ZZZ ZZZ     ZZZZZZ
                                ZZZ ZZZZ+:::ZZZZZZZ:::::
                         :::::::::ZZZZZZZZ::::ZZZZZZ=:
                               ::::::::::::::::::::::

                  ZZZZ         ZZ             ZZ          ZZZZZZ
                  ZZ           ZZ             ZZ         ZZZ  ZZZ
                 ZZZZZ ZZZZZZ  ZZZZZZ  ZZ ZZZ ZZ  ZZZZZZ ZZ   ZZZ
                  ZZ       ZZZ ZZ   ZZ ZZZZZZ ZZ ZZZ     ZZZZZZZ
                  ZZ   ZZZZZZZ ZZ   ZZ ZZZ    ZZ ZZ      ZZ   ZZZ
                  ZZ   ZZ  ZZZ ZZ   ZZ ZZZ    ZZ ZZ      ZZ   ZZZ
                  ZZ   ZZZZZZZ ZZZZZZZ ZZZ    ZZ ZZZZZZZ ZZZZZZZZ

Validating your OpenShift installation at https://10.0.2.15:8443 in
namespace default

Service
account...............................................................✔
Console.......................................................................✔
Router........................................................................✔
Templates.....................................................................✔
SecurityContextConstraints....................................................✔
PersistentVolumeClaims........................................................✔
[root@localhost ~]# ./gofabric8 pull cd-pipeline
[root@localhost ~]# vi
/var/lib/origin/openshift.local.config/master/master-config.yaml

!!!!!!!  Make sure add the following
!!!!!!!  corsAllowedOrigins:
!!!!!!!         - .*
!!!!!!!

[root@localhost ~]# systemctl restart openshift

!!!!!!! Log into http://fabric8.cdk.vm
!!!!!!! Run the cd-pipeline.   Make sure that you change all
hostname/domain defaults to cdk.vm
!!!!!!! Follow the video to do the CI/CD demo -
https://blog.fabric8.io/polyglot-pipelines-dea0175a4daa#.tqmrs8tku

On Thu, Mar 3, 2016 at 2:16 PM, Burr Sutter <[email protected]> wrote:

> I believe Christian P has made an attempt, I love the idea, please let us
> know how it goes.
>
> Sent from my iPhone
>
> On Mar 3, 2016, at 4:39 PM, Albert Wong <[email protected]> wrote:
>
> I just got the latest Fabric8 video working on my own laptop using the
> FAbric8 vagrant image (
> https://blog.fabric8.io/polyglot-pipelines-dea0175a4daa#.tqmrs8tku).
> Has anyone tried to get it running on the Red Hat Container Development Kit
> (CDK)?
>
> I wanted to get tips/tricks I should know about before I do it.  If not,
> I'll write something up if no one has done it already.
>
> --
> Albert T. Wong 黃頌言 | Solution Architect
> Red Hat
> +1 949-689-6412
> http://linkd.in/1qGS9XC, @alberttwong, https://url.corp.redhat.com/alwong
>
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
> _______________________________________________
> Container-tools mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/container-tools
>
>


-- 
Albert T. Wong 黃頌言 | Solution Architect
Red Hat
+1 949-689-6412
http://linkd.in/1qGS9XC, @alberttwong, https://url.corp.redhat.com/alwong

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
_______________________________________________
Container-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/container-tools

Reply via email to