Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add travis-ci/gimme #9845

Merged
merged 1 commit into from Feb 13, 2023

Conversation

ponkio-o
Copy link
Sponsor Contributor

@ponkio-o ponkio-o commented Feb 13, 2023

#9845 travis-ci/gimme: Install go, yay

$ aqua g -i travis-ci/gimme

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ gimme --help
Usage: gimme [flags] [go-version] [version-prefix]

Version: v1.5.4
Copyright: Copyright (c) 2015-2020 gimme contributors
License URL: https://raw.githubusercontent.com/travis-ci/gimme/v1.5.4/LICENSE

Install go!  There are multiple types of installations available, with 'auto' being the default.
If either 'auto' or 'binary' is specified as GIMME_TYPE, gimme will first check for an existing
go installation.  This behavior may be disabled by providing '-f/--force/force' as first positional
argument.

Option flags:
        -h --help help - show this help text and exit
  -V --version version - show the version only and exit
      -f --force force - remove the existing go installation if present prior to install
        -l --list list - list installed go versions and exit
      -k --known known - list known go versions and exit
  --force-known-update - when used with --known, ignores the cache and updates
  -r --resolve resolve - resolve a version specifier to a version, show that and exit

Influential env vars:

      GIMME_GO_VERSION - version to install (*REQUIRED*, may be given as first positional arg)
  GIMME_VERSION_PREFIX - prefix for installed versions (default '/Users/yuya-koda/.gimme/versions',
                         may be given as second positional arg)
            GIMME_ARCH - arch to install (default 'x86_64')
      GIMME_BINARY_OSX - darwin-specific binary suffix (default 'osx10.8')
      GIMME_ENV_PREFIX - prefix for env files (default '/Users/yuya-koda/.gimme/envs')
   GIMME_GO_GIT_REMOTE - git remote for git-based install (default 'https://github.com/golang/go.git')
              GIMME_OS - os to install (default 'darwin')
             GIMME_TMP - temp directory (default '/var/folders/nk/0_r94lv56ns02p9dvsp7f3y40000gq/T//gimme')
            GIMME_TYPE - install type to perform ('auto', 'binary', 'source', or 'git')
                         (default 'auto')
    GIMME_INSTALL_RACE - install race directory after compile if non-empty.
                         If the install type is 'binary', this option is ignored.
           GIMME_DEBUG - enable tracing if non-empty
    GIMME_NO_ENV_ALIAS - disable creation of env 'alias' file when os and arch match host
      GIMME_SILENT_ENV - omit the 'go version' line from env file
     GIMME_CGO_ENABLED - enable build of cgo support
   GIMME_CC_FOR_TARGET - cross compiler for cgo support
   GIMME_DOWNLOAD_BASE - override base URL dir for download (default 'https://dl.google.com/go')
      GIMME_LIST_KNOWN - override base URL for known go versions (default 'https://golang.org/dl')
 GIMME_KNOWN_CACHE_MAX - seconds the cache for --known is valid for (default '10800')
$ eval $(gimme stable)
$ which go
/Users/user/.gimme/versions/go1.20.darwin.amd64/bin/go
$ go version
go version go1.20 darwin/amd64

Reference

[travis-ci/gimme](https://github.com/travis-ci/gimme): Install go, yay

```console
$ aqua g -i travis-ci/gimme
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 13, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v3.132.0 milestone Feb 13, 2023
@suzuki-shunsuke
Copy link
Member

Thank you always!

@suzuki-shunsuke suzuki-shunsuke merged commit dd92573 into aquaproj:main Feb 13, 2023
@ponkio-o ponkio-o deleted the feat/travis-ci/gimme branch February 13, 2023 06:02
@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants