Skip to content

Installation in a restricted CI environment #233

Closed
@kishaningithub

Description

@kishaningithub

Problem 1

In restricted go ci agents i often find that access to install.goreleaser.com is blocked where as raw.githubusercontent.com is not.

Proposed solution

If install script file is checked in as part of the repo it can be retrived via raw.githubusercontent.com. Currently dep project has an install.sh file enabling it to be "curled" from raw.githubusercontent.com

Installation from install.goreleaser.com can still and always remain the primary mode of installation and raw.githubusercontent.com can be a backup

Problem 2

In readme

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin vX.Y.Z

In alpine linux boxes bash will not be present

Proposed solution

Replace the installation script in read me as

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh

If you are fine with this i will submit a PR 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions