Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

home work 2 #2

Merged
merged 1 commit into from
Jul 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added 07-cicd-02-cicd/.DS_Store
Binary file not shown.
15 changes: 15 additions & 0 deletions 07-cicd-02-cicd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Домашние задания по курсу «Виртуализация, базы данных и CI»

## Задача 1 - Выберите верное определение (CI, Continuous delivery, Continuous deployment) для каждого из предложенных бизнес сценариев

Случай 1 - Продуктивные окружения проекта должны обновляться по расписанию с помощью автоматически собранных и протестированных артефактов, покрытие кода тестами должно находиться на уровне минимум 75 процентов

Случай 2 - Проекту необходим механизм для наиблолее быстрого отлавливание ошибок в реализации с автоматизацией отчетов для бизнес аналитиков и менеджмента

Случай 3 - Проекту необходимо оптимизировать скорость поставки новых функций на продуктивные окружения , а также сократить операционные расходы на аутсерс контракт с группой релиз инженеров

## Задача 2 - Альтернатива семантическому версионированию - существуют другие подходы. Выберите один и опишите для какой задачи вы бы выбрали его в замену сем-вер и почему

## Задача 3 - Собрать проект с использованием предоставленного gradle файла, внеся необходимые правки для реализации семантического версионирования с учетом факта того факта, что сборка должна представлять собой минорную версию. Результатом должен выступать jar файл с названием вида имя_продукта_версия_дата/время(ISO).
Внесите необходимые правки в gradle file для отбражение обновления с версии 1.0.2 и в логику создания jar файла для создания последнего с указанным именем
Используйте проект gradle_project в любой удобной IDE
Binary file added 07-cicd-02-cicd/gradle_project/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Fri Jul 24 19:19:28 CEST 2020
gradle.version=5.2.1
Binary file not shown.
Empty file.
18 changes: 18 additions & 0 deletions 07-cicd-02-cicd/gradle_project/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions 07-cicd-02-cicd/gradle_project/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

89 changes: 89 additions & 0 deletions 07-cicd-02-cicd/gradle_project/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions 07-cicd-02-cicd/gradle_project/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
plugins {
id 'application'
}
apply plugin: 'application'
mainClassName = 'course.CourseInfo'

jar {
manifest {
attributes 'Main-Class': 'course.CourseInfo'
}
}
Binary file added 07-cicd-02-cicd/gradle_project/src/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package course;

public class Course {
String name;
String module;
int webinarN;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package course;

public class CourseInfo {

public static void main(String[] args){
Course course = new Course();

course.name = "DevOps";
course.module = "CI-CD";
course.webinarN = 2;

System.out.println("Name of the Course: " + course.name);
System.out.println("Current module: " + course.module);
System.out.println("Webinar number:" + course.webinarN);
}
}