NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Index: .gitlab-ci.yml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- .gitlab-ci.yml (date 1564473940312)
+++ .gitlab-ci.yml (date 1564473940312)
@@ -0,0 +1,112 @@
+image: gradle:jdk11
+
+#before_script:
+# - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
+# - eval $(ssh-agent -s)
+# - echo "$SSH_KEY" | tr -d 'r' | ssh-add - > /dev/null
+# - mkdir -p ~/.ssh
+# - chmod 700 ~/.ssh
+# ##
+# ## Optionally, if you will be using any Git commands, set the user name and
+# ## and email.
+# ##
+# #- git config --global user.email "[email protected]"
+# #- git config --global user.name "User name"
+
+stages:
+ - build
+ - test
+ - package
+ - release
+ - deploy
+
+cache:
+ paths:
+ - .gradle/wrapper
+ - .gradle/caches
+
+variables:
+ GIT_STRATEGY: fetch
+ GRADLE_OPTS: "-Dorg.gradle.daemon=false"
+
+before_script:
+ - export GRADLE_USER_HOME=`pwd`/.gradle
+
+compile:ApartmentMonitoring:
+ stage: build
+ script:
+ - ./gradlew assemble
+
+
+test:ApartmentMonitoring:
+ stage: test
+ script:
+ - ./gradlew test
+
+
+package:railwaytycoon-application:
+ stage: package
+ script:
+ - ./gradlew bootJar
+ artifacts:
+ paths:
+ - railwaytycoon-application/build/libs/*.jar
+ expire_in: 1 days
+ only:
+ - development
+ - master
+ - onePage
+
+
+release:docker-production:
+ stage: release
+ image: docker:stable
+ services:
+ - docker:dind
+ script:
+ - VERSION="$(cat gradle.properties | grep application.version | cut -d '=' -f2-)"
+ - docker build
+ --build-arg VERSION="${VERSION}"
+ --build-arg VCS_REF="${CI_COMMIT_SHA}"
+ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
+ --tag $CI_REGISTRY_IMAGE:$TAG .
+ - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
+ - docker push $CI_REGISTRY_IMAGE:$VERSION
+ only:
+ - master
+
+release:docker-development:
+ stage: release
+ image: docker:stable
+ services:
+ - docker:dind
+ script:
+ - VERSION="$(cat gradle.properties | grep application.version | cut -d '=' -f2-)"
+ - TAG=$VERSION-SNAPSHOT
+ - docker build
+ --build-arg VERSION="${VERSION}"
+ --build-arg VCS_REF="${CI_COMMIT_SHA}"
+ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
+ --tag $CI_REGISTRY_IMAGE:$TAG .
+ - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
+ - docker push $CI_REGISTRY_IMAGE:$TAG
+ only:
+ - development
+
+release:docker-onePage:
+ stage: release
+ image: docker:stable
+ services:
+ - docker:dind
+ script:
+ - VERSION="$(cat gradle.properties | grep application.version | cut -d '=' -f2-)"
+ - TAG=$VERSION-ONE_PAGE
+ - docker build
+ --build-arg VERSION="${VERSION}"
+ --build-arg VCS_REF="${CI_COMMIT_SHA}"
+ --build-arg BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%SZ')"
+ --tag $CI_REGISTRY_IMAGE:$TAG .
+ - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
+ - docker push $CI_REGISTRY_IMAGE:$TAG
+ only:
+ - onePage
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- build.gradle (revision c0c94ef33db8089f3d70ae43fb4904fa833e02f5)
+++ build.gradle (date 1564474749025)
@@ -15,8 +15,9 @@
}
}

-apply plugin: 'java'
apply plugin: 'idea'
+apply plugin: 'java'
+apply plugin: 'java-library'

sourceCompatibility = 1.11
targetCompatibility = 1.11
@@ -28,7 +29,14 @@
}

repositories {
- mavenCentral()
+ mavenLocal()
+ maven {
+ url "https://nexus.pkobp.pl/nexus/content/repositories/public/"
+ credentials {
+ username = REPO_USERNAME
+ password = REPO_PASSWORD
+ }
+ }
}

dependencies {
Index: Dockerfile
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- Dockerfile (date 1564473836880)
+++ Dockerfile (date 1564473836880)
@@ -0,0 +1,13 @@
+FROM openjdk:11-jdk-alpine
+
+ARG VERSION
+ARG VCS_REF
+ARG BUILD_DATE
+
+VOLUME /tmp
+
+RUN echo $VCS_REF $BUILD_DATE
+
+ADD railwaytycoon-application/build/libs/railwayTycoon-$VERSION.jar app.jar
+
+ENTRYPOINT ["java","-jar","/app.jar"]
No newline at end of file
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.