Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
evoal-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
evoal
source
evoal-core
Commits
df01ec43
Commit
df01ec43
authored
2 years ago
by
Bernhard Johannes Berger
Browse files
Options
Downloads
Patches
Plain Diff
Added release scripts.
parent
628085f2
No related branches found
No related tags found
No related merge requests found
Pipeline
#238006
failed
2 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+38
-39
38 additions, 39 deletions
.gitlab-ci.yml
ci/create-release.sh
+35
-0
35 additions, 0 deletions
ci/create-release.sh
src/core/de.evoal.surrogate.neural/pom.xml
+1
-3
1 addition, 3 deletions
src/core/de.evoal.surrogate.neural/pom.xml
with
74 additions
and
42 deletions
.gitlab-ci.yml
+
38
−
39
View file @
df01ec43
...
...
@@ -94,6 +94,12 @@ dsl:deploy:
only
:
changes
:
-
src/languages/**/*
artifacts
:
untracked
:
false
when
:
on_success
expire_in
:
"
30
days"
paths
:
-
src/languages/de.evoal.languages.releng.site/target/de.evoal.languages.releng.site-*.zip
#############################################################
...
...
@@ -150,45 +156,38 @@ evoal:deploy:
#############################################################
## Remaining release steps
all:package
:
stage
:
Package
dependencies
:
[
"
evoal:deploy"
,
"
languages:deploy"
]
tags
:
-
docker
image
:
$EVOAL_IMAGE
script
:
-
ci/create-release.sh "$CI_JOB_NAME"
artifacts
:
name
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_NAME.binaries.evoal.zip"
when
:
always
paths
:
-
evoal
#evoal:package:
# stage: Package
# tags:
# - docker
# image: $EVOAL_IMAGE
# script:
# - mvn $MAVEN_CLI_OPTS -f $EVOAL_POM -DskipTests=true package
# artifacts:
# name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME.binaries.evoal.zip"
# when: always
# paths:
# - src/core/de.evoal.main/target/main-*.jar
# only:
# changes:
# - src/core/**/*
#.docker_login: &docker_login
# before_script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
#
#evoal:docker:
# <<: *docker_login
# variables:
# # Disable TLS
# DOCKER_TLS_CERTDIR: ""
# # allow to talk to docker service
# DOCKER_HOST: tcp://localhost:2375
#release:
# stage: Release
# tags:
# - docker
# image: docker:20
# services:
# - name: docker:20-dind
# alias: dindservice
# needs:
# - job: "dsl:deploy"
# artifacts: true
# - job: "evoal:deploy"
# artifacts: true
# image: registry.gitlab.com/gitlab-org/release-cli:latest
# rules:
# - if: $CI_COMMIT_TAG
# script:
# - docker -version
# - cd docker
# - docker build -f evoal.Dockerfile .
# only:
# changes:
# - src/core/**/*
# - echo "running release_job for $TAG"
# release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
# name: 'Release $CI_COMMIT_TAG'
# tag_name: 'v0.$CI_PIPELINE_IID' # The version is incremented per pipeline.
# description: 'v0.$CI_PIPELINE_IID'
# ref: '$CI_COMMIT_TAG' # The tag is created from the pipeline SHA.
This diff is collapsed.
Click to expand it.
ci/create-release.sh
0 → 100644
+
35
−
0
View file @
df01ec43
#!/bin/bash
RELEASE_PLUGINS
=
generator.main surrogate.api surrogate.simple surrogate.svr
cp
src/languages/de.evoal.languages.releng.site/target/de.evoal.languages.releng.site-
*
.zip
"evoal/eclipse-update-site.zip"
mkdir
-p
evoal/plugins
cp
-r
src/core/de.evoal.core/target/core evoal/modules
for
NAME
in
$RELEASE_PLUGINS
;
do
cp
-r
de.evoal.
$NAME
/target/
$NAME
evoal/plugins/
$NAME
done
rm
evoal/modules/jboss-annotations-api
*
rm
evoal/modules/javax.annotation-api-
*
rm
evoal/modules/jsr305-
*
rm
evoal/modules/jboss-interceptors-api
*
rm
evoal/modules/jboss-el-api
*
rm
evoal/modules/jboss-annotations-api
*
rm
evoal/modules/javax.inject
*
# Now, we do have to do a small hack to fix an Xtext/jigsaw issue (multiple modules have classes
# in the same package which is not supported by jigsaw). Therefore, we merge the modules and create
# a single jar file.
cd
evoal
mkdir
xtext-merge
pushd
xtext-merge
unzip
-o
../modules/org.eclipse.xtext.util-
*
.jar
unzip
-o
../modules/org.eclipse.xtext-
*
.jar
rm
../modules/org.eclipse.xtext.util-
*
.jar
rm
../modules/org.eclipse.xtext-
*
.jar
zip
-r9
../modules/org.eclipse.xtext.jar
*
popd
rm
-rf
xtext-merge
This diff is collapsed.
Click to expand it.
src/core/de.evoal.surrogate.neural/pom.xml
+
1
−
3
View file @
df01ec43
...
...
@@ -5,10 +5,8 @@
<parent>
<groupId>
de.evoal
</groupId>
<artifactId>
releng.parent
</artifactId>
<artifactId>
core.plugin
</artifactId>
<version>
0.9.0-SNAPSHOT
</version>
<relativePath>
../de.evoal.releng.parent
</relativePath>
</parent>
<artifactId>
surrogate.neural
</artifactId>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment