Skip to content

Commit fb9ec3b

Browse files
authored
add catalog-info.yaml (#106)
1 parent 64ada4b commit fb9ec3b

2 files changed

Lines changed: 36 additions & 24 deletions

File tree

.circleci/config.yml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,35 @@ version: 2.1
22
jobs:
33
build:
44
docker:
5-
- image: cimg/go:1.24
5+
- image: cimg/go:1.24
66
environment:
77
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
88
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
99
steps:
10-
- run:
11-
command: cd $HOME && git clone --depth 1 -v https://github.com/Clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
12-
name: Clone ci-scripts
13-
- checkout
14-
- restore_cache:
15-
keys:
16-
- go-mod-v1-{{ checksum "go.sum" }}
17-
- setup_remote_docker
18-
- run:
19-
command: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
20-
name: Set up CircleCI artifacts directories
21-
- run: make install_deps
22-
- run: make build
23-
- run: make test
24-
- run: $HOME/ci-scripts/circleci/docker-publish $DOCKER_USER $DOCKER_PASS "$DOCKER_EMAIL" $DOCKER_ORG
25-
- run: if [ "${CIRCLE_BRANCH}" == "master" ]; then make VERSION && make deb && cp deb/sphinx.deb sphinx-amd64.deb && $HOME/ci-scripts/circleci/github-release $GH_RELEASE_TOKEN sphinx-amd64.deb; fi;
26-
- save_cache:
27-
key: go-mod-v1-{{ checksum "go.sum" }}
28-
paths:
29-
- /go/pkg/mod
10+
- run:
11+
command: cd $HOME && git clone --depth 1 -v https://github.com/Clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
12+
name: Clone ci-scripts
13+
- checkout
14+
- restore_cache:
15+
keys:
16+
- go-mod-v1-{{ checksum "go.sum" }}
17+
- setup_remote_docker
18+
- run:
19+
command: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
20+
name: Set up CircleCI artifacts directories
21+
- run: make install_deps
22+
- run: make build
23+
- run: make test
24+
- run: $HOME/ci-scripts/circleci/docker-publish $DOCKER_USER $DOCKER_PASS "$DOCKER_EMAIL" $DOCKER_ORG
25+
- run: if [ "${CIRCLE_BRANCH}" == "master" ]; then make VERSION && make deb && cp deb/sphinx.deb sphinx-amd64.deb && $HOME/ci-scripts/circleci/github-release $GH_RELEASE_TOKEN sphinx-amd64.deb; fi;
26+
- save_cache:
27+
key: go-mod-v1-{{ checksum "go.sum" }}
28+
paths:
29+
- /go/pkg/mod
30+
- run: $HOME/ci-scripts/circleci/catalog-sync $CATAPULT_URL $CATAPULT_USER $CATAPULT_PASS sphinx utility
3031
workflows:
3132
build_test_publish_deploy:
3233
jobs:
33-
- build:
34-
context:
35-
- aws-ecr-public
34+
- build:
35+
context:
36+
- aws-ecr-public

catalog-info.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: backstage.io/v1alpha1
2+
kind: Component
3+
metadata:
4+
name: sphinx
5+
description: Configurable HTTP rate limiter
6+
owner: unknown
7+
spec:
8+
type: unknown
9+
lifecycle: production
10+
owner: unknown
11+
system: Clever

0 commit comments

Comments
 (0)