runtime
runtime copied to clipboard
"Pull and redeploy" not redeploying (in certain cases)
I'm building an image like this with my acorn-cli pointing to my acorn.io account.
acorn build -t my_app
Then I deployed my app with this:
acorn run -s my-secrets:my-secrets -n my-app-pro --memory=2Gi
After that I can't seem to pull and redeploy. I will build again, but if I click "Pull and ReDeploy" on the acorn.io UI nothing happens. Same too for the acorn update --pull my-app-pro
command.
It seems that on the run
command there is an implicit push to an unspecified repo which is perhaps not happening when I use only build
or update
.
If I've deployed my app this way, is there a way to update the image without deleting and calling run again?
@randall-coding In your case , if you had deployed the app from the image my_app
(that you had built) , then building the image my_app
again and using acorn update --pull my-app-pro
would result in the app being deployed with the new version of the image.
-
acorn build -t my_app
-
acorn run -s my-secrets:my-secrets -n my-app-pro my_app --memory=2Gi
-> Deploy app withe imagemy_app
- Make changes and build
acorn build -t my_app
-
acorn update --pull my-app-pro
If the app was deployed using the current directory then you can use acorn run --update
to update the app.
-
acorn run -s my-secrets:my-secrets -n my-app-pro --memory=2Gi
- Make changes in the current directory
-
acorn run --update -s my-secrets:my-secrets -n my-app-pro --memory=2Gi
--> This will result in app being deployed with the latest changes made in step 2.