I am working on a private repo, I need to integrate CI for my app. How to integrate travis for my private repo. Or is it possible to have travis on our server
Travis Pro supports private github repos.
There are other hosted CI services. For example, you could use Circle.
Also, if running Travis checks locally will be enough for your case, see: https://github.com/PaulRosset/previs
Related
I'm using GitLab self-hosted at work and I am using the CI/CD they offer with a custom macOS runner for iOS projects. I can't change that, this is company policy and we've got our runners in our own datacenter.
I've got a private pods repo on GitLab, so whenever I update one of our modules, that gets pushed to GitLab and the Cocoapods repository. In the Podspec, I define the GitLab repo URL with SSH. However, this doesn't work with GitLab CI/CD, because I somehow need to use a CI job token, otherwise Git will complain that I have no access. The same goes for Xcode/SPM.
Is there a way to leave my pod specs or SPM definitions as is, without hardcoded need for CI job tokens in my developer environment or am I only going to be able to use a mono repo on GitLab?
I need to configure CI pipeline in my TFS with source repo in GitLab, I have updated the Trigger section as below and checked in the code, but the build was not triggered, is there any configuration required in the GitLab repo? Please advice hot to achieve this.
I would troubleshoot your problem by checking the following in this order:
when triggering the build manually, does the source code downloading from the GitLab repository successfully work?
if yes, then:
did you created and pushed the develop branch on the repository?
You need to publish your locally created 'develop' branch on the remote repository, e.g. >git push -u origin develop
if no, then there are issues on the "Services" entry you created on TFS for accessing your GitLab repository:
check whether you are using HTTPS in the URL;
to enable HTTPS access to your repository, remember to set a password on your GitLab account, then use that password along with your username (email address) on the "Services" endpoint set up on TFS;
p.s. also, check which 'Connection' is selected in the Repository section of your build definition: it should be the one pointing to your GitLab repo :-)
I have changed the Poling interval to 180 seconds and it worked.
I have a private bitbucket php project repository, codeship account and a vidahost cloud hosting. How to implement continuous integration and deployment? What is the workflow to achieve this? I did googling but could not find complete tutorial.
Ahoy Dipendra,
Marko from the Codeship crew here. Could you send me an in app message with a link to your project, so I can take a look at your current setup and help get you started?
As for deploying to Vidahost, you have multiple options. You could use a tool like Capistrano (or Mina, or something similar in your preferred programming language) or you could use SCP or FTP directly to copy your files. For the latter option, please see our documentation at https://codeship.com/documentation/continuous-deployment/deployment-with-ftp-sftp-scp/. (You'll find documentation on Capistrano and a bunch of other deployment options via this link as well.)
I'll update this answer with more specific details, once I know more about your setup!
Cheers,
Marko
I have been trying to deploy from a GitHub repository to Heroku. For pushing my changes to GitHub I am using Mac UI Client for GitHub.
Now in the heroku app setup, I changed at https://dashboard.heroku.com/apps/myapp/settings . Here I made changes in option GitHub Rep (Link your app to a GitHub repository to see commit diffs in the activity log.). I added as my github-user/repository-name
Now when i use myappname.heroky.com I am redirected to a default page which says :
Heroku | Welcome to your new app! Refer to the documentation if you
need help deploying.
In the documentation it is all commands which is going over me since i use Github UI tool.
Any idea if this can be deployed w/o using the commands?
I am asking this particular thing, since last time I used AppHarbor and it simply pulled my github rep w/o any hiccups.
Adding your GitHub repo to the Heroku app settings will not set up automatic deployments. It just allows Heroku to provide commit information in the app logs.
To achieve what you are looking for, you need to set up continuous deployment (or "CD"). The easiest way to do this is with a continuous integration (or "CI") solution.
One common CI server is Jenkins, though that will require you to set it up manually. Nowadays, there are several automated CI/CD services you can take advantage of, including Travis, CircleCI, Codeship, Snap. All of them have options to automatically deploy to Heroku after building your app (which can be trigger by a push to GitHub).
I want to make a heroku deploy with my own gems on private Bitbucket repository. I want to do with Oauth Cloning like Github (https://github.com/blog/1270-easier-builds-and-deployments-using-git-over-https-and-oauth).
This is possible with Bitbucket?
Here's an open issue on atlassian's issue tracker -- so I assume it's not currently possible.
https://bitbucket.org/site/master/issue/7735/allow-http-access-to-repositories-via