forked from sekassel-research/actions-rancher-update
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sekassel-research#5 from sekassel-research/feat/ra…
…ncher-2 major: Rancher 2 support
- Loading branch information
Showing
1,753 changed files
with
6,535 additions
and
157,024 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
tab_width = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
!node_modules | ||
!node_modules | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,55 @@ | ||
# rancher-update | ||
|
||
This action helps by updating a service in the rancher 1.6.x environment. | ||
This action helps by updating a service in the Rancher 2 environment with kubernetes. | ||
|
||
# Examples | ||
|
||
## Update service | ||
|
||
```yaml | ||
on: | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: sekassel-research/actions-rancher-update@2.0.0 | ||
with: | ||
rancher_url: https://rancher.test.de | ||
rancher_token: ${{ secrets.RANCHER_TOKEN }} | ||
cluster_id: ${{ secrets.CLUSTER_ID }} | ||
project_id: ${{ secrets.PROJECT_ID }} | ||
namespace: ${{ secrets.NAMESPACE }} | ||
deployment: ${{ secrets.DEPLOYMENT }} | ||
docker_image: sekassel-research/test-image:latest | ||
``` | ||
# Backwards compatibility | ||
If you want to use this extension for `Rancher 1.6.x`, you need to use the following version `sekassel-research/actions-rancher-update@1.1.4` | ||
|
||
## Example | ||
|
||
```yaml | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: sekassel-research/actions-rancher-update@1.1.4 | ||
with: | ||
rancher_url: https://rancher.test.de | ||
rancher_access: ${{ secrets.RANCHER_ACCESS }} | ||
rancher_key: ${{ secrets.RANCHER_KEY }} | ||
project_id: 1a5 | ||
stack_name: test-stack | ||
service_name: test-service | ||
docker_image: sekassel-research/test-image:latest | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: sekassel-research/actions-rancher-update@1.1.4 | ||
with: | ||
rancher_url: https://rancher.test.de | ||
rancher_access: ${{ secrets.RANCHER_ACCESS }} | ||
rancher_key: ${{ secrets.RANCHER_KEY }} | ||
project_id: 1a5 | ||
stack_name: test-stack | ||
service_name: test-service | ||
docker_image: sekassel-research/test-image:latest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.