Commit Graph

80 Commits

Author SHA1 Message Date
Mrinal Purohit
489433ba48 google-cloud-sdk: 334.0.0 -> 336.0.0 2021-04-14 00:33:39 +05:30
Mrinal Purohit
e5a2813149 google-cloud-sdk: 332.0.0 -> 334.0.0 2021-04-01 10:22:22 +05:30
Sandro
1c762e1915
Merge pull request #116772 from benley/gcloud-completion
google-cloud-sdk: Fix bash completion for gcloud, gsutil
2021-03-18 23:59:30 +01:00
Benjamin Staffin
ef2083cb7a google-cloud-sdk: Fix bash completion for gcloud, gsutil
bash-completion expects the files in
share/bash-completion/completions/ to be named identically to the
applicable commands (I think. This does make it work at least.)
2021-03-18 15:06:08 -04:00
Mrinal Purohit
3f7a86cf65 google-cloud-sdk: 328.0.0 -> 332.0.0 2021-03-18 11:01:37 +05:30
Pavel Borzenkov
d6876bc879
google-cloud-sdk: fix searching for cloud_sql_proxy on the PATH (#114488)
'gcloud sql connect' command allows to connect to a CloudSQL instance
from a local machine. In order to do so, it starts local
'cloud_sdk_proxy' instance. google-cloud-sdk expects to find one in SDK
root (installed by 'gcloud components') or on the PATH, if SDK is not
correctly installed ('.install' directory is missing).

Since google-cloud-sdk on NixOS is properly installed 'gcloud sql
connect' never looks for 'cloud_sql_proxy' on the PATH and simply
doesn't work at all.

The patch slightly modifies the check by looking not only for
'.install' directory, but for actual 'cloud_sql_proxy' binary before
falling back to the search on the PATH.

With this patch it's now possible to use 'gcloud sql connect' on NixOS,
provided that 'cloud_sql_proxy' is available either in user or system
enviroment (available in nixpkgs).
2021-02-28 12:05:26 +00:00
Bernardo Meurer
cc1ddfb124
google-cloud-sdk: 327.0.0 -> 328.0.0 2021-02-16 21:37:27 -08:00
Mrinal Purohit
7b5cacd823 google-cloud-sdk: 325.0.0 -> 327.0.0 2021-02-15 18:53:06 +05:30
Mrinal Purohit
16c29bb53e google-cloud-sdk: 323.0.0 -> 325.0.0 2021-02-02 11:19:49 +05:30
Mrinal Purohit
7370d2346b google-cloud-sdk: 322.0.0 -> 323.0.0 2021-01-15 19:21:14 +05:30
Sandro
98ac3af455
Merge pull request #108774 from iAmMrinal0/update/google-cloud-sdk
google-cloud-sdk: 321.0.0 -> 322.0.0
2021-01-11 18:43:15 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Mrinal Purohit
64d09c76d5 google-cloud-sdk: 321.0.0 -> 322.0.0 2021-01-08 20:27:57 +05:30
Mrinal Purohit
86a0c7c91a google-cloud-sdk: add iammrinal0 as maintainer 2020-12-30 19:53:26 +05:30
Mrinal Purohit
b3bb7e5bf0 google-cloud-sdk: 319.0.0 -> 321.0.0 2020-12-30 19:42:19 +05:30
Mrinal
f9b2e8f579
google-cloud-sdk: 315.0.0 -> 319.0.0 (#104886) 2020-11-25 18:19:56 +01:00
Jonas Chevalier
a7cb88c3de
tree-wide: unify Bash completions outputs (#103421)
Use $out/share/bash-completion/completions to store the Bash completions
2020-11-12 21:22:18 +00:00
Mrinal
bdf372bc6c
google-cloud-sdk: 314.0.0 -> 315.0.0 (#101236) 2020-10-21 12:56:18 +02:00
Mrinal
c4dc5dec60
google-cloud-sdk: 313.0.1 -> 314.0.0 (#100570) 2020-10-15 13:18:30 +00:00
Mrinal
b1a2b39740
google-cloud-sdk: 312.0.0 -> 313.0.1 (#100379) 2020-10-13 09:34:55 +02:00
Mrinal
1cf738a993
google-cloud-sdk: 306.0.0 -> 312.0.0 (#99262) 2020-10-01 18:12:42 +02:00
Mrinal
a778e66ebb
google-cloud-sdk: 301.0.0 -> 306.0.0 (#95921) 2020-08-22 11:42:15 +00:00
Mrinal
dd47a6d78a
google-cloud-sdk: 297.0.1 -> 301.0.0 (#93237) 2020-07-16 11:48:35 +00:00
Pradyuman Vig
ab844b28e3
google-cloud-sdk: 286.0.0 -> 297.0.1 (#91202) 2020-06-21 09:00:53 +00:00
Florian Klink
e1fc1d22f4 google-cloud-sdk: 281.0.0 -> 286.0.0 2020-03-27 18:09:05 +01:00
Leigh Perry
7c8351de97
google-cloud-sdk: 268.0.0 -> 281.0.0 (#80944) 2020-02-24 17:12:25 +00:00
Aaron Olson
9b8a14bb7e
google-cloud-sdk: fix Darwin build by only stripping local symbols (#80554)
Darwin won't strip relocatable symbols, so strip only local symbols
from cygrpc.so

See also 6ceebc441c (commitcomment-37355193)
2020-02-21 17:28:54 +00:00
edef
5bda7e7fb2 google-cloud-sdk: remove gsutil test
The command module references the tests, and since all command modules
get imported at startup, dbaafbbf73
turned it into a startup crash.

Unless you're actively hacking on gsutil, this command isn't much use,
so we're better off without it.
2020-02-18 13:31:42 +00:00
edef
0c403efde9 google-cloud-sdk: disable checking for gsutil updates
The update checking mechanism references the tests, and thus
dbaafbbf73 turned it into a crash at
startup.

It isn't much use in nixpkgs, so we're better off without it.
2020-02-18 13:31:42 +00:00
edef
6ceebc441c google-cloud-sdk: strip the Cython gRPC library
This reduces output size by 21 MiB.
2020-02-05 01:59:09 +00:00
edef
b7641eaa5a google-cloud-sdk: compact all the JSON
This reduces output size by 20 MiB.
2020-02-05 01:59:09 +00:00
edef
dbaafbbf73 google-cloud-sdk: remove tests directories
This reduces output size by 4.5 MiB.
2020-02-05 01:59:09 +00:00
edef
c484d6376c google-cloud-sdk: remove crcmod_osx as well
Both third_party/crcmod_osx and third_party/crcmod are only used in the
PYTHONPATH, and we already replace them with dependencies from nixpkgs.
2020-02-05 01:59:09 +00:00
edef
178ac3cb99 google-cloud-sdk: include openssl(1) in PATH (#77277)
Otherwise, it might fail with a mysterious error:

    ERROR: (gcloud.beta.compute.reset-windows-password) Your platform does not support OpenSSL.
2020-01-10 09:42:37 +00:00
Pradyuman Vig
78d9669963 google-cloud-sdk: 255.0.0 -> 268.0.0 (#71958) 2019-10-29 09:26:21 +00:00
Andreas Rammhold
e023b3b1d9
google-cloud-sdk: remove from python-modules
It is not a python module just an application using/based on python.
2019-09-09 15:36:26 +02:00
Andreas Rammhold
4fdbdcede0 google-cloud-sdk: prefer using a pythonEnv vs just a search path
Previously only direct dependencies were available in the python search
path. Transitive dependencies would not be available and thus a few
features would not work due to import errors. Those import errors were
being caugth and gave a (wrong) hint why it wouldn't work. By using
`python.withPackages` instead of the crafted search path with only the
direct dependencies those missing feature should now be working.

See issue #67094 for details on the observed errors.

Fixes #67094
2019-09-09 10:50:12 +02:00
Milan Pässler (work)
185fd61631 treewide: remove uses of doBuild and doConfigure
doBuild and doConfigure are not actually used by any builders, they were
probably added by mistake and just confuse people.
2019-09-02 23:42:12 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Mathis
c6e7bc2977 google-cloud-sdk: 241.0.0 -> 255.0.0 (#65417) 2019-07-28 19:58:36 +00:00
Florian Klink
6a166b2bfc google-cloud-sdk: apply kubeconfig: don't store absolute path to gcloud binary 2019-06-14 23:41:43 +02:00
Florian Klink
ff647cab19 google-cloud-sdk: use doBuild = false instead of hardcoding phases
We don't want to unpack in installPhase either.
2019-06-14 23:41:38 +02:00
Mathieu Boespflug
1fa743f927 google-cloud-sdk: 222.0.0 -> 241.0.0 (#59129) 2019-04-08 11:21:13 +02:00
Jaka Hudoklin
7df72ad928
google-cloud-sdk: 215.0.0 -> 222.0.0 2018-10-30 10:58:53 +01:00
Moritz Ulrich
d710765f52 google-cloud-sdk: 206.0.0 -> 215.0.0 2018-09-07 12:11:17 +02:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Benjamin Staffin
9baaa51c96
google-cloud-sdk: include docker-credential-gcloud script (#44886)
This is required if you want to push images to gcr.io.
2018-08-17 17:12:16 -04:00
numkem
89678fc87d Update google-cloud-sdk to 206.0.0 2018-06-20 15:20:53 -04:00
Jörg Thalheim
a30cb1bf55 google-cloud-sdk: also fix darwin 2018-03-08 22:28:09 +00:00
Ryan Mulligan
84cb658505 google-cloud-sdk: 184.0.0 -> 190.0.1
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 190.0.1 with grep in /nix/store/y7rvgsj3077w8div5qny11xhgyjvy06c-google-cloud-sdk-190.0.1
2018-03-08 12:48:47 -08:00