root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin
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
| [ERROR] Plugin io.quarkus:quarkus-maven-plugin:999-SNAPSHOT or one of its dependencies could not be resolved: Failed to read artifact descriptor for io.quarkus:quarkus-maven-plugin:jar:999-SNAPSHOT: 2 problems were encountered while building the effective model for io.quarkus:quarkus-maven-plugin:999-SNAPSHOT | |
| [ERROR] [ERROR] 'dependencies.dependency.version' for io.quarkus:quarkus-platform-descriptor-legacy:jar is missing. @ | |
| [ERROR] [ERROR] 'dependencies.dependency.version' for org.glassfish:javax.json:jar is missing. @ |
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 cluster up | |
| # Tried with both coreos repo and its openshfit fork | |
| git clone git@github.com:openshift/prometheus-operator.git | |
| cd prometheus-operator | |
| # Remove all RunAsUser: 65543 as they don't work on openshift | |
| ls contrib/kube-prometheus/manifests/* | while read manifest; do echo "Removing RunUser from $manifest"; sed -i '/65543/d' $manifest;done | |
| # This suffers from a race condition so lets install resources one by one and add some sleep | |
| ls contrib/kube-prometheus/manifests/* | while read manifest; do echo "Installing $manifest"; oc create -f $manifest; sleep 1;done |
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
| #!/bin/bash | |
| pushd ~/workspace/src/github.com/syndesisio/syndesis | |
| ./app/build.sh --clean --openshift -f | |
| oc create -f app/deploy/support/serviceaccount-as-oauthclient-restricted.yml | |
| oc create -f app/deploy/syndesis-restricted.yml | |
| oc new-app syndesis-restricted -p ROUTE_HOSTNAME=syndesis.$(minishift ip).nip.io -p OPENSHIFT_MASTER=$(oc whoami --show-server) -p OPENSHIFT_PROJECT=$(oc project -q) -p OPENSHIFT_OAUTH_CLIENT_SECRET=$(oc sa get-token syndesis-oauth-client) | |
| popd |
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 | |
| kind: BuildConfig | |
| metadata: | |
| labels: | |
| app: experiment | |
| name: experiment | |
| spec: | |
| source: | |
| type: Dockerfile | |
| dockerfile: "FROM thisisgettingreplaced" |
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
| #!/bin/bash | |
| JOB="dev" | |
| CONFIG_XML="/tmp/jenkins-job.xml" | |
| PIPELINE=`cat $1` | |
| read -r -d '' HEADER << __HEADER__ | |
| <?xml version="1.0" encoding="UTF-8"?><flow-definition plugin="workflow-job@2.3"> | |
| <actions/> | |
| <description/> |
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
| #!/bin/bash | |
| # An mvn wrapper that sends a notification when the build is done. | |
| # Just throw it under $HOME/bin and create and alias: | |
| # alias mvn=$HOME/bin/mvnnotify | |
| # | |
| # Requires notify-send or something similar. | |
| MVN=`which mvn --skip-alias` | |
| eval $MVN $* |
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
| Caused by: java.text.ParseException: failed to load settings from jar:file:/home/jenkins/.m2/repository/org/codehaus/groovy/groovy/2.4.9/groovy-2.4.9.jar!/groovy/grape/defaultGrapeConfig.xml: impossible to add configured child for ivy on class org.apache.ivy.plugins.resolver.FileSystemResolver: ivy pattern must be absolute: ?/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml | |
| at org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:165) ~[ivy-2.4.0.jar:2.4.0] | |
| at org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:150) ~[ivy-2.4.0.jar:2.4.0] | |
| at org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:417) ~[ivy-2.4.0.jar:2.4.0] | |
| at org.apache.ivy.core.settings.IvySettings$load.call(Unknown Source) ~[na:na] | |
| at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-2.4.9.jar:2.4.9] | |
| at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-2.4.9.jar:2.4.9] | |
| at org.codeh |
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
| #!/usr/bin/groovy | |
| @Library('github.com/fabric8io/fabric8-pipeline-library@master') | |
| def buildLabel = "mylabel.${env.JOB_NAME}.${env.BUILD_NUMBER}".replace('-', '_').replace('/', '_') | |
| podTemplate(label: buildLabel, | |
| containers: [containerTemplate(image: 'maven', name: 'maven', command: 'cat', ttyEnabled: true, | |
| envVars: [containerEnvVar(key: 'DOCKER_CONFIG', value: '/home/jenkins/.docker/')], | |
| workingDir: '/home/jenkins/') | |
| ], | |
| volumes: [ |
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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>org.springframework.cloud</groupId> | |
| <artifactId>spring-cloud-kubernetes-dependencies</artifactId> | |
| <version>0.2.0.BUILD-SNAPSHOT</version> | |
| <name>Spring Cloud Kubernetes :: Dependencies</name> |