Giter VIP home page Giter VIP logo

jira-hardware-exploration's Introduction

CircleCI

Automated Jira hardware recommendations

This runs the entire hardware recommendation. It will run all the tests, produce all the charts and print out the recommendations. Currently it covers Jira L and Jira XL.

Usage

Bamboo

  1. Run the Bamboo plan
    • Optionally override the HWR_PROPS variable with a value like -Dhwr.jsw.version=7.13.0
  2. Look for results in the Bamboo artifacts

If the Bamboo agent goes offline after 12 hours, rerun the plan. This can take 3-4 reruns.

Local

  1. Navigate to the repo root
  2. Set up AWS credentials according to default AWS credentials
  3. Create a jira-license.txt file and fill it with a Jira license
  4. Run recommendHardware Gradle task
    • From terminal: ./gradlew recommendHardware
    • Or in short: ./gradlew recHar
    • Or from IntelliJ 2019+: Run anything (e.g. double tap Ctrl) and type gradle recommendHardware
  5. Read the logs and look for results in build/jpt-workspace

Caching

At the beginning of the run, the results from S3 cache (if any) is downloaded and merged with local results. Then the local results are reused. Only the results that are missing will be run. Use this to your advantage. If the build flakes, rerun to just fill in the missing subresults. Naturally, Bamboo does not have any local results so it will always download the entire S3 cache.

The S3 cache requires read/write permissions to the S3 bucket, so either match AWS creds to the bucket or change the bucket in test source. The quicksilver-jhwr-cache-ireland is owned by AWS account jira-server-perf-dev (695067801333). You can browse the shared cached results via S3 GUI. You can also make them public an link them: a cached file.

If you customize the test and want to get a fresh batch of results, change the val cacheKey in the test source.

Customization

Start from the test source and tweak existing knobs and levers or build new ones.

Chat

Feel free to chat, ask for help, bounce ideas on the JPT Community Slack.

Maintenance

The CI covers a scaled-down version of the full process. It should be run periodically to prevent breakage caused by code changes or external services.

jira-hardware-exploration's People

Contributors

dagguh avatar kema2000 avatar mminns avatar mzyromski-atlassian avatar dkedzierski2 avatar ewefie avatar

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.