You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't push my application while developing it. I have a generic error because epinio is pushing everything from the application directory (except git files and directories if I understand correctly https://github.com/epinio/epinio/blob/main/helpers/tar.go).
To Reproduce
Steps to reproduce the behavior, e.g.:
Have an Epinio server and Epinio CLI installed and connected to the server
Try to push the application with 'epinio push --name ngsample --path ngsample'
See error
Expected behavior
The developer should have an easy way to set the files to be ignored by epinio while pushing the application (specific ignore file or in the epinio.yaml config file) and/or epinio should look at the .gitignore files.
Also we should make sure we garantee the integrity of the code that is pushed and avoid strange behavior, like a build artifact complied locally that would be used to generate the artifact.
Logs
2023/09/21 09:14:44 EpinioApiClient: "msg"="decoding json error" "error"="invalid character '<' looking for beginning of value" "body"="<html>\r\n<head><title>413 Request Entity Too Large</title></head>\r\n<body>\r\n<center><h1>413 Request Entity Too Large</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n"
2023/09/21 09:14:44 EpinioClient/Push: "level"=4 "msg"="return" "Name"="ngsample" "Namespace"="workspace" "Sources"="C:\\Users\\BertrandThomas\\workspace\\devpro\\epinio-samples\\samples\\angular\\ngsample"
Cluster (please complete the following information):
Provider: AKS
Options: 2 worker nodes
Kubernetes Version: 1.24
Desktop/CLI (please complete the following information):
Additional context
This is really important for the Developer Experience.
To deploy in Production, yes epinio push should run from a neutral environment without the local build artifacts.
But for many usecases we may want to push the application we are working on.
This is important also to reduce the bandwidth and ensure the quality of the code that is sent (could even maybe interesting to have a git status check to make sure that for prod we don't sent code with pending changes).
Also, to promote Epinio I would like to show how easy to go from my machine to a running instance.
The text was updated successfully, but these errors were encountered:
Describe the bug
I can't push my application while developing it. I have a generic error because epinio is pushing everything from the application directory (except git files and directories if I understand correctly
https://github.com/epinio/epinio/blob/main/helpers/tar.go
).To Reproduce
Steps to reproduce the behavior, e.g.:
npm install
in the sample folderExpected behavior
The developer should have an easy way to set the files to be ignored by epinio while pushing the application (specific ignore file or in the epinio.yaml config file) and/or epinio should look at the .gitignore files.
Also we should make sure we garantee the integrity of the code that is pushed and avoid strange behavior, like a build artifact complied locally that would be used to generate the artifact.
Logs
Cluster (please complete the following information):
Desktop/CLI (please complete the following information):
Additional context
This is really important for the Developer Experience.
To deploy in Production, yes epinio push should run from a neutral environment without the local build artifacts.
But for many usecases we may want to push the application we are working on.
This is important also to reduce the bandwidth and ensure the quality of the code that is sent (could even maybe interesting to have a git status check to make sure that for prod we don't sent code with pending changes).
Also, to promote Epinio I would like to show how easy to go from my machine to a running instance.
The text was updated successfully, but these errors were encountered: