Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
QuasselDroid-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
QuasselDroid-ng
Commits
d7e50fdb
There was a problem fetching the pipeline summary.
Commit
d7e50fdb
authored
7 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Attempt to add automated uploads to s3
parent
3e8d7a7f
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-3
14 additions, 3 deletions
.gitlab-ci.yml
with
14 additions
and
3 deletions
.gitlab-ci.yml
+
14
−
3
View file @
d7e50fdb
...
@@ -21,20 +21,31 @@ before_script:
...
@@ -21,20 +21,31 @@ before_script:
stages
:
stages
:
-
"
build"
-
"
build"
-
"
test"
-
"
test"
-
"
deploy"
build
:
build
:
stage
:
"
build"
stage
:
"
build"
script
:
script
:
-
"
./gradlew
assembleRelease"
-
"
./gradlew
assembleRelease"
-
"
cp
app/build/outputs/apk/release/*.apk
."
-
"
cp
app/build/outputs/apk/release/*.apk
."
-
"
cp
*.apk
QuasselDroidNG-release.apk"
artifacts
:
artifacts
:
paths
:
paths
:
-
"
*.apk"
-
"
*.apk"
unitTests
:
unitTests
:
stage
:
test
stage
:
"
test
"
cache
:
cache
:
policy
:
pull
policy
:
"
pull
"
script
:
script
:
-
"
./gradlew
test"
-
"
./gradlew
test"
deploy
:
stage
:
"
deploy"
image
:
"
k8r.eu/justjanne/docker-s3cmd:latest"
dependencies
:
-
"
build"
script
:
-
"
echo
$S3_CONFIG
>
$HOME/.s3cfg"
-
"
export
VERSION=$(ls
*.apk)"
-
"
s3cmd
put
$VERSION
s3://releases/quasseldroid-ng/$VERSION"
-
"
s3cmd
cp
s3://releases/quasseldroid-ng/$VERSION
s3://releases/quasseldroid-ng/QuasselDroidNG-latest.apk"
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