mirror of
https://github.com/werf/actions.git
synced 2026-02-05 02:46:23 +03:00
Merge pull request #7 from werf/readme_replace_flant_werf_with_werf_werf
[readme] Move to werf organization
This commit is contained in:
46
README.md
46
README.md
@@ -1,34 +1,34 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
This action set allows you to organize CI/CD with GitHub Actions and [werf](https://github.com/flant/werf). The set consists of several independent and complex actions:
|
This action set allows you to organize CI/CD with GitHub Actions and [werf](https://github.com/werf/werf). The set consists of several independent and complex actions:
|
||||||
|
|
||||||
- [flant/werf-actions/converge](https://github.com/flant/werf-actions/tree/master/converge)
|
- [werf/actions/converge](https://github.com/werf/actions/tree/master/converge)
|
||||||
- [flant/werf-actions/build-and-publish](https://github.com/flant/werf-actions/tree/master/build-and-publish)
|
- [werf/actions/build-and-publish](https://github.com/werf/actions/tree/master/build-and-publish)
|
||||||
- [flant/werf-actions/build](https://github.com/flant/werf-actions/tree/master/build)
|
- [werf/actions/build](https://github.com/werf/actions/tree/master/build)
|
||||||
- [flant/werf-actions/publish](https://github.com/flant/werf-actions/tree/master/build)
|
- [werf/actions/publish](https://github.com/werf/actions/tree/master/build)
|
||||||
- [flant/werf-actions/deploy](https://github.com/flant/werf-actions/tree/master/deploy)
|
- [werf/actions/deploy](https://github.com/werf/actions/tree/master/deploy)
|
||||||
- [flant/werf-actions/dismiss](https://github.com/flant/werf-actions/tree/master/dismiss)
|
- [werf/actions/dismiss](https://github.com/werf/actions/tree/master/dismiss)
|
||||||
- [flant/werf-actions/run](https://github.com/flant/werf-actions/tree/master/run)
|
- [werf/actions/run](https://github.com/werf/actions/tree/master/run)
|
||||||
- [flant/werf-actions/cleanup](https://github.com/flant/werf-actions/tree/master/cleanup)
|
- [werf/actions/cleanup](https://github.com/werf/actions/tree/master/cleanup)
|
||||||
|
|
||||||
Each action combines all the necessary steps in itself and logic may be divided into __environment setup__ and launching the corresponding command.
|
Each action combines all the necessary steps in itself and logic may be divided into __environment setup__ and launching the corresponding command.
|
||||||
|
|
||||||
> Also, there is another action — [flant/werf-actions/install](https://github.com/flant/werf-actions/tree/master/install). With this action a user can just install werf and use binary within job steps for own purposes
|
> Also, there is another action — [werf/actions/install](https://github.com/werf/actions/tree/master/install). With this action a user can just install werf and use binary within job steps for own purposes
|
||||||
|
|
||||||
## Environment setup in details
|
## Environment setup in details
|
||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -37,7 +37,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -51,7 +51,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build-and-publish@master
|
- uses: werf/actions/build-and-publish@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -69,7 +69,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build-and-publish@master
|
- uses: werf/actions/build-and-publish@master
|
||||||
env:
|
env:
|
||||||
WERF_LOG_VERBOSE: "on"
|
WERF_LOG_VERBOSE: "on"
|
||||||
WERF_TAG_CUSTOM_TAG1: tag1
|
WERF_TAG_CUSTOM_TAG1: tag1
|
||||||
@@ -92,7 +92,7 @@ converge:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Converge
|
- name: Converge
|
||||||
uses: flant/werf-actions/converge@master
|
uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
env: production
|
env: production
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
@@ -112,7 +112,7 @@ build-and-publish:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
uses: flant/werf-actions/build-and-publish@master
|
uses: werf/actions/build-and-publish@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
|
|
||||||
@@ -128,7 +128,7 @@ deploy:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: flant/werf-actions/deploy@master
|
uses: werf/actions/deploy@master
|
||||||
with:
|
with:
|
||||||
env: production
|
env: production
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
@@ -146,7 +146,7 @@ dismiss:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Dismiss
|
- name: Dismiss
|
||||||
uses: flant/werf-actions/dismiss@master
|
uses: werf/actions/dismiss@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
env: production
|
env: production
|
||||||
@@ -166,7 +166,7 @@ run:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
uses: flant/werf-actions/run@master
|
uses: werf/actions/run@master
|
||||||
with:
|
with:
|
||||||
image: backend
|
image: backend
|
||||||
args: rails server
|
args: rails server
|
||||||
@@ -190,7 +190,7 @@ cleanup:
|
|||||||
run: git fetch --prune --unshallow
|
run: git fetch --prune --unshallow
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
uses: flant/werf-actions/cleanup@master
|
uses: werf/actions/cleanup@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -207,7 +207,7 @@ werf:
|
|||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Install werf CLI
|
- name: Install werf CLI
|
||||||
uses: flant/werf-actions/install@master
|
uses: werf/actions/install@master
|
||||||
|
|
||||||
# for deploy and distributed locks
|
# for deploy and distributed locks
|
||||||
- name: Create kube config
|
- name: Create kube config
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build-and-publish@master
|
- uses: werf/actions/build-and-publish@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build-and-publish@master
|
- uses: werf/actions/build-and-publish@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build-and-publish@master
|
- uses: werf/actions/build-and-publish@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build-and-publish@master
|
- uses: werf/actions/build-and-publish@master
|
||||||
env:
|
env:
|
||||||
WERF_LOG_VERBOSE: "on"
|
WERF_LOG_VERBOSE: "on"
|
||||||
WERF_TAG_CUSTOM_TAG1: tag1
|
WERF_TAG_CUSTOM_TAG1: tag1
|
||||||
@@ -100,7 +100,7 @@ build-and-publish:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Build and Publish
|
- name: Build and Publish
|
||||||
uses: flant/werf-actions/build-and-publish@master
|
uses: werf/actions/build-and-publish@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build@master
|
- uses: werf/actions/build@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build@master
|
- uses: werf/actions/build@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build@master
|
- uses: werf/actions/build@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/build@master
|
- uses: werf/actions/build@master
|
||||||
env:
|
env:
|
||||||
WERF_LOG_VERBOSE: "on"
|
WERF_LOG_VERBOSE: "on"
|
||||||
WERF_TAG_CUSTOM_TAG1: tag1
|
WERF_TAG_CUSTOM_TAG1: tag1
|
||||||
@@ -100,7 +100,7 @@ build:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: flant/werf-actions/build@master
|
uses: werf/actions/build@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/cleanup@master
|
- uses: werf/actions/cleanup@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/cleanup@master
|
- uses: werf/actions/cleanup@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/cleanup@master
|
- uses: werf/actions/cleanup@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/cleanup@master
|
- uses: werf/actions/cleanup@master
|
||||||
env:
|
env:
|
||||||
WERF_LOG_VERBOSE: "on"
|
WERF_LOG_VERBOSE: "on"
|
||||||
```
|
```
|
||||||
@@ -99,7 +99,7 @@ cleanup:
|
|||||||
run: git fetch --prune --unshallow
|
run: git fetch --prune --unshallow
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
uses: flant/werf-actions/cleanup@master
|
uses: werf/actions/cleanup@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
env: production
|
env: production
|
||||||
env:
|
env:
|
||||||
@@ -103,7 +103,7 @@ converge:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Converge
|
- name: Converge
|
||||||
uses: flant/werf-actions/converge@master
|
uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
env: production
|
env: production
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/deploy@master
|
- uses: werf/actions/deploy@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/deploy@master
|
- uses: werf/actions/deploy@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/deploy@master
|
- uses: werf/actions/deploy@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/deploy@master
|
- uses: werf/actions/deploy@master
|
||||||
with:
|
with:
|
||||||
env: production
|
env: production
|
||||||
env:
|
env:
|
||||||
@@ -103,7 +103,7 @@ deploy:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: flant/werf-actions/deploy@master
|
uses: werf/actions/deploy@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
env: production
|
env: production
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/converge@master
|
- uses: werf/actions/converge@master
|
||||||
with:
|
with:
|
||||||
env: production
|
env: production
|
||||||
env:
|
env:
|
||||||
@@ -101,7 +101,7 @@ dismiss:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Dismiss
|
- name: Dismiss
|
||||||
uses: flant/werf-actions/dismiss@master
|
uses: werf/actions/dismiss@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
env: production
|
env: production
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/install@master
|
- uses: werf/actions/install@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -18,7 +18,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/install@master
|
- uses: werf/actions/install@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -51,7 +51,7 @@ werf:
|
|||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Install werf CLI
|
- name: Install werf CLI
|
||||||
uses: flant/werf-actions/install@master
|
uses: werf/actions/install@master
|
||||||
|
|
||||||
# for deploy and distributed locks
|
# for deploy and distributed locks
|
||||||
- name: Create kube config
|
- name: Create kube config
|
||||||
|
|||||||
@@ -36,16 +36,15 @@
|
|||||||
"pack": "pack.sh",
|
"pack": "pack.sh",
|
||||||
"all": "npm run build && npm run format && npm run lint && npm run pack"
|
"all": "npm run build && npm run format && npm run lint && npm run pack"
|
||||||
},
|
},
|
||||||
"private": true,
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/flant/werf-actions.git"
|
"url": "git+https://github.com/werf/actions.git"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "flant",
|
"author": "flant",
|
||||||
"license": "Apache License 2.0",
|
"license": "Apache License 2.0",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/flant/werf-actions/issues"
|
"url": "https://github.com/werf/actions/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/flant/werf-actions#readme"
|
"homepage": "https://github.com/werf/actions#readme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/publish@master
|
- uses: werf/actions/publish@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/publish@master
|
- uses: werf/actions/publish@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/publish@master
|
- uses: werf/actions/publish@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/publish@master
|
- uses: werf/actions/publish@master
|
||||||
env:
|
env:
|
||||||
WERF_LOG_VERBOSE: "on"
|
WERF_LOG_VERBOSE: "on"
|
||||||
WERF_TAG_CUSTOM_TAG1: tag1
|
WERF_TAG_CUSTOM_TAG1: tag1
|
||||||
@@ -100,7 +100,7 @@ publish:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: flant/werf-actions/publish@master
|
uses: werf/actions/publish@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://github.com/flant/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
<img src="https://github.com/werf/werf/raw/master/docs/images/werf-logo.svg?sanitize=true" style="max-height:100%;" height="175">
|
||||||
</p>
|
</p>
|
||||||
___
|
___
|
||||||
|
|
||||||
@@ -9,13 +9,13 @@ The action combines all the necessary steps in itself and logic may be divided i
|
|||||||
|
|
||||||
### werf binary setup
|
### werf binary setup
|
||||||
|
|
||||||
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/flant/werf#backward-compatibility-promise)).
|
By default, all actions setup actual werf version for [1.1 alpha channel](https://werf.io/releases.html) (more details about channels, werf release cycle and compatibility promise [here](https://github.com/werf/werf#backward-compatibility-promise)).
|
||||||
Using `group` and `channel` inputs the user can switch the release channel.
|
Using `group` and `channel` inputs the user can switch the release channel.
|
||||||
|
|
||||||
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
> This is recommended approach to be up-to-date and to use actual werf version without changing configurations
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/run@master
|
- uses: werf/actions/run@master
|
||||||
with:
|
with:
|
||||||
group: 1.1
|
group: 1.1
|
||||||
channel: alpha
|
channel: alpha
|
||||||
@@ -24,7 +24,7 @@ Using `group` and `channel` inputs the user can switch the release channel.
|
|||||||
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
Withal, it is not necessary to work within release channels, and the user might specify certain werf version with `version` input.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/run@master
|
- uses: werf/actions/run@master
|
||||||
with:
|
with:
|
||||||
version: v1.1.16
|
version: v1.1.16
|
||||||
```
|
```
|
||||||
@@ -38,7 +38,7 @@ The _kubeconfig_ may be used for deployment, cleanup, distributed locks and cach
|
|||||||
* Pass secret with `kube-config-base64-data` input:
|
* Pass secret with `kube-config-base64-data` input:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/run@master
|
- uses: werf/actions/run@master
|
||||||
with:
|
with:
|
||||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||||
```
|
```
|
||||||
@@ -56,7 +56,7 @@ By default, action will use the token provided to your workflow.
|
|||||||
Any werf option can be defined with environment variables:
|
Any werf option can be defined with environment variables:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: flant/werf-actions/run@master
|
- uses: werf/actions/run@master
|
||||||
env:
|
env:
|
||||||
WERF_LOG_VERBOSE: "on"
|
WERF_LOG_VERBOSE: "on"
|
||||||
WERF_TAG_CUSTOM_TAG1: tag1
|
WERF_TAG_CUSTOM_TAG1: tag1
|
||||||
@@ -107,7 +107,7 @@ run:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
uses: flant/werf-actions/run@master
|
uses: werf/actions/run@master
|
||||||
with:
|
with:
|
||||||
image: backend
|
image: backend
|
||||||
args: rails server
|
args: rails server
|
||||||
|
|||||||
Reference in New Issue
Block a user