0.1.41 • Published 18 days ago

@backstage/plugin-gocd v0.1.41

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
18 days 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

20 days ago

0.1.40

23 days ago

0.1.40-next.1

1 month ago

0.1.40-next.0

1 month ago

0.1.39

1 month ago

0.1.38

2 months ago

0.1.37

2 months ago

0.1.37-next.2

2 months ago

0.1.37-next.1

2 months ago

0.1.37-next.0

2 months ago

0.1.36

3 months ago

0.1.36-next.3

3 months ago

0.1.36-next.2

3 months ago

0.1.36-next.1

3 months ago

0.1.36-next.0

4 months ago

0.1.35

4 months ago

0.1.35-next.2

4 months ago

0.1.35-next.1

4 months ago

0.1.35-next.0

5 months ago

0.1.34

5 months ago

0.1.34-next.3

5 months ago

0.1.34-next.2

5 months ago

0.1.34-next.1

5 months ago

0.1.29-next.0

9 months ago

0.1.34-next.0

6 months ago

0.1.30-next.1

8 months ago

0.1.27-next.1

9 months ago

0.1.27-next.0

10 months ago

0.1.30-next.2

8 months ago

0.1.30-next.3

8 months ago

0.1.32-next.0

7 months ago

0.1.32-next.1

6 months ago

0.1.32-next.2

6 months ago

0.1.31-next.0

8 months ago

0.1.31-next.2

7 months ago

0.1.31-next.1

7 months ago

0.1.26-next.1

10 months ago

0.1.26-next.2

10 months ago

0.1.30

8 months ago

0.1.31

7 months ago

0.1.32

6 months ago

0.1.33

6 months ago

0.1.27

9 months ago

0.1.28

9 months ago

0.1.29

9 months ago

0.1.26

10 months ago

0.1.26-next.0

11 months ago

0.1.25-next.3

11 months ago

0.1.25-next.2

11 months ago

0.1.25

11 months ago

0.1.24-next.1

1 year ago

0.1.24-next.2

1 year ago

0.1.25-next.1

12 months ago

0.1.25-next.0

12 months ago

0.1.24

12 months ago

0.1.24-next.0

1 year ago

0.1.23-next.3

1 year ago

0.1.23

1 year ago

0.1.23-next.2

1 year ago

0.1.23-next.1

1 year ago

0.1.23-next.0

1 year ago

0.1.22-next.2

1 year ago

0.1.22-next.1

1 year ago

0.1.22-next.0

1 year ago

0.1.21

1 year ago

0.1.22

1 year ago

0.1.21-next.2

1 year ago

0.1.21-next.0

1 year ago

0.1.21-next.1

1 year ago

0.1.20-next.2

1 year ago

0.1.20-next.1

1 year ago

0.1.20

1 year ago

0.1.18-next.2

1 year ago

0.1.18-next.3

1 year ago

0.1.18-next.0

1 year ago

0.1.18-next.1

1 year ago

0.1.18-next.4

1 year ago

0.1.20-next.0

1 year ago

0.1.17-next.1

2 years ago

0.1.17-next.0

2 years ago

0.1.16

2 years ago

0.1.17

1 year ago

0.1.18

1 year ago

0.1.19

1 year ago

0.1.16-next.2

2 years ago

0.1.16-next.0

2 years ago

0.1.16-next.1

2 years ago

0.1.15-next.2

2 years ago

0.1.15-next.1

2 years ago

0.1.15-next.0

2 years ago

0.1.15

2 years ago

0.1.13-next.0

2 years ago

0.1.13-next.1

2 years ago

0.1.13-next.2

2 years ago

0.1.13-next.3

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.14-next.1

2 years ago

0.1.14-next.0

2 years ago

0.1.12-next.1

2 years ago

0.1.12-next.0

2 years ago

0.1.11-next.0

2 years ago

0.1.11-next.1

2 years ago

0.1.11-next.2

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.8-next.0

2 years ago

0.1.10-next.2

2 years ago

0.1.10-next.1

2 years ago

0.1.10-next.0

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.4-next.0

2 years ago

0.1.3

2 years ago

0.1.3-next.0

2 years ago

0.1.2

2 years ago

0.1.2-next.0

2 years ago

0.1.1

2 years ago