Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-23Update for Linux Tools 6.1.1 RC1Jeff Johnston1-1/+1
- change mirror sites - update feature versions - update pom.xml files Change-Id: I0aa422bdfcd29c78118cbfa0889f5dab1540b6c1 Reviewed-on: https://git.eclipse.org/r/103570 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2017-06-12Update master to 3.1.0 for docker/vagrant and 6.1.0 for other features.Jeff Johnston1-1/+1
Change-Id: I804031ab7ece5a45fbf6ad82d19a02c5def923ad Reviewed-on: https://git.eclipse.org/r/98965 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2017-03-06Update master to next major release.Jeff Johnston1-1/+1
Change-Id: I8a022908249736d7f85ed51d718b6966d877b1b9 Reviewed-on: https://git.eclipse.org/r/92299 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2017-03-02Update Docker Tools documentation for 2.3.0.Jeff Johnston1-1/+1
- update versions of Docker Tooling plug-ins to 2.3.0 Change-Id: If2e8757b9748498dd58e71b38bd64033fe497f0c Reviewed-on: https://git.eclipse.org/r/92193 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-12-12Bug 492235: Update to docker-client 3.6.8.Roland Grunberg1-1/+1
- Update to Orbit Oxygen M4 - Update the Docker Client stack to 3.6.8 - Bundle-SymbolicName change 'jnr.*' -> 'com.github.jnr.*' - Remove workaround for lack of Guava 18.0 - Remove workaround for lack of proper ExecStartParameter.TTY value Change-Id: I3c38ceb728bfd7f4d1ec9664e33a96081cb10852 Reviewed-on: https://git.eclipse.org/r/85313 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
2016-11-29Bug 508233 - Fix copy from containerJeff Johnston1-1/+2
- add support to ContainerCopyFromPage when the container is stopped to just add a text widget for specifying container directories - fix CheckboxTreeAndListGroup to access children when new tree entries show up (get children's children, then check the new elements for white and gray listing - also add new logic for finding the white list items which will return a directory when the user has clicked the entire directory - fix the logic in CopyFromContainerCommandHandler for reading the tar file to handle directory (make directories and read next entry, but read tar file for file entries) - also switch to use org.apache.commons.compress for TarArchiveInputStream - add check for container being stopped to ContainerCopyFrom wizard Change-Id: I9c616f62713977c609f12ff05f1976e00236fdc8 Reviewed-on: https://git.eclipse.org/r/85823 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-11-25Bug 506776: TM Terminal functionality is not present.Roland Grunberg1-0/+1
Restore dependence on org.eclipse.tm.terminal.view.ui as this contains the Stream Connector necessary for the terminal interaction we use. Change-Id: Ic49c6c4bfb2208870b6ebe953baeb63342e64072 Reviewed-on: https://git.eclipse.org/r/85626 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
2016-11-23Bug 507915 - Add support to copy files from host to containerJeff Johnston1-1/+2
- add new ContainerCopyTo wizard plus ContainerCopyToPage classes - add new CopyToContainerCommandHandler class - modify MinimizedFileSystemElement to expose isPopulated method - add new ResourceInfoUtils, IDEFileSystemStructureProvider, and FileSystemStructureProvider classes Change-Id: I82f82f88332307710e2af609364d64cd46c23026 Reviewed-on: https://git.eclipse.org/r/85541 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-10-03Bug 503047 - FileNotFoundException below BuildDockerImageJob.countLinesXavier Coulon1-0/+1
Displaying an error message to the user when the 'Dockerfile' does not exist anymore. Added tests (including disabling the CDT Launchbar at start-up to be able to access the Run launcher in the toolbar) Change-Id: Ic46ea0858d339564aa8f59941c05208e9238902e Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/82373 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-08-25Fix vagrant pom filesJeff Johnston1-1/+0
- update vagrant feature to 2.1.0 - update vagrant parent id to 2.1.0 - update vagrant doc plugin to 2.0.0 (as was in stable-5.0) - also remove org.eclipse.tm.terminal.view.ui from Docker UI Change-Id: Ic59ef3c46e27d7468dcfde6be53a094044a774a6 Reviewed-on: https://git.eclipse.org/r/79756 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> (cherry picked from commit 1f303d78912f7d5d66fa54d287ad06a4b445c097) Reviewed-on: https://git.eclipse.org/r/79762
2016-08-23Bug 499954 - Container with TTY doesn't display log or remove logsJeff Johnston1-1/+2
- add [shell] to title for exec shells for a Container - add code to RemoveContainerLogHandler to handle terminals using closeTerminal - add org.eclipse.tm.terminal.view.core as Docker ui dependency - fix RunConsole.attachTerminal and RunConsole.attachConsole so that the wait for running loop doesn't run infinitely if the Container is already finished - add LOG_PTY as data for openTerminal properties - fix a regression in the Command column in Docker Containers view Change-Id: Ia1bbce9e88e87903a3c9eb1c4d6f200f3f42e70d Change-Id: Ia1bbce9e88e87903a3c9eb1c4d6f200f3f42e70d Reviewed-on: https://git.eclipse.org/r/79309 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-08-23Bug 479592 - Support for Docker ComposeXavier Coulon1-2/+3
Also added a 'DockerConnectionManager#getAllConnections()' method that returns a list (can be empty) to use Java 8 Streams API Also added a 'DockerConnectionManager#hasConnections()' to verify if there's any connection (avoids checking for null and size > 0) Refactored the BuildDockerImageJob by extracting common methods in a superclass. Change-Id: I2517c8db139f91ac08ee1db9fbc0a47de7a08d74 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/79345 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-06-27Bump o.e.linuxtools.docker.ui to 2.1 due to API additions.Roland Grunberg1-1/+1
Change-Id: If7eec27e6936ad9006dd4118e4433b43349828ad
2016-05-11docker: update version of plug-in dependenciesWainer dos Santos Moschetta1-2/+2
Docker UI for Eclipse Neon requires o.e.ui.navigator and o.e.core.databinding minimum of 3.6.0 and 1.6.0, respectively. Change-Id: I40649554d5ccb50f91a0f890b7a5328ced25fea5 Signed-off-by: Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com> Reviewed-on: https://git.eclipse.org/r/72454 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
2016-04-18Docker Tooling should use JavaSE-1.8 in preparation for Neon.Roland Grunberg1-1/+1
Change-Id: I96c8eddcc3a25831fa8f43440baee8d89a3ce423 Reviewed-on: https://git.eclipse.org/r/70784 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
2016-04-01Integrate Docker Editor into Docker Image Build Wizard.Roland Grunberg1-1/+4
- Docker Editor needs to support external files (not in workspace) - Image Build Wizard Dialog becomes non-modal to ensure that the detatched editor windows can have focus Change-Id: Icf269175e23824500e8008a14affdba0c0c5b4b8 Reviewed-on: https://git.eclipse.org/r/69655 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2016-02-08Bug 487424 - NoSuchMethodError in DockerConnection.notifyImageListenersAlexander Kurtakov1-1/+1
Mandate o.e.core.runtime 3.12 to ensure the API used is there. Change-Id: Ie684a311f5f5b8015f7a243c6ec079bdc51ca49c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/66091 Tested-by: Hudson CI
2015-12-21Remove unused classes in docker core and ui plugins.Roland Grunberg1-2/+1
Change-Id: I8d6e46dec6688b3812524e0e45c456510bac7df3 Reviewed-on: https://git.eclipse.org/r/63056 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
2015-12-01Bug 480401 - Create a launch configuration when running an image from wizardXavier Coulon1-1/+3
Creating a LaunchConfiguration when the container starts, adding a creation_date attribute to be able to find the latest launch config for a given image name, when the user selects the image again to run another container. Protecting the domain class initialization by checking that retrieved info from the client are not null. Retrieving last launch configuration for the selected image name to prefill the wizard (some refactoring was required to pass the last launch configuration and fill the page models) Added SWTBot tests Change-Id: If24e0c1b7f7aea838f86a3c37fec42ae2bfe03f7 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/61494 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2015-11-25Bug 474196 - Add options to Image build launcherXavier Coulon1-0/+2
Added options to - quiet build - no cache - remove intermediate containers on successful build - always remove intermediate containers - repo/tag Build configuration name is generated after the image name (repo + tag) when available, or falls back to default "DockerFile[<projectName>]" pattern. Moved ImageNameValidator in a separate class to reuse across wizards Moved pattern to match image name in DockerImageName for reuse accross classes Change-Id: I9e14b74b33bfea37aacfbcae10bac2572ac04c55 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/59464 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2015-11-19Bug 479856 - Add "Show in>Web Browser" and "Show in>File Browser"Xavier Coulon1-0/+1
Added a menu entry in the popup for the "Show In" group Added 2 menu contributions, one for the Web browser when a DockerContainerPort is selected, and the other one when a DockerContainerVolume is selected Opening in the System Explorer reuses some code borrowed from org.elipse.ui.ide with some adaptations because the host directory for the container volume is not necessarily a file or a folder in the workspace, hence it cannot be adapted (as in IAdaptable) into an IResource Change-Id: Ief810a5b89072c0eed673363df93efb0800ed80d Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/60815 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2015-11-16Bug 481232 - Upgrade Docker plugins to 1.2.0Xavier Coulon1-1/+1
Change-Id: Icd740b40f38871bc49338147af061a55d247ee82 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/59465 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
2015-11-03Bug 477912 - Mock the Docker daemon in unit testsXavier Coulon1-0/+1
- Refactoring the code to move the logic of discovering connection settings into a new interface/implementation. - Added a hierarchy of connection settings classes for Unix sockets vs TCP - New pluggable utility class to discover connection settings - Refactored the ConnectionManager by moving the storage logic (load/save connections) in an external class that implements the new IDockerConnectionStorageManager interface - In unit tests, the interfaces mentionned above are mocked to return anything needed (no connection, valid socket, etc.) - Added a bundle to wrap the org.hamcrest dependencies and expose a single exported package for Mockito. (See https://bugs.eclipse.org/bugs/show_bug.cgi?id=403676#c10) Change-Id: I3dcfcd674ab8c17eff63d037a7a1d6f2250e1677 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/56859 Tested-by: Hudson CI
2015-10-21Bug 480308 - Export wizards packageXavier Coulon1-0/+1
Added package in the 'Export-Package' directive Change-Id: Ie0f97fc673b1270c6e90cd1db88bc423261d5ccb Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/58616 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2015-09-08Bug 475881 - Pull image workflow improvementXavier Coulon1-1/+2
Restored the PullImage wizard as the first step when pulling an image. The "Search..." buttons opens the SearchImage dialog with search term prefilled from the current image name. If no tag is specified, then 'latest' is assumed. The validation only raises warnings to avoid preventing the user to attempt to pull an image ( the Docker daemon may eventually raise an error). Added some JUnit tests to validate the image name patterns Change-Id: I7b7fef9e8ed9bbbc7701880af44a4e9f412a1543 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/55098 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2015-08-26Bug 475893 - Bump feature version to 1.1Jeff Johnston1-1/+1
- bump up all Docker plugins and features to 1.1.0 Change-Id: I9f6ac8fce6d084c7574873d071592dd7d37982d5 Reviewed-on: https://git.eclipse.org/r/54638 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
2015-08-03Bug 471664 - Provide a launcher to build a Docker image from a Docker fileXavier Coulon1-1/+3
Mimimal implementation in this commit: - defined a launch type and a launcher - no image name or build option can be submitted yet - no launch shortcut yet Change-Id: I08207a95a89ac50e13d33b954dc35878e7d2a800 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/51668 Tested-by: Hudson CI
2015-06-02Bug 468607 - Refactor the wizard to run a containerXavier Coulon1-3/+7
Change-Id: Ie41be59b3326e9521833f25c3fe91ac565adf6d5 Signed-off-by: Xavier Coulon <xcoulon@redhat.com> Reviewed-on: https://git.eclipse.org/r/48939 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2015-05-08Make org.eclipse.linuxtools.docker.core a proper OSGi bundle.Roland Grunberg1-0/+1
Make org.eclipse.linuxtools.docker.core a proper OSGi bundle by removing all Bundle-ClassPath references and replacing them with proper Import-Package. Also enable latest Orbit I build containing com.spotify.docker.client. Change-Id: I92f5883b1b17bdbdfaeec4a2a61948294b4e87d4 Reviewed-on: https://git.eclipse.org/r/47538 Reviewed-by: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
2015-05-05Add support for Docker into Linux Tools.Jeff Johnston1-0/+24
Change-Id: I4497bdc930f70075d2cded4c4d9eada9acfc692b Reviewed-on: https://git.eclipse.org/r/47214 Tested-by: Hudson CI Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>

    Back to the top