This file contains 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
$ jx get build logs | |
? Which pipeline do you want to view the logs of?: grohan2002/environment-carpcoal-production/master | |
view the log at: http://jenkins.jx.35.230.49.158.nip.io/job/grohan2002/job/environment-carpcoal-production/job/master/1/console | |
tailing the log of grohan2002/environment-carpcoal-production/master #1 | |
Branch indexing | |
Connecting to https://api.github.com using grohan2002/****** (API Token for acccessing https://github.com git service inside pipelines) | |
Obtained Jenkinsfile from 064603de5cc9f03d0b893fa4aaa6950b7bfe99f1 | |
Running in Durability level: MAX_SURVIVABILITY | |
[Pipeline] node | |
Still waiting to schedule task | |
maven-5xzh0 is offline | |
Running on maven-8hhjb in /home/jenkins/workspace/-carpcoal-production_master-TXWJBDNX3PPVBA42Y2NQBLQ5UXXIJZQJRN5IAG7FWTSCBVLG7VCQ | |
[Pipeline] { | |
[Pipeline] stage | |
[Pipeline] { (Declarative: Checkout SCM) | |
[Pipeline] checkout | |
Cloning the remote Git repository | |
Cloning with configured refspecs honoured and without tags | |
Cloning repository https://github.com/grohan2002/environment-carpcoal-production.git | |
> git init /home/jenkins/workspace/-carpcoal-production_master-TXWJBDNX3PPVBA42Y2NQBLQ5UXXIJZQJRN5IAG7FWTSCBVLG7VCQ # timeout=10 | |
Fetching upstream changes from https://github.com/grohan2002/environment-carpcoal-production.git | |
> git --version # timeout=10 | |
using GIT_ASKPASS to set credentials API Token for acccessing https://github.com git service inside pipelines | |
> git fetch --no-tags --progress https://github.com/grohan2002/environment-carpcoal-production.git +refs/heads/master:refs/remotes/origin/master | |
> git config remote.origin.url https://github.com/grohan2002/environment-carpcoal-production.git # timeout=10 | |
> git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 | |
> git config remote.origin.url https://github.com/grohan2002/environment-carpcoal-production.git # timeout=10 | |
Fetching without tags | |
Fetching upstream changes from https://github.com/grohan2002/environment-carpcoal-production.git | |
using GIT_ASKPASS to set credentials API Token for acccessing https://github.com git service inside pipelines | |
> git fetch --no-tags --progress https://github.com/grohan2002/environment-carpcoal-production.git +refs/heads/master:refs/remotes/origin/master | |
Checking out Revision 064603de5cc9f03d0b893fa4aaa6950b7bfe99f1 (master) | |
> git config core.sparsecheckout # timeout=10 | |
> git checkout -f 064603de5cc9f03d0b893fa4aaa6950b7bfe99f1 | |
Commit message: "Add environment configuration" | |
First time build. Skipping changelog. | |
[Pipeline] } | |
[Pipeline] // stage | |
[Pipeline] withEnv | |
[Pipeline] { | |
[Pipeline] stage | |
[Pipeline] { (Validate Environment) | |
[Pipeline] container | |
[Pipeline] { | |
[Pipeline] sh | |
[-carpcoal-production_master-TXWJBDNX3PPVBA42Y2NQBLQ5UXXIJZQJRN5IAG7FWTSCBVLG7VCQ] Running shell script | |
+ make build | |
rm -rf requirements.lock | |
helm version | |
Client: &version.Version{SemVer:"v2.8.2", GitCommit:"a80231648a1473929271764b920a8e346f6de844", GitTreeState:"clean"} | |
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"} | |
helm init | |
Creating /home/jenkins/.helm | |
Creating /home/jenkins/.helm/repository | |
Creating /home/jenkins/.helm/repository/cache | |
Creating /home/jenkins/.helm/repository/local | |
Creating /home/jenkins/.helm/plugins | |
Creating /home/jenkins/.helm/starters | |
Creating /home/jenkins/.helm/cache/archive | |
Creating /home/jenkins/.helm/repository/repositories.yaml | |
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com | |
Adding local repo with URL: http://127.0.0.1:8879/charts | |
$HELM_HOME has been configured at /home/jenkins/.helm. | |
Warning: Tiller is already installed in the cluster. | |
(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.) | |
Happy Helming! | |
helm repo add releases http://jenkins-x-chartmuseum:8080 | |
"releases" has been added to your repositories | |
helm repo add jenkins-x http://chartmuseum.build.cd.jenkins-x.io | |
"jenkins-x" has been added to your repositories | |
helm dependency build "env" | |
Hang tight while we grab the latest from your chart repositories... | |
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts): | |
Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: getsockopt: connection refused | |
...Successfully got an update from the "releases" chart repository | |
...Successfully got an update from the "stable" chart repository | |
...Successfully got an update from the "jenkins-x" chart repository | |
Update Complete. ⎈Happy Helming!⎈ | |
Saving 2 charts | |
Downloading exposecontroller from repo http://chartmuseum.build.cd.jenkins-x.io | |
Downloading exposecontroller from repo http://chartmuseum.build.cd.jenkins-x.io | |
Deleting outdated charts | |
helm lint "env" | |
==> Linting env | |
Lint OK | |
1 chart(s) linted, no failures | |
[Pipeline] } | |
[Pipeline] // container | |
[Pipeline] } | |
[Pipeline] // stage | |
[Pipeline] stage | |
[Pipeline] { (Update Environment) | |
[Pipeline] container | |
[Pipeline] { | |
[Pipeline] sh | |
[-carpcoal-production_master-TXWJBDNX3PPVBA42Y2NQBLQ5UXXIJZQJRN5IAG7FWTSCBVLG7VCQ] Running shell script | |
+ make install | |
helm upgrade "jx-production" "env" --install --namespace "jx-production" --debug | |
[debug] Created tunnel using local port: '38796' | |
[debug] SERVER: "127.0.0.1:38796" | |
Release "jx-production" does not exist. Installing it now. | |
[debug] CHART PATH: /home/jenkins/workspace/-carpcoal-production_master-TXWJBDNX3PPVBA42Y2NQBLQ5UXXIJZQJRN5IAG7FWTSCBVLG7VCQ/env | |
NAME: jx-production | |
REVISION: 1 | |
RELEASED: Fri Jun 8 09:08:34 2018 | |
CHART: env-0.0.1 | |
USER-SUPPLIED VALUES: | |
{} | |
COMPUTED VALUES: | |
cleanup: | |
Annotations: | |
helm.sh/hook: pre-delete | |
helm.sh/hook-delete-policy: hook-succeeded | |
Args: | |
- --cleanup | |
BackoffLimit: 5 | |
Image: jenkinsxio/exposecontroller | |
ImageTag: 2.3.58 | |
global: {} | |
expose: | |
Annotations: | |
helm.sh/hook: post-install,post-upgrade | |
helm.sh/hook-delete-policy: hook-succeeded | |
BackoffLimit: 5 | |
Image: jenkinsxio/exposecontroller | |
ImageTag: 2.3.58 | |
config: | |
domain: 35.230.49.158.nip.io | |
exposer: Ingress | |
http: "true" | |
tlsacme: "false" | |
global: {} | |
HOOKS: | |
--- | |
# cleanup | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: cleanup | |
labels: | |
heritage: "Tiller" | |
release: "jx-production" | |
chart: "cleanup-2.3.58" | |
component: "jx-production-cleanup" | |
name: cleanup | |
annotations: | |
helm.sh/hook: pre-delete | |
helm.sh/hook-delete-policy: hook-succeeded | |
spec: | |
# backoffLimit: 5 | |
template: | |
metadata: | |
name: "jx-production" | |
labels: | |
heritage: "Tiller" | |
release: "jx-production" | |
chart: "cleanup-2.3.58" | |
spec: | |
containers: | |
- env: | |
- name: KUBERNETES_NAMESPACE | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.namespace | |
image: "jenkinsxio/exposecontroller:2.3.58" | |
name: cleanup | |
command: ["/exposecontroller"] | |
args: | |
- "--cleanup" | |
serviceAccountName: cleanup | |
restartPolicy: Never | |
--- | |
# expose | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: expose | |
labels: | |
heritage: "Tiller" | |
release: "jx-production" | |
chart: "expose-2.3.58" | |
component: "jx-production-expose" | |
name: expose | |
annotations: | |
helm.sh/hook: post-install,post-upgrade | |
helm.sh/hook-delete-policy: hook-succeeded | |
spec: | |
# backoffLimit: 5 | |
template: | |
metadata: | |
name: "jx-production" | |
labels: | |
heritage: "Tiller" | |
release: "jx-production" | |
chart: "expose-2.3.58" | |
spec: | |
containers: | |
- env: | |
- name: KUBERNETES_NAMESPACE | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.namespace | |
image: "jenkinsxio/exposecontroller:2.3.58" | |
name: expose | |
command: ["/exposecontroller"] | |
args: | |
serviceAccountName: expose | |
restartPolicy: Never | |
MANIFEST: | |
--- | |
# Source: env/charts/expose/templates/configmap.yaml | |
apiVersion: v1 | |
data: | |
config.yml: |- | |
exposer: Ingress | |
domain: 35.230.49.158.nip.io | |
http: true | |
tls-acme: false | |
kind: ConfigMap | |
metadata: | |
name: exposecontroller | |
--- | |
# Source: env/charts/cleanup/templates/serviceaccount.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
app: cleanup | |
chart: "cleanup-2.3.58" | |
release: "jx-production" | |
heritage: "Tiller" | |
name: cleanup | |
--- | |
# Source: env/charts/expose/templates/serviceaccount.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
app: expose | |
chart: "expose-2.3.58" | |
release: "jx-production" | |
heritage: "Tiller" | |
name: expose | |
--- | |
# Source: env/charts/cleanup/templates/role.yaml | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: cleanup | |
rules: | |
- apiGroups: | |
- extensions | |
resources: | |
- ingresses | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- create | |
- update | |
- delete | |
- apiGroups: | |
- "" | |
resources: | |
- configmaps | |
- services | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- update | |
- apiGroups: | |
- apps | |
resources: | |
- deployments | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- update | |
- apiGroups: | |
- "" | |
- "route.openshift.io" | |
resources: | |
- routes | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- create | |
- update | |
- delete | |
--- | |
# Source: env/charts/expose/templates/role.yaml | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: | |
name: expose | |
rules: | |
- apiGroups: | |
- extensions | |
resources: | |
- ingresses | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- create | |
- update | |
- delete | |
- apiGroups: | |
- "" | |
resources: | |
- configmaps | |
- services | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- update | |
- apiGroups: | |
- apps | |
resources: | |
- deployments | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- update | |
- apiGroups: | |
- "" | |
- "route.openshift.io" | |
resources: | |
- routes | |
verbs: | |
- get | |
- list | |
- watch | |
- patch | |
- create | |
- update | |
- delete | |
--- | |
# Source: env/charts/cleanup/templates/rolebinding.yaml | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
name: cleanup | |
namespace: jx-production | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: cleanup | |
subjects: | |
- kind: ServiceAccount | |
name: cleanup | |
namespace: jx-production | |
--- | |
# Source: env/charts/expose/templates/rolebinding.yaml | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
name: expose | |
namespace: jx-production | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: expose | |
subjects: | |
- kind: ServiceAccount | |
name: expose | |
namespace: jx-production | |
LAST DEPLOYED: Fri Jun 8 09:08:34 2018 | |
NAMESPACE: jx-production | |
STATUS: DEPLOYED | |
RESOURCES: | |
==> v1/ConfigMap | |
NAME DATA AGE | |
exposecontroller 1 9s | |
==> v1/ServiceAccount | |
NAME SECRETS AGE | |
cleanup 1 9s | |
expose 1 9s | |
==> v1/Role | |
NAME AGE | |
cleanup 9s | |
expose 8s | |
==> v1/RoleBinding | |
NAME AGE | |
cleanup 8s | |
expose 8s | |
[Pipeline] } | |
[Pipeline] // container | |
[Pipeline] } | |
[Pipeline] // stage | |
[Pipeline] } | |
[Pipeline] // withEnv | |
[Pipeline] } | |
[Pipeline] // node | |
[Pipeline] End of Pipeline | |
GitHub has been notified of this commit’s build result | |
Finished: SUCCESS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment