automated-deploy

Is it possible to add environment variables in automated builds in docker hub?

拜拜、爱过 提交于 2020-08-05 04:56:46
问题 I want to automate my build process and need to pass an environment variable to run some of the commands in the Dockerfile . I was wondering if there was any way to do this in Dockerhub. I know docker cloud has something like this, but I was wondering whether the functionality was there in Dockerhub since there is the --build-args argument in the cli for normal building. 回答1: Set up Automated builds Docker Hub (https://hub.docker.com) can automatically build images from source code in an

Is it possible to add environment variables in automated builds in docker hub?

血红的双手。 提交于 2020-08-05 04:56:07
问题 I want to automate my build process and need to pass an environment variable to run some of the commands in the Dockerfile . I was wondering if there was any way to do this in Dockerhub. I know docker cloud has something like this, but I was wondering whether the functionality was there in Dockerhub since there is the --build-args argument in the cli for normal building. 回答1: Set up Automated builds Docker Hub (https://hub.docker.com) can automatically build images from source code in an

Activate a virtualenv via fabric as deploy user

[亡魂溺海] 提交于 2019-12-28 01:38:56
问题 I want to run my fabric script locally, which will in turn, log into my server, switch user to deploy, activate the projects .virtualenv, which will change dir to the project and issue a git pull. def git_pull(): sudo('su deploy') # here i need to switch to the virtualenv run('git pull') I typically use the workon command from virtualenvwrapper which sources the activate file and the postactivate file will put me in the project folder. In this case, it seems that because fabric runs from

TFS 2010: run powershell script stored in source control

做~自己de王妃 提交于 2019-12-23 03:02:08
问题 We've started using TFS2010 over at the company I work at. We create e-commerce web applications (shopping sites). I'm creating a custom template to deploy web projects after a build using a build template. I've looked at the web deploy tool, but MSDN seems to indicate that it can only do initial deployments, and I need to be able to do incremental deployments with the same script. I'm thinking of using the invokeActivity activity in the template to use powershell to do the job by specifying

deployment tools under .NET solutions

江枫思渺然 提交于 2019-12-21 12:19:48
问题 We all do code, small (like one .exe) or big applications (complete solutions) with web applications, windows applications, databases, help files, configuration files and registry values... my question is simple, in my opinion that is, now that I need to deploy a web application and a windows application in just one installation setup: What do you use to the deployment of your applications, regarding creating of help files , database scripts so we can create a database and tables , create a

how to detect modified properties using SVN log

泄露秘密 提交于 2019-12-19 05:26:11
问题 Background: writing an automated release script to export changed files between versions from SVN and upload to remote server. The svn log command shows modified files and properties, but seems to not distinguish its verbose output between a content modification over property modifications. Am I reading this output wrong, or is there an easy way to get a list of changed files between revisions whilst ignoring prop changes Here's my sample cmd: #: svn log "someurl" -r 2210:HEAD -v -q Output: -

TIBCO automated build

筅森魡賤 提交于 2019-12-13 02:33:52
问题 I am really new to TIBCO environment, and I am working on TIBCO BW. I really want to know the concept "how to build and deploy TIBCO". Various books told me that TIBCO Admin will deploy and manage after I finish developing in TIBCO Designer. However, my mentor pointed out that I am going to use TIBCO AMX(3.2?) and my project will be setting up 'automated build' (Yes! I have no idea!) 1) building and deployment concept of TIBCO using AMX 2) any suggestion or article or blog for 'automated

VS2010 TFS Automated build [closed]

我的梦境 提交于 2019-12-12 06:46:06
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I have 'fair' experience about VS and TFS environment. Here is what I have done so far. After I finished the coding work, I built it, checked-in it and other guy deployed it. So, I don't know what the meaning of

Application not installed when i try to autoupdate

喜欢而已 提交于 2019-12-08 09:41:38
问题 I have an auto update on my app that update itself, I launch the activity that way: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse("file://"+ruta+"NameApp.apk"), "application/vnd.android.package-archive"); intent.addFlags(intent.FLAG_ACTIVITY_NEW_TASK); mContext.startActivity(intent); the problem is when I try to install it it said "Application not installed" I searched information about this and the people said that I must change version code and version name

TFS 2010: run powershell script stored in source control

雨燕双飞 提交于 2019-12-07 21:43:31
We've started using TFS2010 over at the company I work at. We create e-commerce web applications (shopping sites). I'm creating a custom template to deploy web projects after a build using a build template. I've looked at the web deploy tool, but MSDN seems to indicate that it can only do initial deployments, and I need to be able to do incremental deployments with the same script. I'm thinking of using the invokeActivity activity in the template to use powershell to do the job by specifying an FTP script which automatically copies the output of a build to a designated FTP site and then runs