Skip to content

OchiengEd/olm-monorepo-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

olm-monorepo-migration

OLM v1 Monorepo Migration script

How to run the script

By default the script monorepo_prep.sh expects the catalogd and operator-controller repositories and this repo olm-monorepo-migration at the same directory level.

$ ls

catalogd  operator-controller olm-monorepo-migration

(Alternatively...) You may want to nail down these repositories top level directories explicitly.
You may do so by setting environment variables:

**CATALOGD_REPO_TLD**="../catalogd"
**OPERATOR_CONTROLLER_REPO_TLD**="../operator-controller"

(the assignments in this example, above, are equivalent to the default behavior initially described and thus the same positional expectations)


Run the script as follows.


$ cd olm-monorepo-migration/
$ bash monorepo_prep.sh

The script creates a branch named monorepo in operator-controller local repository and a branch named monorepo_prep in catalogd local repository. The code branch in operator-controller repo would be the pull request for the monorepo work.

About

OLM v1 Monorepo Migration script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages