Giter Site home page Giter Site logo

bwsw / cs-simulator-kafka Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 31 KB

CloudStack Simulator With Kafka Event Bus Integration

License: Apache License 2.0

Makefile 7.53% Shell 46.31% Dockerfile 46.16%
cloudstack development-environment docker kafka sandbox-environment simulator

cs-simulator-kafka's People

Contributors

bwsw avatar ksenia-vazhdaeva avatar medvedevbw avatar tomskikh avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tomskikh

cs-simulator-kafka's Issues

Add to the Jenkins job trigger on merge develop branch to master

Make a plan of implementation and coordinate it with Ivan.

Common requirements:

  • Make Jenkins job.
  • All progress steps should be described and should be used to make instruction on how set up CI pipeline.

The job should have the following trigger:

  1. Trigger on merge develop branch to master

Setup timeout for the job

The job should have a timeout on building docker depends on the time of building on the local machine. If timeout reached should job restart or fail?

Prepare post rules for builds

Make a plan of implementation and coordinate it with Ivan.

Common requirements:

  • All progress steps should be described and should be used to make instruction on how set up CI pipeline.

Steps:

  1. destroy the containers after successful or failed builds on the following triggers: pull request to develop, merge to develop.
  2. destroy the containers after failed build on the trigger- merge to master.
  3. destroy the Image after successful build on the trigger- container publishing.
  4. clean all components which were created.
  5. make a setting to clean before the build.
  6. do not destroy image after a successful build on the trigger- merge to master (this image will be used for publishing).
  7. do not destroy image after a failed build on the trigger- container publishing.

Add integration tests to the job

Add step - check that integration tests passed
The job should have a timeout on building docker depends on the time of building on the local machine. If timeout reached should job restart or fail?

Prepare docker container with CS simulator and Kafka

  1. Create develop branch
  2. Create feature branch from develop
  3. Prepare docker container with CS simulator and Kafka
  4. Add step to the jobs (with triggers) to create a container with CS simulator and Kafka.
  5. Test all CI/CD pipeline on this task: make sure that there are auto builds:
    5.1
    after pull request to develop branch,
    5.2 after merge into develop branch,
    5.3 after merge on master branch,
    5.4 publish docker image after successful step 5.3
    5.5 check that job with post rules delete containers after each step (except successful step 5.3).

Prepare Jenkins job for publishing docker container

Make a plan of implementation and coordinate it with Ivan.

Common requirements:
Make Jenkins job.

  • All progress steps should be described and should be used to make instruction on how set up CI pipeline.
  • Create Jenkins job
  • The job should use docker image which was created by 1st job when develop branch was merged into master branch successfully.

Steps:

  • add a setting to the 1st job to run publishing job after a successful build with the trigger- merge into the master branch.
  • publish the docker image to docker hub using tags (coordinate with Ivan - using versions from version file in the repository or in docker file)

Preapre Jenkins Job with trigger on the pull request to develop branch

Make a plan of implementation and coordinate it with Ivan.

Common requirements:

  • Make Jenkins job.
  • All progress steps should be described and should be used to make instruction on how setup CI pipeline.

The job should have the following trigger:

  1. Trigger on the pull request to develop branch.

Add to the Jenkins job trigger on merge feature branch to develop

Make a plan of implementation and coordinate it with Ivan.

Common requirements:

  • All progress steps should be described and should be used to make instruction on how set up CI pipeline.

The job should have the following trigger:

  1. Trigger on merge feature branch to develop.

Make a list of integration tests

Prepare a list of all features which should be tested. May include how will test each feature.
Example of feature list for testing:

  1. read from topic
  2. read from several topics
  3. read from topic and write offset

Make a plan for integration tests

  1. Make a plan for integration tests to check that CS simulator API is available and Kafka contains events - coordinate plan with Ivan.

Implement integration tests

  1. Implement integration tests according to the plan.
  2. Check that tests work locally.
  3. Docker container should be destroyed after all tests pass.

Then set up CI for the project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.