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
# Make sure you grab the latest version | |
curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip | |
# Unzip | |
unzip protoc-3.4.0-linux-x86_64.zip -d protoc3 | |
# Move protoc to /usr/local/bin/ | |
sudo mv protoc3/bin/* /usr/local/bin/ | |
# Move protoc3/include to /usr/local/include/ |
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
package generator | |
// This code is based on this stackoverflow answer:http://stackoverflow.com/questions/12458852/load-emf-model-instance-in-xtend | |
import org.eclipse.emf.common.util.URI | |
import org.eclipse.emf.ecore.resource.Resource | |
import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl | |
import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl | |
import org.eclipse.emf.ecore.EPackage |
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
#!/bin/bash | |
TAG=hughestech/lightning | |
set -ex | |
PARENT_DIR=$(basename "${PWD%/*}") | |
CURRENT_DIR="${PWD##*/}" | |
IMAGE_NAME="$TAG" |
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
Started by user anonymous | |
> /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 | |
Fetching changes from the remote Git repository | |
> /usr/bin/git config remote.origin.url https://gitlab.com/myco/myrepo.git # timeout=10 | |
Fetching upstream changes from https://gitlab.com/myco/myrepo.git | |
> /usr/bin/git --version # timeout=10 | |
using GIT_ASKPASS to set credentials | |
> /usr/bin/git fetch --tags --progress https://gitlab.com/myco/myrepo.git +refs/heads/*:refs/remotes/origin/* | |
> /usr/bin/git rev-parse refs/remotes/origin/feature/10-endpoint-for-updates^{commit} # timeout=10 | |
> /usr/bin/git rev-parse refs/remotes/origin/origin/feature/10-endpoint-for-updates^{commit} # timeout=10 |
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
#!/usr/bin/groovy | |
@Library('github.com/fabric8io/fabric8-pipeline-library@master') | |
def localItestPattern = "" | |
try { | |
localItestPattern = ITEST_PATTERN | |
} catch (Throwable e) { | |
localItestPattern = "*KT" | |
} |
NewerOlder