Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 962 Bytes

File metadata and controls

28 lines (22 loc) · 962 Bytes

Contributing

Building the tekton definitions

export DEV_MODE=true
bash build/bin/build-tekton.sh

Building the container image locally

# Build & install ansible collections, save them to image/cli/, build the docker container, then run the container
make
docker run -ti --rm quay.io/ibmmas:local

Using the docker image

This is a great way to test in a clean environment (e.g. to ensure the myriad of environment variables that you no doubt have set up are not impacting your test scenarios). After you commit your changes to the repository a pre-release container image will be built, which contains your in-development version of the collection:

docker run -ti --rm --pull always quay.io/ibmmas/cli:x.y.z-pre.mybranch
oc login --token=xxxx --server=https://myocpserver
export STUFF
ansible localhost -m include_role -a name=ibm.mas_devops.ocp_verify
ansible-playbook ibm.mas_devops.oneclick_core
mas install