Comments (9)
I have raised a PR to support both commas and new line as delimiters. @SamMousa and @uzi0espil, I believe this should address your use case
from k8s-deploy.
Thanks for the quick release @Ganeshrockz. Tested right now and it's working like a charm!
from k8s-deploy.
+1, I am working on a similar thing, but instead of setting a environment variable, I would get the list from shell script and assign it to a variable. then use that variable in k8s-deploy
:
- name: Get Manifests List
id: get_manifests
run: |
chmod +x "${GITHUB_WORKSPACE}/.github/scripts/list-manifests.sh"
echo ::set-output name=MANIFESTS::$("${GITHUB_WORKSPACE}/.github/scripts/list-manifests.sh")
- name: Deploy to Cluster
uses: azure/k8s-deploy@v1
with:
manifests: |
${{ steps.get_manifests.outputs.MANIFESTS }}
....
The output of list-manifests joins the array of manifests by delimiter \n.
echo ${arrManifests[@]} | tr ' ' '\n'
But it still doesn't work.
from k8s-deploy.
Thanks for having implemented and merged the fix.
In the meantime, while the code is not yet released, what is the best way to use it?
from k8s-deploy.
Can't you just use @master
as a version or something?
from k8s-deploy.
Unfortunately, main branch doesn't contain the lib/ directory:
from k8s-deploy.
Apologies for the delay. I forgot to port the fix to releases branch. Once I do that you can access the fix with the v1 tag. I am on it now
from k8s-deploy.
Great, thanks a lot. Please let me know once done and I'll give a try.
from k8s-deploy.
@tgdfool2 Can you try using the v1 tag now?
from k8s-deploy.
Related Issues (20)
- Bug: Unable to get config, even after using `k8s-set-context` HOT 2
- Bug: Azure/k8s-deploy@v4 doesn't seem to be working after upgrading to AKS 1.24.9 HOT 7
- Bug: Deployment.yaml fails with ghcr.io HOT 1
- Feature Request: support re-deploy k8s job. HOT 4
- Bug: Image is not being replaced in the manifest HOT 4
- Feature Request: more spesific rollout error HOT 1
- Most of the used github actions is outdated in the expamles in the readme HOT 4
- Any way to handle delete or purge actions? HOT 4
- Bug: Unable to use the latest release of the GitHub action HOT 5
- Bug: Canary deployment the promote action doesn't fail even when kubectl apply return error HOT 2
- Bug: Azure/k8s-deploy@v4 cannot file path of .aml file HOT 4
- Bug: Validation error "Error: Error: undefined" HOT 1
- Bug: cannot use set-context as reusable workflow HOT 1
- Feature Request: add server-side flag
- Bug: deprecated NodeJs version HOT 1
- k8s-deploy does not update pods with new images HOT 1
- Bug: fails to deploy two manifests with the same name HOT 2
- Bug: pod is not restarted if docker tag name is not changed
- Feature Request: Make namespace input optional
- Bug: Deploying manifests ERROR: Undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-deploy.