Skip to content

Comments

use latest git release on new vdc/threebot deployment#3348

Merged
sameh-farouk merged 2 commits intodevelopmentfrom
development_use_latest-git_release_on_deployments
Nov 18, 2021
Merged

use latest git release on new vdc/threebot deployment#3348
sameh-farouk merged 2 commits intodevelopmentfrom
development_use_latest-git_release_on_deployments

Conversation

@sameh-farouk
Copy link
Member

@sameh-farouk sameh-farouk commented Nov 15, 2021

Description

we used to set SDK_VERSION env var in threebot container to the git branch that we use to clone the repo from, in both Threebot and VDC.

this PR will make this Env var default to the latest remote tag on SDK repo, so when the user deploys new threebot, VDC, or redeploy old threebot, the jssdk code in the threebot container will be checked from the latest remote release instead of the HEAD of the development branch.

another change to note, that get_latest_remote_tag function moved from the vdc_dashboard API controller to git module in js-ng, which should make sense.

Caution: this PR depends on this PR and this PR in js-ng, so should be merged and a new version of js-ng should be released before we can merge this one.

Related Issues

#3349

Checklist

  • Pre-commit hook is installed to do formatting checks before committing code...etc
  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings

@sameh-farouk sameh-farouk marked this pull request as ready for review November 17, 2021 16:21
@sameh-farouk sameh-farouk merged commit e2a81eb into development Nov 18, 2021
@AhmedHanafy725 AhmedHanafy725 deleted the development_use_latest-git_release_on_deployments branch November 18, 2021 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants