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

Update the branch master => main #289

Merged
merged 1 commit into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ main ]
schedule:
- cron: '31 7 * * 4'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
tags:
- '*'
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:

Expand Down
4 changes: 2 additions & 2 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
VERSION=0.1 ./get.sh

# Run script via curl + bash
curl -sL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/master/get.sh | bash
curl -sL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/main/get.sh | bash

# Run script via curl + bash, replace if any existing version exist in the /usr/local/bin path
curl -sL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/master/get.sh | FORCE=1 bash
curl -sL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/main/get.sh | FORCE=1 bash
'

# Trap ctrl-c and call ctrl_c()
Expand Down
2 changes: 1 addition & 1 deletion samples/convert-upload-images-powervs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Args:
#### How to download and use script
1. Download the script
```shell
curl -O -fsSL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/master/samples/convert-upload-images-powervs/convert-upload-images-powervs
curl -O -fsSL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/main/samples/convert-upload-images-powervs/convert-upload-images-powervs
```
2. Give execute permission
```shell
Expand Down
4 changes: 2 additions & 2 deletions samples/image-create-and-upload-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ The `image_create_and_upload_script` helps to create ova image from qcow2 image,
#### How to download and use script
1. Download the script and config file
```
curl -O -fsSL https://raw.github.com/ppc64le-cloud/pvsadm/master/samples/image-create-and-upload-sample/image_create_and_upload_script.sh
curl -O -fsSL https://raw.github.com/ppc64le-cloud/pvsadm/master/samples/image-create-and-upload-sample/config.sh
curl -O -fsSL https://raw.github.com/ppc64le-cloud/pvsadm/main/samples/image-create-and-upload-sample/image_create_and_upload_script.sh
curl -O -fsSL https://raw.github.com/ppc64le-cloud/pvsadm/main/samples/image-create-and-upload-sample/config.sh
```
2. Change values in the config.sh file as per description given in file
3. Run the script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function create_and_upload_image() {

dnf install -y qemu-img cloud-utils-growpart
echo 'Initializing pvsadm tool !'
curl -sL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/master/get.sh | FORCE=1 bash
curl -sL https://raw.githubusercontent.com/ppc64le-cloud/pvsadm/main/get.sh | FORCE=1 bash
export IBMCLOUD_API_KEY=$API_KEY

if [ -n "$CENTOS_URL" ]; then
Expand Down