Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2X
Commits
45cca3e2
Commit
45cca3e2
authored
Oct 01, 2020
by
Evgeny Kusmenko
Browse files
github job
parent
15cb9e28
Pipeline
#337475
failed with stage
in 18 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
45cca3e2
...
...
@@ -4,6 +4,28 @@ stages:
#- windows
-
linux
githubjob
:
image
:
maven:3-jdk-8
stage
:
linux
before_script
:
-
'
which
ssh-agent
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$GITHUB_SSH_PRIV_KEY")
-
echo "$GITHUB_SSH_PRIV_KEY" | tr -d '\r' | ssh-add -
-
git config --global user.email "kusmenko@se-rwth.de"
-
git config --global user.name "EMA CI Robot"
-
mkdir -p ~/.ssh
# - cat gitlab-known-hosts >> ~/.ssh/known_hosts
-
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
script
:
-
git clone git@github.com:MontiCore/EmbeddedMontiArc.git
-
cd EmbeddedMontiArc
-
git subtree pull --prefix $PRJ_NAME https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/${PRJ_NAME}.git master --squash
-
git push --force
only
:
-
master
masterJobLinux
:
stage
:
linux
image
:
maven:3-jdk-8
...
...
@@ -13,6 +35,11 @@ masterJobLinux:
-
mvn package sonar:sonar -s settings.xml
only
:
-
master
except
:
changes
:
-
.gitlab-ci.yml
-
.gitignore
-
README.md
#masterJobWindows:
# stage: windows
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment