Skip to content
Permalink
Branch: master
Commits on Mar 28, 2020
  1. 'odo watch' support for devfile components (#2737)

    johnmcollier committed Mar 28, 2020
    * Move file watch to its own package
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Use parameter struct for odo push
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Implement odo watch for devfiles
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Clean up and tests
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Un-export addRecursiveWatch
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Move devfile tests into own package and add more watch tests
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix go sec error
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Address review comments
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Properly apply ignores for devfile watching
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Properly apply ignores for `odo push` as well
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
Commits on Mar 27, 2020
  1. If clonePath is set, sync to it (#2747)

    johnmcollier committed Mar 27, 2020
    * If clonePath is set, sync to it
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Update function signature
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Only allow relative clonePaths
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
Commits on Mar 25, 2020
  1. Add Docker client library for odo (#2724)

    johnmcollier committed Mar 25, 2020
    * Vendor github.com/docker/docker
    
    * Add other dependencies needed for Docker client
    
    * First pass of a docker client in odo
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * More unit tests
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Remove unneeded sections in fake docker client
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Remove extra line added
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Catch error
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Remove license that was added via copy and paste
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Address review comments
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
Commits on Mar 12, 2020
  1. File sync for devfiles (#2681)

    johnmcollier committed Mar 12, 2020
    * Implement devfile syncing on odo push
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Add test for GetRemoteFilesMarkedForDeletion
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Properly retrieve sourcePath
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Don't push if not needed to
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Remove duplicate WaitAndGetPod
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Use odo volume constants
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix race condition (oops)
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix gosec errors
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Add namespace flag to odo push
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Implement integration tests for odo push
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Address review comments on tests
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Remove duplicated preferences lines
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Address review comments
    
    * Implement KubernetesAdapter to store namespace passed in from CLI
    * Move adapter push function into start function
    * Move FilterIgnores into util package and write unit tests for it
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix unit test
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Address review comments
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix rebase
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Properly return error if sync fails
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Sync to `/projects/<projectName>` when needed
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix unit tests
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Remove debugging line
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Add more unit tests for functions in pushlocal
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Add comments
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix test on Windows
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
  2. Update CheckForExistence to get right resource (#2698)

    johnmcollier committed Mar 12, 2020
    * Update CheckForExistence to get right resource
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Rename resourceName to resourceType
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
Commits on Mar 3, 2020
  1. Move file sync to its own package (#2626)

    johnmcollier committed Mar 3, 2020
    * Move file sync to its own package
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Fix merge conflict
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
Commits on Jan 7, 2020
  1. Implement a stub kclient package for odo (#2458)

    johnmcollier authored and openshift-merge-robot committed Jan 7, 2020
    * Implement a stub kclient package for odo
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
    
    * Address review comments for kclient
    
    Signed-off-by: John Collier <John.J.Collier@ibm.com>
You can’t perform that action at this time.