mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* check SKIP_SERVICE_BINDING_TESTS to skip service binding tests * Pass SKIP_SERVICE_BINDING_TESTS to Windows for Windows tests * Use fsGroup on Kubernetes * add instructions to install devfile registry in cluster
OVERVIEW
This directory contains ansible manifest files that create the complete infrastructure on IBMCloud.
This script is used for automation and are using in two github-actions.
- to create a staging environment to test if the changes are working as expected
- to will apply new changes to the production infrastructure
NOTE
Deleation of stagin environment is done manually, as the github-action will only create the staging env, testing the staging env is manual.
How to create complete infra?
NOTE: you will need to export path to ssh_key for login pourpose (
SSHKEYis variable name) Run the following commands
# export ssh_key path
export SSHKEY=/path/to/ssh/key
# expose the Region and API key for ansible script
export IC_REGION="eu-de"
export IC_API_KEY="<API_KEY>"
ansible-playbook create-infra.yaml
How to delete complete infra?
Run the following commands
# expose the Region and API key for ansible script
export IC_REGION="eu-de"
export IC_API_KEY="<API_KEY>"
ansible-playbook delete-infra.yaml
Manual Steps to setup cluster
Manual steps need to be done on each cluster
1. install operators
NOTE: if want to use nfs for storage
2. adding nfs server to cluster
NOTE: only do this step if configuring nfs on cluster