8 Commits

Author SHA1 Message Date
Stefan Dinescu
be41771eda Support for full image paths
Remote clients always pulled their images from docker.io, with
the only thing changing being the tag of the image. Now, the
full image path is configurable.

Change-Id: Ie62a38a28e456681f4fa40762783f7fc4adbbe4f
Story: 2006711
Task: 39093
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2020-03-19 18:11:49 +02:00
Teresa Ho
0ca280c7a2 Add oidc-auth to the remote CLI
Add oidc-auth to the aliases in the remote CLI.

Story: 2006711
Task: 38919
Depends-On: https://review.opendev.org/#/c/710991/

Change-Id: I66388d801208fb643e67f09800888cf839715382
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
2020-03-03 07:39:43 -05:00
Stefan Dinescu
9a068d8d6f Fix broken windows 10 remote cli
Kubectl and helm commands didn't properly work under
Windows 10 by using remote CLI.

Changes included:
- add winpty dependency for windows 10 to properly use
  interactive prompt commands
- change Unix paths to full Windows paths to be passed
  to docker only if scripts are run under cygwin
- add information to README file about the new dependency

Change-Id: I4509941e051552133a77dd5c2a7922b2cade3858
Closes-bug: 1849131
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2019-10-24 17:29:14 +03:00
Stefan Dinescu
63d1a87a6c Allow forcing shell prompt option
Some commands are designed to leave you in a shell prompt once
executed, but it is hard to identify all such commands in the
context of remote CLI.

In order to allow users to use such commands, they can force
the shell option or force disable the shell options using the
FORCE_SHELL and FORCE_NO_SHELL variables before the command.

The README has been updated with examples on the use of
these variables

Change-Id: Ica4e155fa21067448b99c4309f4736d39f0a419d
Closes-bug: 1849505
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2019-10-24 13:23:57 +03:00
Andy Ning
328dc75cf2 Add dcmanager to remote cli aliases list
This update added dcmanager command to remote cli aliases list so that
dcmanager is supported in remote cli.

Change-Id: I8de22760fb70cff9108dea0c10f96090b1764cb0
Story: 2004766
Task: 37128
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2019-10-15 11:35:46 -04:00
Stefan Dinescu
3ba1deb0d3 Add support for different tags for remote-cli
There may be cases where the image tags for the platform
and application side remote clients may be different. This
mostly covers post release scenarios where, we only make
changes to one of the clients

Story: 2005312
Task: 36734
Change-Id: Id6419fdb1409c57e97866de50ec1f637f4e9b71b
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2019-09-24 17:33:34 +03:00
Stefan Dinescu
1871e51590 Support custom image tags for remote CLI images
As part of creating a distributable tarball or remote CLI
wrapper script, we must also be able to package an exact
version of docker image files to ensure compatibility
between the remote CLI tarball and the distributed ISO and
helm chart.

This change writes the desired image tag in a separate file
that can then be overwritten by the packaging script as
needed.

Change-Id: Iab99486f0a8e697e3cec861ba9a45d9794c21f3a
Closes-bug: 1840133
Depends-on: I156172a6ed208d6fcf9bb8f37182daea73b2856c
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2019-08-27 16:58:35 +03:00
Stefan Dinescu
1a661e5311 Support for kubectl and helm in remote clients
Changes in this commit:
- rename remote_cli_linux to remote_cli as the solution
  is the same across Linux, Windows and Mac
- amend README with instruction on how to configure
  remote access for kubectl and helm
- change wrapper script with support for the kubectl
  authentication configuration file

Change-Id: I02ceee5d20aefe5fcc68f3059b41167bf1fa6a94
Closes-bug: 1840439
Depends-On: I098f2a15a973e418f1b37d87d4044672944baa28
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
2019-08-27 09:48:28 +03:00