Task 1. The use of a command-work of the GitHub platform
- Created templates for Issues to create new tasks and new mistakes: 2 points (one score for each template).
- When creating Issues, using prepared templates, adds labels “Feautre” and “Bug” for the tasks and errors respectively: 1 point.
- Created two tasks and one error using the prepared templates Issues: 1 point.
- All Issues associated with a Milestone with a due date within two weeks from the moment of creation Issues: 1 point.
- The repository created a Kanban Board where all the tasks can be in one of four States: “New”, “Active”, “In progress”, “Completed”: 1 point.
- At the time of inspection of the task one task has status “New” (the one for which you have not created a pull request), and another problem and error is “Executed” on the Board: 1 point.
- Created two pull requests is the pull request for the task is created from the branch inside repository, a pull request for the bug created from “fornataro” repository. Pull requests created under different user different from the user account to which you published the repository. Pull request for the task is closed, the pull request is for error - open: 2 points.
- The repository contains a develop branch. With this thread created branches for solving the problem and fix the error. The name of the branch to solve the problem has the prefix “feature -“ the name of the branch is to correct errors - prefix “fix-“: 1 point.
- Pull requests refer to the relevant Issues. Closed Issue refers to the pull request or the commit that closed it: 1 point.
- Repository configured server builds using Travis CI. In the server build runs tests for collections that are created when you run the task from the previous module, using the Newman: 3 points.
- Builds that run from the branches master and develop, initiate automatic deployment of the client application on GitHub Pages associated with the repository (code client prilojeniya gets in a folder with the name of the source branch, i.e. “master” or “develop” inside the branch gh-pages): 2 points.
- The repository has a README file.md and CONTRIBUTING.md. In the README file.md there is a description of the client application, as well as links to the deployed version of the application from the master and develop branches on GitHub Pages. In the file CONTRIBUTING.md there is a description of how to add source code to the repository. The language of the content files can be both Russian and English: 2 points (one point for presence of each file).
Total job: 18 points.
Task 2. The use of Azure DevOps (TFS)
- Created new organization and project. In the project as a process for work items selected Agile. Added private Git and TFVC repository to Azure Repos: 1 point.
- The backlog Azure Boards established three requirements with names
Создание npm-package chance-js
,Установка package chance-js in приложение
andНастройка CI/CD for приложения
: 1 point. - For requirements
Создание npm-package chance-js
added tasks with the following titles:Добавление source file репозиторий
andСоздание build to publish пакета
. Tasks added a description. Tasks assigned to the same user: 2 points (one score per task). - For requirements package
Установка chance-js in приложение
added challenge with the following title:Добавление package depends on chance-js
. The task added a description. The task is assigned to a user other than the user to whom is assigned the task of requirementsСоздание npm-package chance-js
: 1 point. - PstrfНастройка requirements for CI/CD for приложения
added tasks with the following titles:
Добавление build приложенияand
Публикация app on GitHub Pages`. Tasks added a description. Tasks assigned to different users: 2 points (one score per task). - All created tasks planned for the iteration. Iteration should have a two-week period. All the tasks at the time of delivery of the job must be able
Resolved
(provided that the job is done completely). If some part of this task is not fulfilled, the respective tasks can have a statusNew
orActive
: 1 point. - In the TFVC repository project in Azure Repos added the files from the GitHub repository of the library of Chance. Team
gulp lint
,gulp test
andgulp build
run without error on the local machine (if you perform the mapping in the repository to a local folder). Adding files produced one or more times. Each check is associated with a taskДобавление source file репозиторий
requirementsСоздание npm-package chance-js
. Comments to check-ins have the following format:<date>. <Task name>. <Review>.
. The ins made by the user to whom the task is assigned: 3 points. - In the Git project repository in Azure Repos added the files from the GitHub repository Issue Tracker Demo: 1 point.
- Created “ribbon” in Azure Artifacts. Team
npm install
installs in-app npm packages from the tape and from the public repository of npm packages (in the setting of “tape” is set to Upstream source to access npm packages from the repository https://registry.npmjs.org through this “tape”). In “tape” published by npm-packagechance-js
: 2 points. - Created by Bild, which is published npm package
chance-js
from TFVC repository to Azure Repos, in “the tape” Azure Artifacts. During execution of the build before you publish the npm package, run gulp taskslint
,test
andbuild
. Continuous Integration for the build off, that is, the build should not run every time without refreshing the repository. Bild is working - if you change the version of the npm package and run the build, the new version of npm package to be published in the “tape” Azure Artifacts: 3 points. - In the application from the Git repository to Azure Repos adds a dependency on the npm package
chance-js
published in “tape” Azure Artifacts of the project. All changes made in a separate branch and merged into the working branch using pull requests. Create Waki, all commits and pull request is tied to the taskДобавление package depends on chance-js
requirementsУстановка package chance-js in приложение
. Pull request before making a confirmed reviewera, reviewera should be the user that is different from the performer of the task. Filechance.js
foldersrc
removed. The app must be installedchance-js
from the “feeds” Azure Artifacts of the project. When running locally the app Issues should not be created because the filechance.js
will be missing (because we don’t use “garbage” for the application): 3 points. - Created a build, which builds the application from the Git repository to Azure Repos. During execution of the build command is executed
npm run lint
to run linting. The build in “result” folder (drop folder), files are copiedindex.html
andmain.js
foldersrc
and filechance.min.js
foldernode_modules/chance-js/dist/
. So the copied filechance.min.js
in the process of the build renamed tochance.js
. Continuous Integration for the build are included, i.e. build is triggered when any without refreshing in any branch of this repository: 3 points. - Created release Azure Pipelines, which publishes artifacts (“results”) build applications from the private Git repository to Azure Repos on GitHub Pages. As the artifact to release the selected build of the application from the Git repository of the project in the Azure Repos. Created a stage where the publication artifacts (“results”) build on GitHub Pages. The stage starts automatically. Publication is done using a bash-script, similar to that created by the execution of the Task 1 of this module. Publication takes place in any personal repository on GitHub to a folder
azure
branchesgh-pages
. A release is a release is started upon successful completion of the build of the application, and deploys the application with all the changes to GitHub Pages: 3 points.
Total job: 26 points.