-
Notifications
You must be signed in to change notification settings - Fork 3
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 #8 from Pablommr/fix/subpath-empty-files
Fix files validation in SUBPATH
- Loading branch information
Showing
2 changed files
with
23 additions
and
8 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 |
---|---|---|
|
@@ -56,8 +56,11 @@ Environment variable containing the base64-encoded kubeconfig data. Pay attentio | |
### `KUBE_YAML` or `FILES_PATH` | ||
|
||
One of them (or both) must be set. <br><br> | ||
KUBE_YAML is the path of <b>file</b> to file used to create/update the resource. This env can be an array with more then 1 file. (I.e. kubernetes/deployment.yml,artifacts/configmap.yaml )<br> | ||
FILES_PATH is the path of the <b>directory</b> where the files are located. All files in this directory will be applied.<br><br> | ||
|
||
KUBE_YAML is the path of <b>file</b> to file used to create/update the resource. This env can be an array with more then 1 file. (I.e. kubernetes/deployment.yml,artifacts/configmap.yaml )<br><br> | ||
|
||
FILES_PATH is the path of the <b>directory</b> where the files are located. All files in this current directory will be applied.<br><br> | ||
|
||
The files must be with *.yaml or *.yml extensions. | ||
|
||
<br> | ||
|
@@ -144,7 +147,7 @@ jobs: | |
uses: Pablommr/[email protected] | ||
env: | ||
FILES_PATH: kubernetes | ||
KUBE_YAML: kubernetes/envs/configmap.yaml | ||
KUBE_YAML: kubernetes/envs/prod/configmap.yaml | ||
SUBPATH: false #Defaul value | ||
ENVSUBST: true | ||
KUBE_ROLLOUT: true | ||
|
@@ -157,6 +160,10 @@ In this setup, with FILES_PATH: kubernetes, you will apply all files under the k | |
|
||
# Change Log | ||
|
||
## v2.0.2 | ||
|
||
- Fix files validation in SUBPATH | ||
|
||
## v2.0.1 | ||
|
||
- Fix to get resource name | ||
|
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