0.0.0-nightly-2022042277 • Published 4 years ago

@backstage/plugin-circleci v0.0.0-nightly-2022042277

Weekly downloads
3,314
License
Apache-2.0
Repository
github
Last release
4 years ago

CircleCI Plugin

Website: https://circleci.com/

Setup

  1. If you have a standalone app (you didn't clone this repo), then do
# From your Backstage root directory
cd packages/app
yarn add @backstage/plugin-circleci
  1. Add the EntityCircleCIContent extension to the entity page in your app:
// In packages/app/src/components/catalog/EntityPage.tsx
import {
  EntityCircleCIContent,
  isCircleCIAvailable,
} from '@backstage/plugin-circleci';

// For example in the CI/CD section
const cicdContent = (
  <EntitySwitch>
    <EntitySwitch.Case if={isCircleCIAvailable}>
      <EntityCircleCIContent />
    </EntitySwitch.Case>
  1. Add proxy config:
# In app-config.yaml
proxy:
  '/circleci/api':
    target: https://circleci.com/api/v1.1
    headers:
      Circle-Token: ${CIRCLECI_AUTH_TOKEN}
  1. Get and provide a CIRCLECI_AUTH_TOKEN as an environment variable (see the CircleCI docs).
  2. Add a circleci.com/project-slug annotation to your respective catalog-info.yaml files, on the format // (https://backstage.io/docs/architecture-decisions/adrs-adr002#format).
# Example catalog-info.yaml entity definition file
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  # ...
  annotations:
    # This also supports bitbucket/xxx/yyy
    circleci.com/project-slug: github/my-org/my-repo
spec:
  type: service
  # ...

Features

  • List top 50 builds for a project
  • Dive into one build to see logs
  • Polling (logs only)
  • Retry builds
  • Works for both project and personal tokens
  • Pagination for builds

Limitations

0.3.35

2 years ago

0.3.34

2 years ago

0.3.34-next.1

2 years ago

0.3.34-next.0

2 years ago

0.3.33

2 years ago

0.3.32

2 years ago

0.3.31

2 years ago

0.3.31-next.2

2 years ago

0.3.31-next.1

2 years ago

0.3.31-next.0

2 years ago

0.3.30

2 years ago

0.3.30-next.3

2 years ago

0.3.30-next.2

2 years ago

0.3.30-next.1

2 years ago

0.3.30-next.0

2 years ago

0.3.29

2 years ago

0.3.29-next.2

2 years ago

0.3.29-next.1

2 years ago

0.3.29-next.0

2 years ago

0.3.28

2 years ago

0.3.28-next.3

2 years ago

0.3.28-next.2

2 years ago

0.3.28-next.1

2 years ago

0.3.20-next.2

3 years ago

0.3.20-next.1

3 years ago

0.3.23-next.0

2 years ago

0.3.28-next.0

2 years ago

0.3.20

3 years ago

0.3.27

2 years ago

0.3.26

2 years ago

0.3.25

2 years ago

0.3.24

2 years ago

0.3.23

2 years ago

0.3.22

2 years ago

0.3.21

2 years ago

0.3.25-next.0

2 years ago

0.3.25-next.1

2 years ago

0.3.25-next.2

2 years ago

0.3.24-next.2

2 years ago

0.3.24-next.1

2 years ago

0.3.24-next.3

2 years ago

0.3.26-next.1

2 years ago

0.3.26-next.2

2 years ago

0.3.26-next.0

2 years ago

0.3.21-next.0

3 years ago

0.3.21-next.1

3 years ago

0.3.19-next.3

3 years ago

0.3.19-next.2

3 years ago

0.3.20-next.0

3 years ago

0.3.19

3 years ago

0.3.19-next.1

3 years ago

0.3.19-next.0

3 years ago

0.3.18

3 years ago

0.3.18-next.1

3 years ago

0.3.18-next.2

3 years ago

0.3.17-next.3

3 years ago

0.3.17

3 years ago

0.3.18-next.0

3 years ago

0.3.16-next.2

3 years ago

0.3.16-next.1

3 years ago

0.3.16-next.0

3 years ago

0.3.17-next.0

3 years ago

0.3.17-next.1

3 years ago

0.3.17-next.2

3 years ago

0.3.16

3 years ago

0.3.15

3 years ago

0.3.15-next.0

3 years ago

0.3.15-next.1

3 years ago

0.3.15-next.2

3 years ago

0.3.14

3 years ago

0.3.14-next.1

3 years ago

0.3.14-next.2

3 years ago

0.3.12-next.0

3 years ago

0.3.12-next.1

3 years ago

0.3.12-next.2

3 years ago

0.3.12-next.3

3 years ago

0.3.12-next.4

3 years ago

0.3.11-next.0

3 years ago

0.3.11-next.1

3 years ago

0.3.13

3 years ago

0.3.12

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.14-next.0

3 years ago

0.3.10-next.0

3 years ago

0.3.10-next.1

3 years ago

0.3.10-next.2

3 years ago

0.3.9-next.1

3 years ago

0.3.9-next.0

3 years ago

0.3.9-next.3

3 years ago

0.3.9-next.2

3 years ago

0.3.9

3 years ago

0.3.8-next.1

4 years ago

0.3.8-next.0

4 years ago

0.3.7-next.1

4 years ago

0.3.7-next.0

4 years ago

0.3.7-next.3

4 years ago

0.3.7-next.2

4 years ago

0.3.6-next.1

4 years ago

0.3.6-next.0

4 years ago

0.3.6

4 years ago

0.3.8

3 years ago

0.3.7

4 years ago

0.3.5

4 years ago

0.3.5-next.2

4 years ago

0.3.5-next.0

4 years ago

0.3.5-next.1

4 years ago

0.3.2

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.4-next.1

4 years ago

0.3.2-next.0

4 years ago

0.3.4-next.0

4 years ago

0.3.1

4 years ago

0.2.35-next.0

4 years ago

0.2.37-next.0

4 years ago

0.3.0

4 years ago

0.2.36-next.0

4 years ago

0.2.38

4 years ago

0.2.37

4 years ago

0.2.36

4 years ago

0.2.35

4 years ago

0.2.34

4 years ago

0.2.33

4 years ago

0.2.32

4 years ago

0.2.31

4 years ago

0.2.30

4 years ago

0.2.29

4 years ago

0.2.28

4 years ago

0.2.27

4 years ago

0.2.26

4 years ago

0.2.25

4 years ago

0.2.24

4 years ago

0.2.23

4 years ago

0.2.22

4 years ago

0.2.21

5 years ago

0.2.20

5 years ago

0.2.19

5 years ago

0.2.18

5 years ago

0.2.17

5 years ago

0.2.16

5 years ago

0.2.15

5 years ago

0.2.14

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.1-alpha.26

5 years ago

0.1.1-alpha.25

5 years ago

0.1.1-alpha.24

5 years ago

0.1.1-alpha.23

5 years ago

0.1.1-alpha.22

5 years ago

0.1.1-alpha.21

5 years ago

0.1.1-alpha.20

5 years ago

0.1.1-alpha.19

5 years ago

0.1.1-alpha.18

6 years ago

0.1.1-alpha.17

6 years ago

0.1.1-alpha.16

6 years ago

0.1.1-alpha.15

6 years ago

0.1.1-alpha.14

6 years ago

0.1.1-alpha.13

6 years ago

0.1.1-alpha.11

6 years ago

0.1.1-alpha.10

6 years ago

0.1.1-alpha.12

6 years ago

0.1.1-alpha.9

6 years ago