mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-17 19:00:04 +00:00
Remove kaniko plugin and refs (#5371)
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
This commit is contained in:
@@ -103,9 +103,8 @@ When using the `local` backend, the `image` entry is used to specify the shell,
|
|||||||
- go build
|
- go build
|
||||||
- go test
|
- go test
|
||||||
|
|
||||||
- name: publish
|
- name: prettier
|
||||||
+ image: woodpeckerci/plugin-kaniko
|
+ image: woodpeckerci/plugin-prettier
|
||||||
repo: foo/bar
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: database
|
- name: database
|
||||||
@@ -473,9 +472,11 @@ Normally steps of a workflow are executed serially in the order in which they ar
|
|||||||
- go build
|
- go build
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
repo: foo/bar
|
bucket: my-bucket-name
|
||||||
|
source: some-file-name
|
||||||
|
target: /target/some-file
|
||||||
+ depends_on: [build, test] # deploy will be executed after build and test finished
|
+ depends_on: [build, test] # deploy will be executed after build and test finished
|
||||||
|
|
||||||
- name: test # test will be executed immediately as no dependencies are set
|
- name: test # test will be executed immediately as no dependencies are set
|
||||||
|
@@ -170,20 +170,20 @@ Example commit substitution:
|
|||||||
|
|
||||||
```diff
|
```diff
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: s3
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
+ tags: ${CI_COMMIT_SHA}
|
+ target: /target/${CI_COMMIT_SHA}
|
||||||
```
|
```
|
||||||
|
|
||||||
Example tag substitution:
|
Example tag substitution:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: s3
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
+ tags: ${CI_COMMIT_TAG}
|
+ target: /target/${CI_COMMIT_TAG}
|
||||||
```
|
```
|
||||||
|
|
||||||
## String Operations
|
## String Operations
|
||||||
@@ -208,18 +208,18 @@ Example variable substitution with substring:
|
|||||||
|
|
||||||
```diff
|
```diff
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: s3
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
+ tags: ${CI_COMMIT_SHA:0:8}
|
+ target: /target/${CI_COMMIT_SHA:0:8}
|
||||||
```
|
```
|
||||||
|
|
||||||
Example variable substitution strips `v` prefix from `v.1.0.0`:
|
Example variable substitution strips `v` prefix from `v.1.0.0`:
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: s3
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
+ tags: ${CI_COMMIT_TAG##v}
|
+ target: /target/${CI_COMMIT_TAG##v}
|
||||||
```
|
```
|
||||||
|
@@ -23,7 +23,7 @@ steps:
|
|||||||
template: config/k8s/service.yaml
|
template: config/k8s/service.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Example pipeline using the Docker and Prettier plugins:
|
Example pipeline using the Prettier and S3 plugins:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
@@ -37,10 +37,11 @@ steps:
|
|||||||
image: woodpeckerci/plugin-prettier
|
image: woodpeckerci/plugin-prettier
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-s3
|
||||||
settings:
|
settings:
|
||||||
repo: foo/bar
|
bucket: my-bucket-name
|
||||||
tags: latest
|
source: some-file-name
|
||||||
|
target: /target/some-file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Plugin Isolation
|
## Plugin Isolation
|
||||||
|
Reference in New Issue
Block a user