This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rajdavies@robmac:~/dev/projects/go/src/github.com/jenkins-x/godog-jenkins/jx/import$ export JX_INTERACTIVE="true" | |
rajdavies@robmac:~/dev/projects/go/src/github.com/jenkins-x/godog-jenkins/jx/import$ godog | |
Feature: jx import | |
As a developer | |
I need to be able to import an existing directory and have jx setup the CI / CD | |
Scenario: SpringBoot sample application can be imported and built # features/import.feature:5 | |
Given a directory containing a Spring Boot application # import_test.go:89 -> *importTest.aDirectoryContainingASpringBootApplication | |
Using git provider URL github.com | |
Initialized empty Git repository in /private/var/folders/d_/87145mtd3gdbb2c82lb9j4zw0000gn/T/import-239502056/.git/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rajdavies@robmac:~/dev/projects/go/src/github.com/jenkins-x/godog-jenkins/jx/import$ godog | |
Feature: jx import | |
As a developer | |
I need to be able to import an existing directory and have jx setup the CI / CD | |
Scenario: SpringBoot sample application can be imported and built # features/import.feature:5 | |
Given a directory containing a Spring Boot application # import_test.go:89 -> *importTest.aDirectoryContainingASpringBootApplication | |
Using git provider URL github.com | |
Initialized empty Git repository in /private/var/folders/d_/87145mtd3gdbb2c82lb9j4zw0000gn/T/import-008538060/.git/ | |
On branch master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Jenkins X multibranch pipeline | |
In order to provide a basic jenkins-x experience | |
As a project admin | |
I need to be able to import and run a SpringBoot Github project via the multibranch plugin | |
Scenario: a SpringBoot sample application pipeline builds and deploys successfully # features/multibranch.feature:6 | |
Given there is a "bdd-test" jenkins credential # multibranch_test.go:15 -> thereIsAJenkinsCredential | |
When we create a multibranch job called "spring-boot-web-example" # multibranch_test.go:38 -> weCreateAMultibranchJobCalled | |
error creating Job 400 Bad Request | |
And trigger a scan of the job "spring-boot-web-example" # multibranch_test.go:61 -> triggerAScanOfTheJob |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Jenkins X multibranch pipeline | |
In order to provide a basic jenkins-x experience | |
As a project admin | |
I need to be able to import and run a SpringBoot Github project via the multibranch plugin | |
Scenario: a SpringBoot sample application pipeline builds and deploys successfully # features/multibranch.feature:6 | |
Given there is a "bdd-test" jenkins credential # multibranch_test.go:15 -> thereIsAJenkinsCredential | |
When we create a multibranch job called "spring-boot-web-example" # multibranch_test.go:38 -> weCreateAMultibranchJobCalled | |
And trigger a scan of the job "spring-boot-web-example" # multibranch_test.go:61 -> triggerAScanOfTheJob | |
waiting for job http://jenkins.jx.35.205.79.155.nip.io/job/spring-boot-web-example/job/master/ build #1 to finish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
clusters: | |
- cluster: | |
certificate-authority: /Users/rajdavies/.minikube/ca.crt | |
server: https://192.168.64.5:8443 | |
name: minikube | |
contexts: | |
- context: | |
cluster: minikube | |
user: minikube |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rajdavies@robmac:~$ minikube start --vm-driver hyperkit --cpus 4 --memory 4096 | |
Starting local Kubernetes v1.8.0 cluster... | |
Starting VM... | |
E0102 14:15:50.924385 51971 start.go:150] Error starting host: Error creating new host: Driver "hyperkit" not found. Do you have the plugin binary "docker-machine-driver-hyperkit" accessible in your PATH?. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rajdavies@FabMac:~/dev/projects/fabric8-quickstarts/dotnet-example$ oc --namespace developer-jenkins get cm | |
NAME DATA AGE | |
fabric8-online-jenkins 2 1h | |
fabric8-space-link 1 1h | |
jenkins 6 1h | |
rajdavies@FabMac:~/dev/projects/fabric8-quickstarts/dotnet-example$ ^get^describe | |
oc --namespace developer-jenkins describe cm | |
Name: fabric8-online-jenkins | |
Namespace: developer-jenkins | |
Labels: app=fabric8-online-jenkins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oc get pods --all-namespaces | |
NAMESPACE NAME READY STATUS RESTARTS AGE | |
default docker-registry-1-thc3x 1/1 Running 0 2h | |
default persistent-volume-setup-jq72q 0/1 Completed 0 2h | |
default router-1-lxrd2 1/1 Running 0 2h | |
fabric8 che-starter-1-lqq7r 1/1 Running 0 2h | |
fabric8 configmapcontroller-1-d9kjb 1/1 Running 0 2h | |
fabric8 exposecontroller-2-fhr3j 1/1 Running 0 2h | |
fabric8 fabric8-2-2ktwb 1/1 Running 0 2h | |
fabric8 forge-2-1gtdm 1/1 Running 0 2h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I0817 10:15:19.368587 1 exposecontroller.go:46] Using build: '2.3.19' | |
F0817 10:15:19.422596 1 exposecontroller.go:60] failed to read config file: failed to unmarshal config: yaml: unmarshal errors: | |
line 6: cannot unmarshal !!str `${HTTP}` into bool | |
line 7: cannot unmarshal !!str `${TLS_A...` into bool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rajdavies@wlan-227-93:~/dev/runtimes/minishift$ oc get pods | |
NAME READY STATUS RESTARTS AGE | |
che-starter-1-mlrtd 1/1 Running 0 1h | |
configmapcontroller-1-wjkhr 1/1 Running 0 1h | |
exposecontroller-2-370v6 1/1 Running 0 1h | |
fabric8-2-1kqz9 1/1 Running 0 1h | |
forge-2-rk53c 1/1 Running 0 1h | |
init-tenant-1-3g12h 0/1 CrashLoopBackOff 18 1h | |
init-tenant-1-deploy 1/1 Running 0 1h | |
init-tenant-db-1-twn8j 1/1 Running 0 1h |