Skip to content

mikelangelo-project/scotty-experiment-cpu-stress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

My experiment

An experiment is a skelleton for scotty to deploy resources and run workloads for one experiment. It contains the experiment.yaml, customer directorys and files for the experiment workloads and resources. Workloads and resources can access this files.

Directory structure

Path Description
experiment.yaml Experiment definition, contains workload and resource definitions for the experiment.
Scotty also use this as a marker for the experiment root directory
.gitlab-ci.yaml Definition for the gitlab runner. (in progress)

Getting Started

Describe your experiment in the experimernt.yaml. The experiment.yaml contains the following sections

Section Optional Description
describtion Short describtion for the experiment
tags x List of tags for experiment (scotty use this for monitoring etc.)
resources x List of resource for the experiment (scotty/resource/demo for more information)
workload List of workloads for the experiment (scotty/workload/demo for more information)

You can test the experiment localy with scotty

scotty experiment perform

After this run you find your scotty data under the directory ./.scotty. You can clean it by calling:

scotty experiment clean

Sample experiment

description: my experiment with my workload
tags:
  - my_tag
resources:
  - name: my_resource_def
    generator: git:[email protected]:scotty/resource/demo.git
    params:
      user: myuser
      passwd: <%= ENV['mysecret'] %>
workloads:
  - name: myworkload
    generator: file:.
    params:
      greeting: Hallo
    resource:
      my_resource: my_resource_def

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published