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
0
votes
0answers
10 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
18 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
0answers
15 views

Why access is denied by GitHub when docker-compose is run to start docker containers?

I would like to set up airflow with docker on MacBook Pro with macOS 10.14.x. I have got zpencerq/docker-airflow:1.10.2 and followed the instructions at https://docs.docker.com/compose/install/#...
0
votes
0answers
15 views

Prevent replay of old builds

I have a Jenkins job that is triggered whenever there is a push of any branch with a new git tag satisfying a particular pattern. What I have found is that when I delete old builds (using the Jenkins ...
0
votes
1answer
108 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....
0
votes
0answers
158 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
11 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 ...
0
votes
1answer
30 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.
0
votes
0answers
15 views

GitHub and Travis integration broke down for a branch

I have a branch on Github connected to a pull request. The branch can merge to master only when the tests pass on a Travis build. Today, the connection between Travis and Github broke down for the ...
0
votes
0answers
23 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
11 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 ...
1
vote
1answer
64 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
votes
0answers
11 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
13 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
23 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
16 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
44 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
38 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
123 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
20 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
0answers
34 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
108 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
2answers
94 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
46 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
29 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
555 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 ...
2
votes
1answer
80 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
550 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
334 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
72 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
218 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
35 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
400 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
62 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
238 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?
-1
votes
0answers
55 views

Secrets management [closed]

I have these questions about secrets management: When your micro service in production needs a secret, where is the secret stored and retrieved from? How do you change a secret that half of your ...
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 ...
0
votes
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
314 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
84 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
163 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
48 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
58 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
264 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
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
14k 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 ...