Commit c13f9355 authored by Konrad Bednarek's avatar Konrad Bednarek

#39332 Move scripts to scripts catalogue

parent 82778af9
......@@ -10,7 +10,7 @@ build:
image: svarog-build-test-image:u1604
stage: builddeb
script:
- ./builddeb.sh
- ./scripts/ci/builddeb.sh
artifacts:
name: svarog_deb_$CI_BUILD_NAME_$CI_BUILD_REF_NAME
paths:
......@@ -23,7 +23,7 @@ buildstandalone:
- apt-get update -y
- apt-get install -y zip
script:
- ./buildzip.sh
- ./scripts/ci/buildzip.sh
artifacts:
name: Svarog_standalone_$CI_BUILD_NAME_$CI_BUILD_REF_NAME
paths:
......@@ -41,7 +41,7 @@ signdebs:
before_script:
- apt-get update -qq
- apt-get install -y gnupg debsigs
script: ./signdebs.sh
script: ./scripts/ci/signdebs.sh
dependencies:
- build
artifacts:
......@@ -64,7 +64,7 @@ deploy_xenial_development:
- export DEB_USER=$DEB_NIGHTLY_USER
- export SSHPASS=$DEB_NIGHTLY_PASSWD
- export RELEASE=xenial
- ./deploydebs.sh
- ./scripts/ci/deploydebs.sh
environment: nightly_ubuntu1604
deploy_xenial_testing:
......@@ -82,7 +82,7 @@ deploy_xenial_testing:
- export DEB_USER=$DEB_TESTING_USER
- export SSHPASS=$DEB_TESTING_PASSWD
- export RELEASE=xenial
- ./deploydebs.sh
- ./scripts/ci/deploydebs.sh
environment: testing_ubuntu1604
deploy_xenial_master:
......@@ -101,7 +101,7 @@ deploy_xenial_master:
- export DEB_USER=$DEB_STABLE_USER
- export SSHPASS=$DEB_STABLE_PASSWD
- export RELEASE=xenial
- ./deploydebs.sh
- ./scripts/ci/deploydebs.sh
environment: production_ubuntu1604
deploy_standalone_braintech:
......@@ -118,7 +118,7 @@ deploy_standalone_braintech:
- export ADDRESS=$BRAINTECH_SRV
- export USR=$BRAINTECH_USR
- export PSW=$BRAINTECH_PWD
- ./deployjar.sh
- ./scripts/ci/deployjar.sh
when: manual
environment: braintech_pl_standalone_jar_production
......@@ -12,10 +12,11 @@ I. Przygotowanie
1. Ściągamy repozytorium Svaroga, dostępne pod adresem:
git@gitlab.com:braintech/svarog2.git
2. Uruchamiamy (jako administrator) skrypt „install-dev-env.sh” (warto
go obejrzeć przed uruchomieniem). Zainstaluje on przede wszystkim
środowisko NetBeans, jak również wszystkie wymagane zależności, włącznie
z Oracle'ową wersją Java 8.
2. Uruchamiamy (jako administrator) skrypt „install-dev-env.sh”
z katalogu scripts (warto go obejrzeć przed uruchomieniem).
Zainstaluje on przede wszystkim środowisko NetBeans,
jak również wszystkie wymagane zależności, włącznie z Oracle'ową
wersją Java 8.
II. Wytwarzanie plików JAR
......
......@@ -12,9 +12,10 @@ I. Preparation
1. Download Svarog's repository from:
git@gitlab.com:braintech/svarog2.git
2. Run (as root) script “install-dev-env.sh” (you should at least look
at it before you run it). The script will install NetBeans IDE, as well
as all dependencies required to develop Svarog, including Oracle Java 8.
2. Run (as root) script “install-dev-env.sh” from scripts catalogue
(you should at least look at it before you run it). The script will
install NetBeans IDE, as well as all dependencies required to develop
Svarog, including Oracle Java 8.
II. Generating JAR files
......
#!/bin/bash
source ./functions.sh
#!/usr/bin/env bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
source "$SCRIPTPATH/common/functions.sh"
set -e
function movedeb {
......
#!/bin/bash
source ./functions.sh
#!/usr/bin/env bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
source "$SCRIPTPATH/common/functions.sh"
set -e
build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment