Closed citananda closed 4 years ago
What I want to do is Continuous Deployment on Riofile stack.
Is it possible ?
When I do it with a simple command like rio run -n cd-demo -p 8080 https://github.com/rancher/rio-demo
it is working, but if I create a Riofile with the same repo, the build is made on the first load, but not on the followings
Ok, reading again the docs and making some tests, I understand that it is not possible to do CICD based on Riofile. So to take advantage of the flexibility of CICD and the power of Riofiles, I combined the two with custom scripts to automatically update my stacks as soon as a new docker image is created.
Describe the bug This command is working:
rio --namespace my-namespace up --name my-project --file Riofile.yaml
But when I want to watch a repo with the same file, it is not working:rio --namespace my-namespace up --name my-project --branch develop --file deployment/Riofile.yaml --build-clone-secret gitcredential-ssh ssh://git@private-git:30022/my-namespace/my-project.git
Expected behavior The stack should go up, as when I call it from local file
Kubernetes version & type (GKE, on-prem):
kubectl version
Type: Rio version:
rio info
Additional context
rio --namespace my-namespace logs -a
output: