Created
June 11, 2020 06:54
-
-
Save velotiotech/240c325000850e9c8d3b3f1d60e39a0e to your computer and use it in GitHub Desktop.
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-staging/master | |
view the log at: http://jenkins.jx.35.230.49.158.nip.io/job/grohan2002/job/environment-carpcoal-staging/job/master/1/console | |
tailing the log of grohan2002/environment-carpcoal-staging/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 85e3e0347b4d8ad42f4a8d422e53b9d5691c8e6d | |
Running in Durability level: MAX_SURVIVABILITY | |
[Pipeline] node | |
Still waiting to schedule task | |
Waiting for next available executor | |
Running on maven-5xzh0 in /home/jenkins/workspace/ent-carpcoal-staging_master-6QDKMJ2XMNMFA5GSJVDMXNPODJHK2OTAAIO23EZOPYXO5MLNXDQQ | |
[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-staging.git | |
> git init /home/jenkins/workspace/ent-carpcoal-staging_master-6QDKMJ2XMNMFA5GSJVDMXNPODJHK2OTAAIO23EZOPYXO5MLNXDQQ # timeout=10 | |
Fetching upstream changes from https://github.com/grohan2002/environment-carpcoal-staging.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-staging.git +refs/heads/master:refs/remotes/origin/master | |
> git config remote.origin.url https://github.com/grohan2002/environment-carpcoal-staging.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-staging.git # timeout=10 | |
Fetching without tags | |
Fetching upstream changes from https://github.com/grohan2002/environment-carpcoal-staging.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-staging.git +refs/heads/master:refs/remotes/origin/master | |
Checking out Revision 85e3e0347b4d8ad42f4a8d422e53b9d5691c8e6d (master) | |
> git config core.sparsecheckout # timeout=10 | |
> git checkout -f 85e3e0347b4d8ad42f4a8d422e53b9d5691c8e6d | |
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 | |
[ent-carpcoal-staging_master-6QDKMJ2XMNMFA5GSJVDMXNPODJHK2OTAAIO23EZOPYXO5MLNXDQQ] 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 | |
[ent-carpcoal-staging_master-6QDKMJ2XMNMFA5GSJVDMXNPODJHK2OTAAIO23EZOPYXO5MLNXDQQ] Running shell script | |
+ make install | |
helm upgrade "jx-staging" "env" --install --namespace "jx-staging" --debug | |
[debug] Created tunnel using local port: '36938' | |
[debug] SERVER: "127.0.0.1:36938" | |
Release "jx-staging" does not exist. Installing it now. | |
[debug] CHART PATH: /home/jenkins/workspace/ent-carpcoal-staging_master-6QDKMJ2XMNMFA5GSJVDMXNPODJHK2OTAAIO23EZOPYXO5MLNXDQQ/env | |
NAME: jx-staging | |
REVISION: 1 | |
RELEASED: Fri Jun 8 09:06:21 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: | |
--- | |
# expose | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: expose | |
labels: | |
heritage: "Tiller" | |
release: "jx-staging" | |
chart: "expose-2.3.58" | |
component: "jx-staging-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-staging" | |
labels: | |
heritage: "Tiller" | |
release: "jx-staging" | |
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 | |
--- | |
# cleanup | |
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: cleanup | |
labels: | |
heritage: "Tiller" | |
release: "jx-staging" | |
chart: "cleanup-2.3.58" | |
component: "jx-staging-cleanup" | |
name: cleanup | |
annotations: | |
helm.sh/hook: pre-delete | |
helm.sh/hook-delete-policy: hook-succeeded | |
spec: | |
# backoffLimit: 5 | |
template: | |
metadata: | |
name: "jx-staging" | |
labels: | |
heritage: "Tiller" | |
release: "jx-staging" | |
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 | |
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-staging" | |
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-staging" | |
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-staging | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: cleanup | |
subjects: | |
- kind: ServiceAccount | |
name: cleanup | |
namespace: jx-staging | |
--- | |
# Source: env/charts/expose/templates/rolebinding.yaml | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: RoleBinding | |
metadata: | |
name: expose | |
namespace: jx-staging | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: expose | |
subjects: | |
- kind: ServiceAccount | |
name: expose | |
namespace: jx-staging | |
LAST DEPLOYED: Fri Jun 8 09:06:21 2018 | |
NAMESPACE: jx-staging | |
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 9s | |
==> v1/RoleBinding | |
NAME AGE | |
cleanup 9s | |
expose 9s | |
[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