Skip to content

heliubj18/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

utils

Makefile usage

dependency:

  1. hypershift source code in $GOPATH/src/github.com/openshift/hypershift
  2. tools go,aws,git,oc with $KUBECONFIG to an active OCP

ENV configuration

The default env config file for the Makefile is ./makefile_config/default_aws.mk
You can change it using make switch-config e.g.

$ make switch-config 
Enter config file name: 
$ ./makefile_config/heli_aws.mk
Switched to config file ./makefile_config/heli_aws.mk

Example

  • help
make help
  • create a hosted cluster automatically
make create
  • destory cluster and related resources
make clean
  • create one s3 bucket
make create-s3
  • delete one s3 bucket
make delete-s3
  • hypershift install
make ho-install
  • uninstall hypershift operator
make ho-uninstall
  • hypershift create an aws hosted cluster
make create-aws
  • destroy an aws hosted cluster
make destroy-aws
  • build the latest hypershift cli
make build-cli
  • build a release-4.13 hypershift cli
BRANCH=release-4.13 make build-cli 
  • build a hypershift cli based on PR 1234
PR_NUMBER=1234 make build-cli-pr
  • delete all s3 buckets created by this repo (be careful!)
make  clean-s3-all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published