Skip to content

Commit db565cf

Browse files
author
lijianguo
committed
chore(CI): use drone
1 parent 22b7c3d commit db565cf

27 files changed

Lines changed: 101 additions & 511 deletions

File tree

.drone/drone.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
kind: pipeline
2+
type: docker
3+
name: linux-amd64
4+
5+
platform:
6+
arch: amd64
7+
os: linux
8+
9+
steps:
10+
- name: check
11+
image: docker.io/drycc/go-dev
12+
pull: always
13+
privileged: true
14+
commands:
15+
- make check
16+
when:
17+
event:
18+
- pull_request
19+
- push
20+
21+
- name: release
22+
image: docker.io/drycc/go-dev
23+
pull: always
24+
privileged: true
25+
commands:
26+
- make prepare-assets
27+
- make latest-release
28+
environment:
29+
GIT_REPO: ${DRONE_REPO}
30+
GIT_TAG: ${DRONE_TAG}
31+
REPO_OWNER: ${DRONE_REPO_OWNER}
32+
REPO_NAME: ${DRONE_REPO_NAME}
33+
BOT_GITHUB_TOKEN:
34+
from_secret: github_token
35+
when:
36+
event:
37+
- push
38+
volumes:
39+
- name: image_registries
40+
path: /etc/containers/registries.conf
41+
42+
trigger:
43+
event:
44+
- push
45+
46+
volumes:
47+
- name: image_registries
48+
host:
49+
path: /etc/containers/registries.conf

.travis.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

CODEOWNERS

Lines changed: 0 additions & 11 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export GITHUB_TOKEN=$(BOT_GITHUB_TOKEN)
44

55
.PHONY: check
66
check:
7-
./scripts/checker.sh --helm-lint --directories ./addons --helm-version v2.10.0
7+
./scripts/checker.sh --helm-lint --directories ./addons --helm-version v3.6.3
88

99
.PHONY: prepare-assets
1010
prepare-assets:

NOTICE.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

OWNERS

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,22 @@
11
# Addons
22

3-
[![Build Status](https://travis-ci.org/zhumengyuan/addons.svg?branch=master)](https://travis-ci.org/zhumengyuan/addons)
3+
[![Build Status](https://drone.drycc.cc/api/badges/zhumengyuan/addons/status.svg)](https://drone.drycc.cc/zhumengyuan/addons)
44

55
## Overview
66

7-
This repository contains addons which the Helm Broker uses. For more information on what the Helm Broker is, how it uses addons, and how to create your own addons, read the official Helm Broker [documentation](https://kyma-project.io/docs/master/components/helm-broker/#overview-overview).
7+
This repository contains addons which the Helm Broker uses. For more information on what the Helm Broker is, how it uses addons, and how to create your own addons, read the Helm Broker [helmbroker](https://github.com/drycc/helmbroker).
88

99
## Usage
1010

11-
The `addons` folder contains sources of addons and index files that are available in [releases](https://github.com/kyma-project/addons/releases). Choose a set of addons you want to use, add your own addons, and configure the Helm Broker to fetch them.
12-
13-
## Development
14-
15-
Develop your own addons repository forked from the original repository. Read [this](docs/getting-started.md) document to learn how. On your fork, you can create your own addons. Your addons must follow the [addons template](https://kyma-project.io/docs/master/components/helm-broker/#details-create-addons) and your addons repository must have the specified [structure](https://kyma-project.io/docs/master/components/helm-broker/#details-create-addons-repository) so that the Helm Broker can use it. Read the [`CONTRIBUTING.md`](CONTRIBUTING.md) document that includes the contributing rules specific for this repository.
16-
17-
>**TIP:** You can base your addon on the [`testing` addon](addons/testing-0.0.1) that uses all functionality provided by the addon specification.
11+
The `addons` folder contains sources of addons and index files that are available in [releases](https://github.com/drycc/zhumengyuan/releases). Choose a set of addons you want to use, add your own addons, and configure the Helm Broker to fetch them.
1812

1913
### Project structure
2014

2115
The repository has the following structure:
2216

2317
```
24-
├── .github # Pull request and issue templates
2518
├── addons # Sources of addons
26-
├── bin # Tools used by Travis CI
19+
├── bin # Tools used by CI
2720
├── docs # Documentation source files
2821
└── scripts # Scripts and tools which check and create addons
2922
```

0 commit comments

Comments
 (0)