cookbook 'golang', '= 5.4.3'
golang
(49) Versions
5.4.3
-
-
5.4.20
-
5.4.19
-
5.4.18
-
5.4.17
-
5.4.16
-
5.4.15
-
5.4.14
-
5.4.13
-
5.4.12
-
5.4.11
-
5.4.10
-
5.4.9
-
5.4.8
-
5.4.7
-
5.4.6
-
5.4.5
-
5.4.4
-
5.4.3
-
5.4.2
-
5.4.1
-
5.4.0
-
5.3.3
-
5.3.2
-
5.3.1
-
5.3.0
-
5.2.0
-
5.1.0
-
5.0.1
-
5.0.0
-
4.1.1
-
4.1.0
-
4.0.0
-
3.0.1
-
3.0.0
-
2.0.0
-
1.7.2
-
1.7.1
-
1.7.0
-
1.6.2
-
1.5.1
-
1.5.0
-
1.4.0
-
1.3.0
-
1.2.0
-
1.1.2
-
1.1.1
-
1.1.0
-
1.0.2
-
1.0.1
Follow23
- 5.4.20
- 5.4.19
- 5.4.18
- 5.4.17
- 5.4.16
- 5.4.15
- 5.4.14
- 5.4.13
- 5.4.12
- 5.4.11
- 5.4.10
- 5.4.9
- 5.4.8
- 5.4.7
- 5.4.6
- 5.4.5
- 5.4.4
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.3
- 5.3.2
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.1
- 5.0.0
- 4.1.1
- 4.1.0
- 4.0.0
- 3.0.1
- 3.0.0
- 2.0.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
Installs go programming language
cookbook 'golang', '= 5.4.3', :supermarket
knife supermarket install golang
knife supermarket download golang
Golang (Go) Cookbook
Description
Chef cookbook for the Go programming language.
Requirements
Platform
- Ubuntu >= 18.04
- Debian >= 8
- CentOS >= 7
Usage
golang::default
Include golang
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[golang]" ] }
golang::packages
To install Go packages using node attributes add the packages to the ['golang']['packages']
attribute:
{ "name":"my_node", "golang": { "packages": [ "github.com/go-check/check" ] }, "run_list": [ "recipe[golang]" ] }
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
CHANGELOG for golang
This file is used to list changes made in each version of golang.
5.4.3 - 2023-02-15
5.4.2 - 2023-02-15
Standardise files with files in sous-chefs/repo-management
5.4.1 - 2022-12-15
Standardise files with files in sous-chefs/repo-management
5.4.0 - 2022-08-08
- Use
node['golang']['install_dir']
attribute in default recipe. - Fix source installation issues
5.3.3 - 2022-08-07
Standardise files with files in sous-chefs/repo-management
5.3.2 - 2022-02-09
- Remove delivery and move to calling RSpec directly via a reusable workflow
- Update tested platforms
- Standardise files with files in sous-chefs/repo-management
5.3.1 - 2021-08-30
- Standardise files with files in sous-chefs/repo-management
5.3.0 - 2021-07-15
- Fix
unified_mode
declaration - Bump
ark
dependency to one withunified_mode
set
5.2.0 - 2021-06-04
- Update example package to adhere with modern Go standards
5.1.0 - 2021-06-03
- Fix resource to use the correct path in GOPATH profile.d template
5.0.1 - 2021-06-01
- Standardise files with files in sous-chefs/repo-management
5.0.0 - 2021-05-21
- Require chef 15.3 or greater
- Use unified_mode for chef 17 support
4.1.1 - 2021-02-03
- Use
node['golang']['scm']
andnode['golang']['scm_packages']
attributes in default recipe.
4.1.0
- Create a custom resource to install Go from source or by downloading a package
4.0.0
- Update testing setup:
- Use Chef Workstation instead of Rubygems
- Includes dropping
foodcritic
in favor of currentcookstyle
- Add more recent & current distro versions
- Add very basic unit tests
- Use GitHub Actions instead of Travis CI
- Refactor minitest to Inspec
- Refactor to use current style of Chef Custom Resource
- Update default version to Go v1.14.4
- Use
build_essential
when building from source- Requires Chef >= 14.0.0
- Omit attempting to install
bzr
on CentOS 8, they do not have that package available - Utilize default Chef order-of-operations instead of
notifies
- Use
ark
resource to simplify download & installation of binary & source - Clean up unnecessary env vars from source build
- Build from source per official Go docs
- Use native resources instead of shell commands when building from source
- Set
$PATH
ingolang.sh
so that the existing values are last, per general practice - Tighten up
golang_package
so it does not perform actions at compile time, it usesexecute
in favor ofbash
resources, and in general is more Chef-y - Update tests to validate that non-root users can install Go and Go packages
- Refactor attributes to add ability to install a version from source that differs from the packaged version (which is needed to build from source)
3.0.0
- rename to
chef-golang
so that metadata name matches repositoriy name
2.0.0
- change attribute namespace to
node['golang']
1.7.2
- Better chef12,13 support
- Ruby 2.3
- Update gems, lint
1.7.1
- Create a temporary directory
1.7.0
- Golang 1.5
1.6.2
- Ability to install from source
1.6.0
- Removed support for Ruby 1.9.3
1.5.1
- Fix testing with Vagrant, Test-Kitchen
- Golang 1.4
1.5.0
- Golang 1.3
1.4.0
- Add build action to LWRP
- Update default go version to 1.2.2
- Add autodetection the platform architecture
- Change package location to
http://golang.org/dl/
1.3.0
1.2.0
1.1.0
- Added package LWRP
- Configurable
gopath
&gobin
1.0.2
- Lets users easily specify another install dir
1.0.1
- Avoid extra unpacked copy of Go
1.0.0
- Initial release of golang
Collaborator Number Metric
5.4.3 passed this metric
Contributing File Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
5.4.3 passed this metric
No Binaries Metric
5.4.3 passed this metric
Testing File Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
5.4.3 passed this metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
5.4.3 passed this metric
No Binaries Metric
5.4.3 passed this metric
Testing File Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
5.4.3 passed this metric
5.4.3 passed this metric
Testing File Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
5.4.3 failed this metric
5.4.3 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number