Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [github]

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

0
votes
0answers
18 views

How can I automatically tag master branch after pull request has been rebased and merge on github?

On pure every new code goes by a PRs, once reviewed and TravisCI pass, we use “Rebase and merge” method to merge the PR into master branch. We use a dedicated commit to mark a new version, with ...
0
votes
0answers
10 views

How to include releases of some repo in another GitHub repo?

I have some project which consists of repo A (which contains sourcecode) and repo B (which contains config files for the project). I want to make another repo C to represent the whole project, and ...
0
votes
1answer
42 views

How should I deploy my projects using Docker, Git and VPS?

I have a VPS and am able to connect trough ssh using Terminal. Every project I have are dockerized and have github repositories. Since I am new to deployments so far my deployment process is manual: $...
0
votes
0answers
4 views

Can GitHub Enterprise listen to JIRA Webhooks?

I'd like to trigger our CI (Travis and CodePipeline) based on a change to a JIRA issue. I can configure a JIRA webhook but I'm not sure if it's possible to have GitHub (we're using Enterprise) listen ...
1
vote
0answers
8 views

Trigger SaaS CI Build (i.e. CircleCI, AppVeyor or Travis) based upon a GitHub Release of a 3ʳᵈ Party Repository

I want to automate the build of a Chocolatey package every time an author creates a new GitHub release. The specific example I am talking about is the HIBPOfflineCheck plugin for KeyPass2, but it ...
0
votes
1answer
16 views

git - develop base and extended feature - commits in base should reflect in extended in pull

Hie I am working around in git to achieve something like mentioned below. Imagine there is a Big feature which is going to develop - since it's very big they have split into core feature and an ...
0
votes
1answer
14 views

TravisCI did not run after adding more configuration to .travis.yml file

I added some AWS keys to my .travis.yml file so that it would deploy my application over to ElasticBeanstalk, but after I committed the changes to the file and pushed to master, nothing happened. I ...
0
votes
0answers
27 views

How to stop jenkins trigger the build by pushing code to repo

I have integrated Jenkins with GitHub. Here i have configured Jenkins should trigger the build when user raise the pull request. So i set the web-hook (option - pull request) URL in GitHub web-hook. ...
1
vote
0answers
28 views

node js deployment on production server

I wanted to know standard process to deploy nodejs app on production. As of now I am following the process as below Pull the source code git pull git_url Install npm dependencies npm install ...
0
votes
2answers
67 views

Connecting GitHub to Jenkins running on docker toolbox

Started to learn DevOps 3 days ago, so I have a lot to learn! I have a jenkins running on docker toolbox container and I can access it via 192.168.99.100:8080. I configured a job and managed to use "...
1
vote
1answer
15 views

Github rest api post label gives error for array input

We are hosting GitHub enterprise for our development. I am able to access the reset api and create jira, create PR etc. When I try to add label to my PR, it gives error for array. curl -X POST -u ...
1
vote
0answers
16 views

Selective Deployment Strategy for Salesforce Project

This is the current setup/flow I have master branch and develop,release-sit, release-uat, release-so on branches created. Develop branch deploys the components to test Sandbox. feature branches are ...
0
votes
0answers
23 views

How to build docker image from git repository with root context and Dockerfile inside a subdirectory

In the docker documentation one can see that it is possible to build an image from git repository. It is even possible to make a build from the selected branch and directory. I have a repository with ...
0
votes
0answers
36 views

Github Branch Remote Tracking Issue

I created a feature branch from develop branch. I was working on the feature branch for some weeks and to keep my branch in sync with Develop branch changes, I did the Merged Develop branch into my ...
0
votes
2answers
59 views

Automate creation of branch + pull-request

I have a repository (call it repo-X) of shell.nix files that define development environments for a number of separate projects (call them project-A, project-B). When one of the projects releases a ...
1
vote
2answers
37 views

Push Jenkins Build status to Github and Trigger Jenkins build from Github Webhook [closed]

FYI - New to DevOps. Please bear with me. Thanks I have a webhook created by Admin on Github Repo to trigger Jenkins build. I created a token from my Github(I am not admin on the repo) and used it in ...
0
votes
1answer
28 views

GitHub merge access

I am trying to create a GitHub workflow (not GitHub flow), where specific people will have merge only access to a branch in repo. I tried a few things, and I found that I can restrict users to read ...
2
votes
1answer
151 views

Run scripts which are stored in GitLab from Jenkins

I have configured Jenkins Build Jobs and Deployment Jobs from using Jenkins shell. But I put all the commands in Shell to execute. Can I store those commands in GitLab and execute from jenkins?
0
votes
1answer
42 views

Push specific changes (defect fix) and not feature changes

I am new to DevOps. I am using Jenkins and GitHub for salesforce deployment. Setup We have a develop branch. Feature branches are created out of it. When merged to develop, the deployment to the ...
3
votes
1answer
37 views

Storing my Lambda Functions on GitHub

Will it be practically possible to build some pipeline; starting from rapid AWS Lambda function development using blueprints, to store them later on a new GitHub repo, that is linked to some CICD ...
1
vote
1answer
57 views

How to use Jenkins github user credentials to access github api in my script?

I have a Jenkins job foo that works perfectly well. It is authenticated with jenkins_foo_user. It is able to clone the repo and checkout the right branch. In my codebase, I have another script - ...
0
votes
1answer
139 views

vagrant box tests in gitlab-ci

I have a vagrant box, provisioned with Ansible that needs testing on github pull requests. Is it possible to setup CI test suite for the mirror in gitlab-ci without extra expenses on droplets? Or ...
0
votes
0answers
24 views

How to FTP Directly from 3rdPartyHostingServer to ClountStack like GitLab, GitHub, AWS,etc?

I am working on a Web App. I am facing an issue with DevOps environment and looking for a solution for the same. My local machine is Win10 machine. I have my code on a 3rdParty Hosting Server(e.g ...
0
votes
0answers
12 views

Regarding the steps on ydylla/ndvi-time-series

By any chance, any one has tried the code for ydylla/ndvi-time-series? May I know how and what should i do for the last step on Import the project into your Google Cloud SDK installation and start ...
0
votes
0answers
27 views

Jenkins Plugin Github Branch Sources, how to use with pipeline

I'm new with jenkins, My scenario is the next task: 1 make a pull master from Github Repository, every 1 hour. 2 run a custom code for test code (executed by Jenkinsfile), if fail, not execute step ...
3
votes
2answers
57 views

How to use Jenkins to manage a repository from Github with a submodule from Bitbucket?

For my Jenkins build, I need to manage a Github repository to automate building a project. However, the issue is that this repository needs to pull a submodule from Bitbucket. This requires two ...
2
votes
1answer
470 views

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 ...
7
votes
1answer
191 views

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 ...
1
vote
0answers
32 views

Jenkins Github Organization Metrics

I am using Jenkins with the Github Organization item option. On Jenkins with freestyle projects or others I am able to get build metrics: success, failure, date, node and so forth. On the Github ...
3
votes
2answers
1k views

Enabling Github webhooks for multibranch jobs?

I'm setting up a CI scheme for a few projects, on Jenkins, using the multibranch plugin. Everything is working pretty nicely, but the obsessive in me always wants a bit more. Current situation: The ...
2
votes
1answer
278 views

Github plugin triggering to push event only for changes in specific branches

I am using Jenkins2 and GitHub plugin for triggering Push events. I have the next service (Jenkins Github): http://myjenkinsmaster/github-webhook/ I also have 3 branches: dev, stage, master which ...
1
vote
2answers
61 views

How do you change a secret that half of your production applications use right now?

The context of the question is Secrets management. As the title says, how do you change a secret that half of your production applications use right now?
7
votes
2answers
216 views

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?
2
votes
0answers
47 views

Secrets management [closed]

I got three questions about secrets management: 1)When your micro service in production needs a secret, where is the secret stored and retrieved from? 2)How do you change a secret that half of your ...
3
votes
2answers
2k views

Deploy to server after merge to master branch

I currently have continuous deployment set up with a Travis CI job. All pushes are sent to the staging server and merges to the master to the production server. The problem is that the deployment to ...
0
votes
3answers
3k views

How can I clean/delete a Jenkins workspace after merge?

I would like to keep a workspace in Jenkins until after the pull request is merged. Meaning, I don't want to clear the workspace after every build, but I also don't want to clear the workspace only ...
5
votes
1answer
204 views

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 ...
0
votes
1answer
78 views

The right way to Ansiblically deploy environments directly from Github:

Can one deploy an environment for some Linux OS (say, Ubuntu) from a raw Github playbook in a way similar to this (I wonder if it's the correct syntax)? bash <(curl -s https://raw....
2
votes
3answers
152 views

How to automatically publish git releases/comments to the site?

Sorry if title isn't correct. I'm trying to figure out what to search for on this matter. I'm looking for the easiest way to automatically have my semantic versioning and commits visible on my site ...
4
votes
2answers
44 views

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 ...
2
votes
1answer
49 views

How do I release multiple projects to same domain using AWS when developer commit the latest code change

I have multiple projects on Github and I need to release each project on same domain different paths when developer commit code changes. Example: I have Github repositories like below CRM CMS Main-...
6
votes
1answer
229 views

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 ...
5
votes
2answers
3k views

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 ...
5
votes
1answer
91 views

How to remove a non-existing GitHub Ansible role from Galaxy?

According to this documentation it is possible to remove a role from Galaxy, but the following fails: ansible-galaxy login succeeded ansible-galaxy delete 030 https://github.com/030/ansible-firewall ...
4
votes
2answers
10k views

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 ...
9
votes
1answer
1k views

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 ...
10
votes
2answers
815 views

Is it possible to make a deployment using Travis CI on GitHub commit to the branch?

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 ...