Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
S
saberlight
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
madhead
saberlight
Commits
112c7e58
Verified
Commit
112c7e58
authored
Jun 08, 2019
by
madhead
⌨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simple CI/CD
parent
54583acd
Pipeline
#65283331
passed with stages
in 5 minutes and 59 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
app/README.md
app/README.md
+1
-0
app/build.gradle.kts
app/build.gradle.kts
+1
-1
ci/README.md
ci/README.md
+1
-0
ci/gitlab/gitlab.yml
ci/gitlab/gitlab.yml
+22
-0
No files found.
app/README.md
0 → 100644
View file @
112c7e58
Saberlight app
app/build.gradle.kts
View file @
112c7e58
...
...
@@ -9,7 +9,7 @@ repositories {
kotlin
{
linuxArm32Hfp
(
"raspberrypi"
)
{
binaries
{
executable
{
executable
(
"saberlight"
)
{
entryPoint
=
"by.dev.madhead.saberlight.main"
}
}
...
...
ci/README.md
0 → 100644
View file @
112c7e58
CI/CD, infrastructure and deployment scripts
ci/gitlab/gitlab.yml
0 → 100644
View file @
112c7e58
stages
:
-
Build
-
Test
build
:
stage
:
Build
image
:
openjdk:12
dependencies
:
[]
script
:
-
./gradlew clean assemble
gradle-version
:
stage
:
Test
image
:
openjdk:12
dependencies
:
[]
script
:
-
gradle_version=$(./gradlew --version | sed -rn 's/^Gradle (.+)$/\1/p')
-
latest_gradle_version=$(curl https://services.gradle.org/versions/current | python2 -c 'import json,sys;print json.load(sys.stdin)["version"]')
-
echo $gradle_version
-
echo $latest_gradle_version
-
'
[[
$gradle_version
==
$latest_gradle_version
]]'
allow_failure
:
true
Write
Preview
Markdown
is supported
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