0.1.41 • Published 1 year ago

@backstage/plugin-gocd v0.1.41

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

GoCD

Welcome to the GoCD plugin!

  • View recent GoCD Builds

Installation

GoCD Plugin exposes an entity tab component named EntityGoCdContent. You can include it in the EntityPage.tsx`:

// At the top imports
import { EntityGoCdContent } from '@backstage/plugin-gocd';

// Farther down at the component declaration
const componentEntityPage = (
  <EntityLayout>
    {/* Place the following section where you want the tab to appear */}
    <EntityLayout.Route path="/go-cd" title="GoCD">
      <EntityGoCdContent />
    </EntityLayout.Route>

Now your plugin should be visible as a tab at the top of the entity pages, specifically for components that are of the type component. However, it warns of a missing gocd.org/pipelines annotation.

Add the annotation to your component catalog-info.yaml. You can refer to multiple GoCD pipelines by defining their names separated by commas, as shown in the highlighted example below:

metadata:
  annotations:
    gocd.org/pipelines: '<NAME OF THE PIPELINE 1>[,<NAME OF PIPELINE 2>]'

The plugin requires to configure a GoCD API proxy with a GOCD_AUTH_CREDENTIALS for authentication in the app-config.yaml. Its value is an opaque token you can obtain directly from your GoCD instance, in the shape base64(user + ':' + pass). For example, a user "root" and password "root" would become base64('root:root') = cm9vdDpyb290:

proxy:
  '/gocd':
    target: '<go cd server host>/go/api'
    allowedMethods: ['GET']
    allowedHeaders: ['Authorization']
    headers:
      Authorization: Basic ${GOCD_AUTH_CREDENTIALS}

You should also include the gocd section to allow for the plugin to redirect back to GoCD pipelines in your deployed instance:

gocd:
  baseUrl: <go cd server host>
0.1.41

1 year ago

0.1.40

1 year ago

0.1.40-next.1

1 year ago

0.1.40-next.0

1 year ago

0.1.39

1 year ago

0.1.38

1 year ago

0.1.37

1 year ago

0.1.37-next.2

1 year ago

0.1.37-next.1

1 year ago

0.1.37-next.0

1 year ago

0.1.36

1 year ago

0.1.36-next.3

1 year ago

0.1.36-next.2

1 year ago

0.1.36-next.1

1 year ago

0.1.36-next.0

1 year ago

0.1.35

1 year ago

0.1.35-next.2

1 year ago

0.1.35-next.1

1 year ago

0.1.35-next.0

1 year ago

0.1.34

1 year ago

0.1.34-next.3

1 year ago

0.1.34-next.2

1 year ago

0.1.34-next.1

1 year ago

0.1.29-next.0

2 years ago

0.1.34-next.0

1 year ago

0.1.30-next.1

2 years ago

0.1.27-next.1

2 years ago

0.1.27-next.0

2 years ago

0.1.30-next.2

2 years ago

0.1.30-next.3

2 years ago

0.1.32-next.0

2 years ago

0.1.32-next.1

2 years ago

0.1.32-next.2

1 year ago

0.1.31-next.0

2 years ago

0.1.31-next.2

2 years ago

0.1.31-next.1

2 years ago

0.1.26-next.1

2 years ago

0.1.26-next.2

2 years ago

0.1.30

2 years ago

0.1.31

2 years ago

0.1.32

1 year ago

0.1.33

1 year ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.29

2 years ago

0.1.26

2 years ago

0.1.26-next.0

2 years ago

0.1.25-next.3

2 years ago

0.1.25-next.2

2 years ago

0.1.25

2 years ago

0.1.24-next.1

2 years ago

0.1.24-next.2

2 years ago

0.1.25-next.1

2 years ago

0.1.25-next.0

2 years ago

0.1.24

2 years ago

0.1.24-next.0

2 years ago

0.1.23-next.3

2 years ago

0.1.23

2 years ago

0.1.23-next.2

2 years ago

0.1.23-next.1

2 years ago

0.1.23-next.0

2 years ago

0.1.22-next.2

2 years ago

0.1.22-next.1

2 years ago

0.1.22-next.0

2 years ago

0.1.21

2 years ago

0.1.22

2 years ago

0.1.21-next.2

2 years ago

0.1.21-next.0

2 years ago

0.1.21-next.1

2 years ago

0.1.20-next.2

2 years ago

0.1.20-next.1

2 years ago

0.1.20

2 years ago

0.1.18-next.2

2 years ago

0.1.18-next.3

2 years ago

0.1.18-next.0

2 years ago

0.1.18-next.1

2 years ago

0.1.18-next.4

2 years ago

0.1.20-next.0

2 years ago

0.1.17-next.1

2 years ago

0.1.17-next.0

3 years ago

0.1.16

3 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.16-next.2

3 years ago

0.1.16-next.0

3 years ago

0.1.16-next.1

3 years ago

0.1.15-next.2

3 years ago

0.1.15-next.1

3 years ago

0.1.15-next.0

3 years ago

0.1.15

3 years ago

0.1.13-next.0

3 years ago

0.1.13-next.1

3 years ago

0.1.13-next.2

3 years ago

0.1.13-next.3

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.14-next.1

3 years ago

0.1.14-next.0

3 years ago

0.1.12-next.1

3 years ago

0.1.12-next.0

3 years ago

0.1.11-next.0

3 years ago

0.1.11-next.1

3 years ago

0.1.11-next.2

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.8-next.0

3 years ago

0.1.10-next.2

3 years ago

0.1.10-next.1

3 years ago

0.1.10-next.0

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.4-next.0

3 years ago

0.1.3

3 years ago

0.1.3-next.0

3 years ago

0.1.2

3 years ago

0.1.2-next.0

3 years ago

0.1.1

3 years ago