File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
lab/webapp/src/components/ChatGPT Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -366,20 +366,21 @@ branch and push the changes to github.
366366build the production images and generate the user production .zip by running
367367` bash release/generate_production_release.sh` . This will:
368368
369- - Create local lab, machine, and dbmongo production docker images with the
369+ - Create lab, machine, and dbmongo production docker images with the
370370 tag defined in the .env file
371371 - Create the production .zip named ` target/production/Aliro-${VERSION} .zip`
372+ - Build multi-architecture (amd64, arm64) docker images using ` buildx bake` and push the images to docker hub.
372373
373374 ` ` ` bash
374375 git checkout production
375376 bash release/generate_production_release.sh
376377 ` ` `
377378
378- 4. ** Push docker images to DockerHub and tag the production git branch by
379+ 4. ** Check that the docker images were pushed to DockerHub and tag the production git branch by
379380running ` deploy_production_release.sh` .** While in the produciton branch, run
380381` bash release/deploy_production_release.sh` . This will:
381382
382- - Push the production lab, machine and dbmongo production docker images to dockerHub
383+ - Check that the production lab, machine and dbmongo production docker images exist in dockerHub
383384 - Tag the production git branch with the version defined in ` .env`
384385
385386 ` ` ` bash
Original file line number Diff line number Diff line change @@ -1811,6 +1811,10 @@ export default function ChatGPT({ experiment }) {
18111811
18121812 let resultMessage = resp [ "result" ] ;
18131813
1814+ if ( resp [ "status" ] === "error" ) {
1815+ resultMessage = "Error: " + resultMessage ;
1816+ }
1817+
18141818 // if resultMessage is undefined, resultMessage = "Undefined"
18151819 if (
18161820 resultMessage === undefined ||
You can’t perform that action at this time.
0 commit comments