ci: drop master branch from workflow triggers

Also, polish the remaining docs hits to 'master'.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2021-02-23 08:17:41 +02:00
parent eb30df68cf
commit 15ad4ed54b
5 changed files with 6 additions and 9 deletions

View File

@ -3,11 +3,9 @@ on:
push:
branches:
- main
- master
- 'release-*'
pull_request:
branches:
- master
- main
- 'release-*'
env:

View File

@ -4,7 +4,6 @@ on:
push:
branches:
- main
- master
- release-0.19
jobs:
@ -20,7 +19,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
ref: main
- name: Set up doc directory
run: |
mkdir $HOME/output

View File

@ -1,5 +1,5 @@
# Overview
[![Build Status](https://github.com/intel/intel-device-plugins-for-kubernetes/workflows/CI/badge.svg?branch=master)](https://github.com/intel/intel-device-plugins-for-kubernetes/actions?query=workflow%3ACI)
[![Build Status](https://github.com/intel/intel-device-plugins-for-kubernetes/workflows/CI/badge.svg?branch=main)](https://github.com/intel/intel-device-plugins-for-kubernetes/actions?query=workflow%3ACI)
[![Go Report Card](https://goreportcard.com/badge/github.com/intel/intel-device-plugins-for-kubernetes)](https://goreportcard.com/report/github.com/intel/intel-device-plugins-for-kubernetes)
[![GoDoc](https://godoc.org/github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin?status.svg)](https://godoc.org/github.com/intel/intel-device-plugins-for-kubernetes/pkg/deviceplugin)
@ -282,7 +282,7 @@ matching Kubernetes versions are listed below:
## Pre-built plugin images
Pre-built images of the plugins are available on the Docker hub. These images are automatically built and uploaded to the hub from the latest master branch of this repository.
Pre-built images of the plugins are available on the Docker hub. These images are automatically built and uploaded to the hub from the latest main branch of this repository.
Release tagged images of the components are also available on the Docker hub, tagged with their release version numbers in the format x.y.z, corresponding to the branches and releases in this repository.

View File

@ -32,7 +32,7 @@ Examples are provided showing how to deploy the plugin either using a DaemonSet
[Pre-built images](https://hub.docker.com/r/intel/intel-dsa-plugin)
of this component are available on the Docker hub. These images are automatically built and uploaded
to the hub from the latest master branch of this repository.
to the hub from the latest main branch of this repository.
Release tagged images of the components are also available on the Docker hub, tagged with their
release version numbers in the format `x.y.z`, corresponding to the branches and releases in this
@ -43,7 +43,7 @@ $ kubectl apply -k https://github.com/intel/intel-device-plugins-for-kubernetes/
daemonset.apps/intel-dsa-plugin created
```
Where `<REF>` needs to be substituted with the desired git ref, e.g. `master`.
Where `<REF>` needs to be substituted with the desired git ref, e.g. `main`.
Nothing else is needed. But if you want to deploy a customized version of the plugin read further.

View File

@ -59,7 +59,7 @@ author = 'various'
#
##############################################################################
baseBranch = "master"
baseBranch = "main"
sphinx_md_useGitHubURL = True
commitSHA = getenv('GITHUB_SHA')
githubBaseURL = 'https://github.com/' + (getenv('GITHUB_REPOSITORY') or 'intel/intel-device-plugins-for-kubernetes') + '/'