Questions tagged [github]

For questions about setup, configuration, and usage related to GitHub, a web-based hosting service for software development projects using Git.

GitHub is a web-based Git or version control repository and internet hosting service. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.

Resources

114 questions
11
votes
1 answer

How do I configure Travis CI build testing for a Java Eclipse project?

I have an Eclipse Java project on GitHub. I would like to set up auto-build testing with Travis CI. However, when I enable build testing for my project, compilation always fails with the following error. Buildfile: build.xml does not exist! Build…
Stevoisiak
  • 1,297
  • 1
  • 8
  • 16
11
votes
2 answers

Is it possible to autodeploy on every commit in a specific branch using Travis CI and GitHub?

I'd like to deploy files using Travis CI and it only works for a tagged commit. When committing to the branch, there is a warning: Skipping a deployment with the releases provider because this is not a tagged commit. Is there any way to deploy on…
kenorb
  • 8,011
  • 14
  • 43
  • 80
10
votes
5 answers

What is self hosted version control system?

What is self hosted version control system and how is it different from github? I mean if I use self-hosted VCS then where does my code go? I mean: does it get uploaded to the server, or it is saved on my local machine? If it is uploaded to the…
Qasim Arthuna
  • 101
  • 1
  • 5
9
votes
2 answers

Artifactory vs Git for Infrastructure Version Control / Configuration Management

I'm trying to understand the difference between managing configuration files for the purposes of simplifying automated deployment. We have 5 environments to build. So far 2 have been built with no versioning at all. Right now we're using Artifactory…
8
votes
1 answer

What are the expected effects of the acquisition of GitHub by Microsoft?

When one navigates to github.com it is announced that Microsoft has acquired Github. There are some rumors that multiple projects were migrated to other git providers like gitlab and bitbucket. What effect will the acquisition have from a DevOps…
030
  • 13,383
  • 17
  • 76
  • 178
8
votes
1 answer

How to have jenkins add a review to a pull request

I have a Jenkins instance, with credentials for a "robot" github account, which we use to interact with the GitHub API as a team. Typically, jobs are defined as declarative pipelines. I am looking for the correct syntax to perform the following…
Bruce Becker
  • 3,783
  • 4
  • 20
  • 41
7
votes
3 answers

When your micro service in production needs a secret, where is the secret stored and retrieved from?

The context of the question is Secrets management. How do you manage storing and retrieving secrets for your micro service which is in production?
7
votes
1 answer

How to Versionize Ansible (Tower) with GitHUB

I have configured Ansible Tower with Centos 7.2 and I am able to see my Tower dashboard. My major concern is how to do versioninzation in Ansible Tower as given in this link with Github. Since I have written the playbook for configuration changes…
Rakshith
  • 71
  • 1
7
votes
1 answer

How do I find out exactly when a Github personal access token was last used?

A few days ago, I got an email from github saying that a personal access token that we used is in an 'outdated format': We noticed that an application, TeamCity(ci.support.example.com), owned by an organization you are an admin of,…
7
votes
2 answers

fatal: ambiguous argument 'master': unknown revision or path not in the working tree

when I modified one of my cookbook that I tried to add a cookbook dependency in berks file cookbook name, '=0.1.0', git: 'ssh://url:xxx/cookbook', tag: '0.0.1' and then tried to converge it which throws an error 'fatal: ambiguous argument…
pandey
  • 949
  • 2
  • 9
  • 18
6
votes
2 answers

How do I prevent a given GitHub Workflow from being launched twice from two almost simultaneous events?

I have a repo, in which there is one folder at the root with a Makefile to build a C library. In the same repo, there is another folder at the root with a folder with another Makefile for building a node C addon via Node-API, and a small JS/TS API…
6
votes
5 answers

How to determine if a Jenkins build is triggered by a Pull Request merged to Master

I think i've scoured every post on this topic but haven't found my specific scenario. (Maybe that means I'm building the wrong thing OR i've built something unique and new? The former is far more likely) I have a multibranch pipeline in Jenkins…
Max Cascone
  • 181
  • 1
  • 1
  • 6
5
votes
1 answer

Should I run CI on merge state or HEAD of branch in a PR?

I'm using Jenkins Pipeline with Github for our CI purposes and I'm trying to think what the strategy should be for what is checked out to run. Jenkins provides three options when discovering pull requests: 1. Merging the pull request with the…
Ilya
  • 73
  • 1
  • 5
5
votes
1 answer

Github commit message when deploying to aws beanstalk in Jenkins

As part of our CI setup I am using AWS Beanstalk deployment plugin to deploy my application through Jenkins. The issue is I am getting git commit hash in beanstalk application versions description. I want to have the commit message instead. I was…
Amits
  • 151
  • 1
5
votes
2 answers

If a piece of work requires manual testing/QA, do we need to wait until opening PR?

First question here (i'm usually on StackOverflow)...not sure if the right place (if not, please vote to move where it belongs). If we have a dev process using traditional GitFlow approach, what criteria should be met before a Pull Request (PR) is…
RPM1984
  • 151
  • 4
1
2 3 4 5 6 7 8