How to ForwardAgent yes using fabric?
Since version 1.4 fabric has environment option that enables agent forwarding. env.forward_agent = True UPD: This feature was buggy before fabric 1.4.2
Since version 1.4 fabric has environment option that enables agent forwarding. env.forward_agent = True UPD: This feature was buggy before fabric 1.4.2
like the other answers say, git is for version control, e.g. for textfiles. You build a docker container from a “dockerfile” (which is a textfile). This “dockerfile” is placed in a directory with many other files and folders. So if you put this directory, where the dockerfile is located in, into a git repository, then … Read more
Well I tried deleting the log file, it helped at the beginning but then I got the error again. The proper solution is as following: Go to Jboss_installation_dir\standalone\configuration and find the file standalone.xml. Change the following line: <subsystem xmlns=”urn:jboss:domain:deployment-scanner:1.0″> <deployment-scanner scan-interval=”5000″ relative-to=”jboss.server.base.dir” path=”deployments” /> </subsystem> into: <subsystem xmlns=”urn:jboss:domain:deployment-scanner:1.0″> <deployment-scanner scan-interval=”5000″ relative-to=”jboss.server.base.dir” path=”deployments” deployment-timeout=”1000″ /> </subsystem> … Read more
I use the approach of https://puphpet.com, I create a file config.yaml in the same directory of the Vagrantfile and… In my Vagrantfile: # encoding: utf-8 # -*- mode: ruby -*- # vi: set ft=ruby : require ‘yaml’ current_dir = File.dirname(File.expand_path(__FILE__)) configs = YAML.load_file(“#{current_dir}/config.yaml”) vagrant_config = configs[‘configs’][configs[‘configs’][‘use’]] Vagrant.configure(‘2’) do |config| config.vm.network ‘public_network’, ip: vagrant_config[‘public_ip’] … In … Read more
Does it make sense using both fabric and ansible tools somehow? Yes. All your logic should live in Ansible and you can use Fabric as a lightweight wrapper around it. fab deploy is easier to remember than, e.g. ansible-playbook -v –inventory=production –tags=app site.yml Is it possible to use ansible from my windows development environment to … Read more
Based on answers and comments here. You can create non-bare repo and run: git ls-files –recurse-submodules | tar caf ../prog.tar.gz -T- To handle files starting with hypen, use –verbatim-files-from To put files in folder inside the archive, use –xform s:^:prog/: Full version: git ls-files –recurse-submodules | tar caf ../prog.tar.gz –xform s:^:prog/: –verbatim-files-from -T-
MSBuildExtensionsPath32 is set internally by MSBuild. (BuildEngine.BuildPropertyGroup.SetExtensionsPathProperties) But you could override it by setting an environment variable. SET MSBuildExtensionsPath=”C:\Program Files\MSBuild” Or you could override the value in your project file : <PropertyGroup> <MSBuildExtensionsPath>C:\Users\madgnome\Desktop\msbuild</MSBuildExtensionsPath> <!– It works too with relative path –> <!–<MSBuildExtensionsPath>..\msbuild</MSBuildExtensionsPath>–> </PropertyGroup> <Import Project=”$(MSBuildBinPath)\Microsoft.CSharp.targets” /> <Import Project=”$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets” />
Both Artifactory and Nexus can handle any type of file, as they both are “Binary Repository Managers”. Albeit that, Nexus can technically store any file, but lacks support for binaries that do not adhere to the Maven repository layout. For example, such files will not be indexed and cannot be retrieved in searches; Also, if … Read more
We often distribute webapps by providing a WAR, and a Context XML file, which gets placed into your tomcat/conf/Catalina/localhost directory, and can load the webapp from any path. There is a reference document here. This provides the following advantages: Context parameters can be configured here and read by the webapp DataSources can be defined and … Read more