GithubHelp home page GithubHelp logo

linux-tools's Introduction

linux-tools

Some Linux scripts

NEXUS

Delete component

ENV

  • NEXUS_DNS: Nexus DNS. Default nexus.local
  • NEXUS_PORT: Nexus port. Default value 8081
  • REPO: Name of the repository in Nexus (see here http://DNS_NEXUS:PORT_NEXUS/#browse/browse). Default value docker-public
  • FORMAT: The format of the component to remove: maven2, helm, docker. Docker default
  • KEYWORD: Search key. Example: sgo/startweb
  • EXTRA_SEARCH: additional filtering. Example: group=com.repo&name=com.repo.test&version=x.x.x&... (see here https://help.sonatype.com/repomanager3/integrations/rest-and-integration- api/search-api)
  • DRY_RUN: Show only found components
  • DELETE: Start deleting found components

docker run -it --rm --name delete-nexus-component
--env NEXUS_DNS=$NEXUS_DNS
--env NEXUS_PORT=$NEXUS_PORT
--env REPO=$REPO
--env FORMAT=$FORMAT
--env KEYWORD=$KEYWORD
--env EXTRA_SEARCH=$EXTRA_SEARCH
--env DELETE=$DELETE
--env DRY_RUN=$DRY_RUN
xaadim/delete-nexus-component:latest

linux-tools's People

Contributors

xaadim avatar

Stargazers

 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.