When I deploy hawtio.war, I see that it pulls from github. If I use it within an enterprise, I can configure it to use a different git repo? Does it always need access to a git repo?
Thanks !
You can deploy the hawtio-default-offline which does not integrate with git/maven or other online resources.
Related
We have multiple teams working on the same Api Management instance, and the current git-based configuration that API Management provides, does not really facilitate a good process for us (with support for code reviews, pull requests, deploys etc.).
Can we use a GIT repository in Azure DevOps to control the configuration instead of having to use the repository provided directly by API Management?
Our primary use cases are:
Merge/sync changes from API Management into our central repository
Performing changes in a DevOps repo in separate branches, merge the changes to the main branch via pull requests and sync'ing the changes to API Management
We can clone the configuration repository and push changes back- using our familiar Git commands.
You can try to run the following command in cmd task of azure devops pipeline.
git clone https://username:password#{name}.scm.azure-api.net/
git add .
git commit -m "abc"
git push
Here are the document and similar case you can refer to.
For my use case I need to use CodeCommit repositories. But I would also like to use GitLab GUI and features.
If I install GitLab on my server, is there a way to either connect it to CodeCommit repos directly (I just need to browse commits there) or set it as a mirror for CodeCommit so it would contain copies for all CodeCommit repos?
It should be possible to mirror your GitLab repository to an AWS CodeCommit repository. This Gitlab doc explains it. Basically, it helps you setup a CodeCommit repository to use as a replica, then you can set up a recurring job/codepipeline to act upon code changes.
The pre-requisite is to get an IAM user in the AWS account that holds the CodeCommit repo and will use credentials to pull the Gitlab repo into CodeCommit.
Yes, open new repository, go to settings -> General and you can find mirror function there. It will copy remote repository a few times per day.
I know you can push from local git and deploy code is azure web app.
But i want
first Deploy complete arm template from scratch using local git push.
and in the same push i want to deploy website code.
Now question is if arm template is creating web app from scratch then which git repo to push .
i am confused in this can some body tell me proper way to achieve this.
well, you would need to create a hook, that would launch a script that would deploy your template. After the deployment is complete your script would get the git url from the webapp it deployed and push from local git to that repo.
That being said, it is 100 times easier to just place files on github and configure continuous delivery that would happen on its own. all you would need to do is to push to git from local repo.
Reference:
https://learn.microsoft.com/en-us/azure/app-service-web/app-service-deploy-local-git
https://learn.microsoft.com/en-us/azure/app-service-web/app-service-continuous-deployment
I am new to Heroku but I managed to deploy my development first Sails#beta to Heroku, I created a Heroku app and submitted my git commits to the git repository provided by Heroku.
Is the git repository provided by Heroku Private?
Is there any possibility to track changes from a UI (something like GitHub)? or do I need to buy a private Git repository and link it to Heroku?
Heroku is not a source code management service like GitHub; it's a Platform-as-a-Service (Paas) hosting company that happens to use Git for deployment. They do not provide any graphical interface for browsing your repository, and in fact it is probably not a good idea to use Heroku as your primary code repository.
As explained in their documentation:
Heroku provides the git service primarily for deployment, and the ability to clone from it is offered as a convenience. We strongly recommend you store your code in another git repository such as GitHub and treat that as canonical.
Access to clone a repository from Heroku is private, controlled by the same SSH keys you use for deployment.
There are many services that offer free private Git hosting. Bitbucket and the cloud-hosted version of GitLab are two examples.
I'm deploying to Azure sites using GitHub, but for some reason I'm not seeing any files insidre the wwwroot folder. It seems like the deployment is not going thur. I do see the files inside the repository folder.
You don't specify what you have done in setting up the deployment. However, the following is what has worked for me:
Set the Azure Website for Git Deployment via the following instructions:
http://www.windowsazure.com/en-us/develop/net/common-tasks/publishing-with-git/
Create a GitHub repository
Initialize your local working folder in Git. Push to the repo. By the sounds of things, you have done this.
Then you need to make sure you link your Azure Website with your GitHub repo. In the Portal, go to the 'Deployments' section of your Azure Website and click:
If you are logged into GitHub in the same browser it will quickly ask you to specify the correct repository and that'll be it.
This is the step I suspect you either may not have done completely, or perhaps you have selected the wrong repository.
Once it is hooked up, Azure will pull and deploy each time you push a commit to the master branch in the repository.