We have an existing SQL database on a SQL Server. We use Azure repos.
I would like to be able to create a repo for the SQL database.
Not sure what the proper steps are.
I can create an empty repo in azure devops and clone it to my local machine.
I can open up Visual Studio, how do I import the SQL database into a new project?
Once I have the SQL project I can push back up to azure devops with sync...push and create pull request.
I would like to be able to create a repo for the SQL database. . I can
open up Visual Studio, how do I import the SQL database into a new
project? Once I have the SQL project I can push back up to azure
DevOps with sync…push and create a pull request.
There are multiple ways you can import your SQL database project into Azure Repos Refer to below:-
I created a Database object and imported it in an SQL Server project in VS code like below:-
There are 3 ways you can import this SQL project from your local machine to Azure DevOps:-
Approach 1)
When you create a new project in Azure DevOps a default repo with the same project name is created in the Azure DevOps organization. you can use the built-in authentication to import your repo in Azure DevOps, refer to below:-
I ran these commands in my VS studio code command line to import the SQL project to the Azure DevOps repo like below:-
git --version
git init
git add .
git commit -m "Initial commit"
Now copy the remote origin code from the Azure DevOps page above Refer above Image - Push an existing repository from the command line and push it to our Azure repos by logging into the Azure DevOps account like below:-
git remote add origin https://<org-name>#dev.azure.com/org/project-name/_git/project-name
git push -u origin --all
SQL project added to Azure DevOps repos like below:-
Now you can set up a build and run the SQL pipeline or even commit changes to your project and push it via git push in the same repo.
Approach 2)
Importing via GitHub.
You can save this entire SQL project in your GitHub account and import it to Azure DevOps like below:-
You can directly paste the Github repo URL and import it directly without any Authentication for the Public repository or Import it with Git authentication with PAT Token like below:-
Click Require authentication > Enter the Username and Password of your GitHub account and get the PAT from GitHub Account Settings > Developer settings > Personal access token > Generate new Token
Github repo got imported in Azure DevOps successfully.
Approach 3)
Import the Project from VS studio code like below:-
You can Push the code from Visual Studio to Azure DevOps Repo with the above option.
You can start creating a release pipeline and import the SQL project as an Artifact and run the pipeline like below:-
Related
Currently We are using Bitbucket repository for SQL scripts version control and manually deploying the changes to database.
For now we are going to automate the deployment. So Can any one suggest how we can automate the sql scripts from bitbucket repository.
NuxtJS project management is developed on GitHub.
The following is the development procedure.
1.Push updates from your local PC to the GitHub remote repository.
2.Log in to your hosting server and pull the remote repository to retrieve the differences.
3.Then run npm run build and npm run generate to update the project.
Is there a way to run npm run * automatically after downloading the differences from the remote repository?
I think you are looking for GitHub webhooks. See the documentation here.
I'm trying to clone a project from the Team Foundation Server, but I have only access to one repository from the server and I can't switch to another repository. I also tryed to refrech the plugin.
I'm using Intellij IDEA 2020.1.1 with Windows 10 Enterprise LTSB 2016 and the plugin:Azure DevOps.
I would appreciate when I get some tips to fix this problem.
In Intellij IDEA with the Azure DevOps extension installed, the repositories are not shown as a tree structure . They are shown in the same level in the Select repositorypage when trying to select a repository to clone. We can filter the repositories by specifying a key word.
For example, in below screenshot I have a project called LCgGit and it has three git repositories (LCGit, LCGit2, LCGit3). So, we can filter by Project name, then select the specific repository to clone.
It will automatically open the project once we cloned the repository. And we cannot switch repositories such as in the Team Explorer in VS. We have to clone another repository again and open the project which located in that repository. We can open it in a New Window or This Window.
To switch the repositories, we can navigate to File -> Open/Open recent -> Select a project to open.
Besides, there's a blog which talking about Working with IntelliJ for your reference. It's still available for the Intellij IDEA 2020.1.1. But the plugin name is changed to Azure DevOps. So you can search Azure DevOps in the Marketplace.
I want to automate the build apk process using azure devops.
I am trying to integrate azure devops CI/CD pipeline in my expo project with yarn.
I have created build pipeline but i am not able to create release pipeline.
Can anyone help me?
This is the link with video and documentation how to crate release pipeline
https://learn.microsoft.com/en-us/azure/devops/pipelines/release/?view=azure-devops
Make sure you publish the build Artifacts in the build pipeline so that the files are available in the Release pipeline. To create a release pipeline you will have to add install Google Play from the marketplace and then install the Google Play - Release or Google Play - Relase Bundle depending on if you have built .apk or .aab. In the task you will have to setup a Service Connection by going to the Google Play store and creating a service account and then copying the credentials back to the Service Connection.
It's a long process and I have created a comprehensive article specifically for that purpose. Here is the link.
I'm getting started with Titanium Studio to build mobile apps. I'm using Beanstalkapp (or any other remote git/svn repository) for version control.
I can't find a way to connect a new project to the remote repository from within titanium studio.
I can:
1 - create a new mobile project and start a new local git repository
2 - import an empty project from the remote git repository
When using 1 I don't know how to commit to a remote repository.
When using 2 I don't know how to add a mobile project, I always get "a project with the same name already exists within the workspace"
Any tips on how to set this up conveniently?
From the file menu in Ti Studio, choose Import, Then choose Git Repository as New Project, click next, enter your beanstalk URI and click finish.
I have not tried this with beanstalk, but it works flawlessly with Github.com
Once you have set up the project, access the context menu of the project in the project explorer (ctrl-click) and your git commands will be accessible from the Team menu