Code Monkey home page Code Monkey logo

assisted-installer-deployment's Introduction

assisted-installer-deployment

Release a new version

You can release a new version by creating a tag in all the assisted-installer repositories.

  1. Update the assisted-installer.yaml with the relevant git hash.
  2. Build the docker image, locally:
make local-update
  1. Execute the release image
docker run -v $(pwd)/assisted-installer.yaml:/assisted-installer.yaml -v $HOME/.netrc:/root/.netrc -it assisted-installer-deployment:local -t <tag>

Add new signature

Run the following commands for more details:

./tools/triage/add_triage_signature.py --help

Triage deep search

  • Make sure you are connected to Red Hat VPN (for logs download).

There is now a facility to deep search for issues matching a content regex and a path regex

Examples

Generate a Jira access token

  1. Browse to Jira Personal Access Tokens to Create a new access token.
  2. Configure environment variable:
    export JIRA_ACCESS_TOKEN=<token>

When using skipper, some characters must be escaped.

Find every ticket containing any file with the phrase "This is a match" in the last 7 days

skipper run ticket_search --content_search "This is a match" --days=7 --path_search "\(.*\)" > data/reports/must-gather.json

Or if you prefer not to escape chars

skipper shell # (to open a shell)
ticket_search --content_search "This is a match" --days=7 --path_search "(.*)" > data/reports/must-gather.json

Find every ticket that ends with the word "version" in the last 7 days that has a must gather

skipper run ticket_search --content_search "openshift/must-gather" --days=7 --path_search "\(.*version$\)" > data/reports/must-gather.json

Or if you prefer not to escape chars

skipper shell # (to open a shell)
ticket_search --content_search "openshift/must-gather" --days=7 --path_search "(.*version$)" > data/reports/must-gather.json

Using the tool via docker or podman directly

# Set the appropriate container command
export container_command=docker
# or 
export container_command=podman

# Run this once to build the ticket search container
make build_image

# Run a search like this, you will need to escape chars such as brackets
make ticket_search c="openshift/must-gather" p="\(.version*\)" | jq

assisted-installer-deployment's People

Contributors

adriengentil avatar carbonin avatar celdrake avatar celebdor avatar danielerez avatar danmanor avatar dependabot[bot] avatar eifrach avatar eliorerz avatar empovit avatar eranco74 avatar gamli75 avatar javipolo avatar jhernand avatar mareklibra avatar mkowalski avatar nmagnezi avatar omertuc avatar ori-amizur avatar oshercc avatar osherdp avatar paul-maidment avatar razregev avatar rccrdpccl avatar romfreiman avatar ronniel1 avatar slaviered avatar tsorya avatar vrutkovs avatar yuvigold avatar

Watchers

 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.