Questions tagged [github]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

What is the name of Jenkins plugin for GitHub plugin configuration?

We need below plugin in Jenkins: Currently I have installed below list of plugins: git:latest git-client:latest git-server:latest github:latest github-api:latest github-branch-source:latest Am ...
0
votes
0answers
39 views

Does GitHub support VFS for Git?

NOTES: I really hope that this question hasn't been asked before and as far as I know, only Azure DevOps Service (Azure DevOps on cloud) and Azure DevOps Server 2019 (Azure DevOps on-premise) fully ...
10
votes
5answers
4k views

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 ...
0
votes
0answers
14 views

How to know event type in Jenkins Github Pull Request builded plugin?

I enabled the Github Pull Request Builder plugin from my jenkins, and there was jobs which trigger when new PR created. My current selection in GitHub enterprise are I selected for issue comments ...
-1
votes
1answer
20 views

Restore Github organization account

Organization's Github account was deleted but there is backup of all the repos on hard disk. So will creating new repo of same names and then pushing the code restore the code base ? (The account was ...
0
votes
1answer
172 views

How to get Github username variable in Azure DevOps build pipeline?

I have an Azure DevOps pipeline build configuration which builds automatically with the master branch. I want to access the GitHub user or username who committed last. If I access variables $(Build....
1
vote
1answer
302 views

GitHub Payload in Jenkins

I'm using the GitHub plugin with Jenkins, and I'm trying to figure out how I can access the webhook payload. I'm aware that the Generic Webhook Trigger has this ability, as well as the GitHub Pull ...
0
votes
0answers
13 views

Using the terraform github provider on an existing github organization

If I use the github provider in terraform on an existing github organization, do I need to write out each user and role within the .tf files or can the state be imported? What is the best approach ...
1
vote
1answer
44 views

How to keep polling GitHub repository and get commits by it's messages on a regular interval using Jenkins?

I need to know how to write a Jenkins job which polls a GitHub repository continuously and send an email of commits made to that repo.
1
vote
1answer
75 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: $...
1
vote
0answers
15 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 ...
1
vote
1answer
25 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 ...
1
vote
1answer
22 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 ...
1
vote
0answers
41 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
163 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 "...
0
votes
1answer
25 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 ...
0
votes
2answers
104 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
49 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
30 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 ...
3
votes
1answer
662 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
43 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 ...
2
votes
1answer
103 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
807 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
393 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 ...
3
votes
2answers
76 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
1k 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 ...
8
votes
1answer
271 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 ...
2
votes
0answers
38 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
2k 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
415 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
64 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?
6
votes
3answers
245 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?
4
votes
2answers
3k 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 ...
1
vote
3answers
5k 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 ...
4
votes
1answer
332 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
85 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....
4
votes
3answers
172 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
50 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
62 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
270 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 ...
6
votes
2answers
4k 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
92 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
15k 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 ...
10
votes
1answer
2k 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
1k 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 ...