Skip to content

Commit 5bd5372

Browse files
committed
docs(imagebuilder): improve the documentation
1 parent ee38427 commit 5bd5372

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

.drone/drone.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ steps:
151151
image: docker.io/drycc/python-dev
152152
commands:
153153
- IMAGE_TAG=$([ ! -z $DRONE_TAG ] && echo ${DRONE_TAG:1} || echo \"canary\")
154-
- sed -i "s/image_tag:\ \"canary\"/image_tag:\ $IMAGE_TAG/g" charts/buildparker/values.yaml
155-
- helm package charts/buildparker --version ${DRONE_TAG:-v1.0.0}
156-
- curl -u $CHARTMUSEUM_USERNAME:$CHARTMUSEUM_PASSWORD -F chart=@buildparker-${DRONE_TAG:-v1.0.0}.tgz "$CHARTMUSEUM_API/api/$([ -z $DRONE_TAG ] && echo testing |echo stable)/charts"
154+
- sed -i "s/image_tag:\ \"canary\"/image_tag:\ $IMAGE_TAG/g" charts/imagebuilder/values.yaml
155+
- helm package charts/imagebuilder --version ${DRONE_TAG:-v1.0.0}
156+
- curl -u $CHARTMUSEUM_USERNAME:$CHARTMUSEUM_PASSWORD -F chart=@imagebuilder-${DRONE_TAG:-v1.0.0}.tgz "$CHARTMUSEUM_API/api/$([ -z $DRONE_TAG ] && echo testing |echo stable)/charts"
157157
environment:
158158
CHARTMUSEUM_USERNAME:
159159
from_secret: chartmuseum_username

.drone/manifest.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
image: docker.io/drycc/buildparker:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}canary{{/if}}
2+
image: docker.io/drycc/imagebuilder:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}canary{{/if}}
33
{{#if build.tags}}
44
tags:
55
{{#each build.tags}}
@@ -8,12 +8,12 @@ tags:
88
{{/if}}
99
manifests:
1010
-
11-
image: docker.io/drycc/buildparker:{{#if build.tag}}{{build.tag}}-{{else}}latest-{{/if}}linux-amd64
11+
image: docker.io/drycc/imagebuilder:{{#if build.tag}}{{build.tag}}-{{else}}latest-{{/if}}linux-amd64
1212
platform:
1313
architecture: amd64
1414
os: linux
1515
-
16-
image: docker.io/drycc/buildparker:{{#if build.tag}}{{build.tag}}-{{else}}latest-{{/if}}linux-arm64
16+
image: docker.io/drycc/imagebuilder:{{#if build.tag}}{{build.tag}}-{{else}}latest-{{/if}}linux-arm64
1717
platform:
1818
architecture: arm64
1919
os: linux

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ We welcome your input! If you have feedback, please [submit an issue][issues]. I
99

1010
# About
1111

12-
The imagebuilder downloads a git archive ([gzip](http://www.gzip.org/)ped [tar](https://www.gnu.org/software/tar/)ball) from a specified [S3 API compatible server][s3-api], compiles a [slug](https://devcenter.heroku.com/articles/slug-compiler) and uploads it to a specified S3 API compatible server.
12+
The V3 version of imagebuilder unifies the building model, uses the latest CNCF [buildpack](https://github.com/buildpacks) building program, and also supports the dockerfile format.
1313

14-
This component is usually launched by the [Drycc Builder](https://github.com/drycc/builder) and used inside the Drycc [PaaS](https://en.wikipedia.org/wiki/Platform_as_a_service), but it is flexible enough to be used as a pod inside any Kubernetes cluster.
15-
16-
Please see https://github.com/drycc/builder/blob/master/README.md for a more detailed description of how `imagebuilder` interacts with `builder`.
14+
You can use `DRYCC_STACK` specifies the construction mode. Currently, you can choose two construction formats: `container` and `buildpack`.
1715

1816
# Development
1917

0 commit comments

Comments
 (0)