Spits out urls from image configurations from ocp-build-data files given as arguments.
ocp-urls <options> <files>-h,--helpThis help--raw,rawlink to raw file on raw.githubusercontent.com--repo,repo,rLink to a directory to browse--file,f,fileFile to download. Defaults to Dockerfile. Can be anything, like go.mod or .ci-operator.yml--download,dl,downloadSpit out curl invocation to download
ocp-urls $(git grep -l openshift-enterprise-cli) | open-urlsopen-urls opens a bunch of links to Dockerfiles in a new browser window: https://gist.github.com/joepvd/ec2c9bd9e4cd8cdf8bdcda3eadf200fc
ocp-urls --download -f .ci-operator.yaml 4.1[345]/images/ose-etcd-operator.yml | sh...leaves these files: ose-etcd_4.13_.ci-operator.yaml ose-etcd_4.14_.ci-operator.yaml ose-etcd_4.15_.ci-operator.yaml
git clone https://gist.github.com/joepvd/17d215004c5f35d957eda355007542b9 ocp-urls
ln -sf $(pwd)/ocp-urls/ocp-urls ~/bin/ocp-urls
- Error on nonsensical combinations of
- Add support for distgit urls