Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/rancher/charts-build-scripts

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/rancher/charts-build-scripts

  • v1.2.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

charts-build-scripts

This repository is maintained by @rancher/release-team. It is a crucial part of our release process for the built-in Helm Charts repository.

How to Use charts-build-scripts

Charts Repository Setup

Checkout the Git branch that corresponds to your Staging or Live branch.

Export BRANCH_ROLE as staging, live, or custom. Then run:

curl -s https://raw.githubusercontent.com/rancher/charts-build-scripts/master/init.sh > /dev/null | sh

Building

make

Running

./bin/charts-build-scripts

Validation command

For more information on the validation command, please see docs/validate.md.

Debugging

For more information on how to debug this project, please see docs/debugging.md.

Developing charts-build-scripts

How to Run

go run main.go

How to Run Unit Tests

go test ./...

How to Lint

golangci-lint run ./...

How to Release

Releases are done via a github action that uses goreleaser. In order to release, simply tag the commit that you want the release to be based off of with a tag that is in semver format. For example:

git tag v0.1.9

Then, push that tag to the the rancher/charts-build-scripts repo. Here is an example, assuming that rancher/charts-build-scripts is configured as upstream in your local repo:

git push upstream --tags

Pushing the tag will trigger a github actions workflow that will use the goreleaser action to build binaries for many different combinations of OS and processor architecture. This same goreleaser action will then create a release using these binaries. Release notes will be constructed from commit messages.

License

Copyright (c) 2024 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

FAQs

Package last updated on 19 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc