Code Monkey home page Code Monkey logo

jfrog-support-bundle-flunky's Introduction

GitHub Workflow Status Codecov Go Report Codacy grade

JFrog Support Bundle Flunky

About this plugin

This plugin helps with generating and exchanging a JFrog Support Bundle with JFrog Support.

Installation with JFrog CLI

Since this plugin is currently not included in JFrog CLI Plugins Registry, it needs to be built and installed manually. Follow these steps to install and use this plugin with JFrog CLI.

  1. Make sure JFrog CLI is installed on you machine by running jfrog. If it is not installed, install it.
  2. Create a directory named plugins under ~/.jfrog/ if it does not already exist.
  3. Clone this repository.
  4. CD into the root directory of the cloned project.
  5. Run go build -o sb-flunky to create the binary in the current directory.
  6. Copy the binary into the ~/.jfrog/plugins directory.

Usage

This plugin has a unique command support-case that:

  1. Creates a Support Bundle on the target Artifactory service

  2. Downloads the Support Bundle locally to a temporary file

  3. Uploads the Support Bundle on JFrog "dropbox" service or to any Artifactory service registered in JFrog CLI configuration

Arguments

  • support-case - The JFrog Support case number (required).

Aliases

  • case
  • c

Examples

jfrog sb-flunky support-case 1234

or

jfrog sb-flunky case 1234

or

jfrog sb-flunky c 1234

Optional flags

  • server-id: The ID of the target Artifactory service in JFrog CLI configuration (default: use default service). Example: --server-id=my-jfrog-service.

  • download-timeout: Timeout of the Support Bundle download (default: 10 min). Example: --download-timeout=15m.

  • retry-interval: Waiting time between a failed download attempt and the next attempt (default: 5 sec). Example: --retry-interval=10s.

  • prompt-options: Specify what is to be included in the created Support Bundle (default: use default Support Bundle configuration). Example: --prompt-options.

  • target-server-id: The ID of the Artifactory service to which the Support Bundle will be uploaded (default: JFrog "dropbox" service).

Environment variables

None.

Additional info

None.

Release Notes

The release notes are available here.

License

Apache 2.0 License.

FOSSA Status

jfrog-support-bundle-flunky's People

Contributors

cyrilc-pro avatar ttetzlaff avatar

Stargazers

 avatar

Watchers

 avatar  avatar

jfrog-support-bundle-flunky's Issues

Upload support bundle

Upload to target server ID, using same path as on supportlogs.jfrog.com
When no target server ID is provided, upload on supportlogs.jfrog.com

Simplify coverage report

In .github/workflows/go.yml, instead of -coverpkg=all, try with -coverpkg=jfrog/jfrog-support-bundle-flunky/.... We should then be able to remove the ugly Fix coverage report step.

Release workflow

Automatically release and publish binaries based on tag creation.

Change uploaded ZIP file name

Filename 2020-12-09T14_03_16Z.zip is not very clean and understandable:

  • Mixed usage of - and _
  • No indication that the file is a support bundle

Download SB even if failed

The SB should be downloaded even if partially failed. The condition to download should be not "in progress" instead of "success".

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.