Questions tagged [github]

Github is an online service for using git repositories to enable social and collaborative coding.

200 questions
2
votes
1 answer

Connecting Github organization only with AWS codestar

I have Admin priveledge IAM user on my team's organization AWS account, and I also belong to a github organization of the team as a Owner role (and, we have several owners in the Github Organizaiton). Now today, I wanted to try the AWS Codestar, and…
Yuki Inoue
  • 231
  • 2
  • 6
2
votes
1 answer

securely connect jenkins and github

we have a Jenkins server running on an ec2 instance. The security groups are very restricted in this server, they only allow traffic from the company office, and the slave nodes. we want to setup github hooks, so everytime someone pushes code to…
2
votes
1 answer

Block changes to Jenkinsfile (Jenkins Pipeline)

I am using the Jenkins Pipeline plugin to build commits on my GitHub repository. However, while I do trust the people on GitHub enough to make commits on the repository, the server is shared infrastructure across multiple projects, and I don't want…
ConnorJC
  • 939
  • 1
  • 8
  • 20
2
votes
0 answers

Problems installing Homebrew on a new OS X installation (SSL error)

Have a fresh OS X installation here (new VM), and when trying to install Homebrew I just get an SSL error. fatal: unable to access 'https://github.com/Homebrew/homebrew/': Unknown SSL protocol error in connection to github.com:-9847 Failed during:…
2
votes
1 answer

DNS server not resolving github page properly after two days

I had GitHub pages set up at mypage.github.io. I changed it to mynewpage.github.io with a new account and repository. I deleted the old CNAME and configured another CNAME in DNSimple to point to the new location: CNAME www.example.com …
tyler
  • 131
  • 1
  • 7
2
votes
1 answer

Git github not working with google authenticator OSX

So I had git running on my computer just fine. My password was saved with the osxkeychain thingy and everything ran smoothly. Today I decided I should be safe and enable google authenticator 2-step authentication on all the sites that support it.…
2
votes
1 answer

In Amazon EC2, what's the best way to clone a private github repository on boot?

I need to configure an autoscale group of EC2 instances that on boot will clone a particular branch and commit from a private github repository, then execute code from inside that repository. I'm using an Ubuntu-derived AMI that has the cloud-init…
leted
  • 21
  • 1
  • 2
2
votes
4 answers

Make shell script executable upon extraction from zip

I have a shell file that is pulled from github and built into a zip using TeamCity. It is typically edited and put into github from a Windows machine. I need this shell script to be executable upon unzipping. How do I do this? Currently I have to do…
elgabito
  • 133
  • 1
  • 4
2
votes
1 answer

Deploying git repo on production server without account password

What I would like to do How can I clone a git repository on my production server, without providing the account's password, and passphrase for the SSH key? Perhaps what I'm asking is not possible. For the passphrase problem, I could generate the key…
eoinoc
  • 165
  • 1
  • 6
2
votes
1 answer

Mirror on Github

I'm working on the Android sourcecode and I want to create a mirror of my code on Github. Here's the status: Checked out android code using instructions on source.android.com Created a local branch, checked it out, made changes, committed the…
recluze
  • 365
  • 8
  • 18
2
votes
1 answer

What is the best way to use git to update test and production servers?

Our company has recently transitioned over to git and github as our main source control. We've gotten all the users setup and everyone is able to push and pull to github just fine. But I'm a little lost on how we should setup our test and production…
ashansky
  • 123
  • 4
2
votes
1 answer

Git - Odd Disk Space Usage on GitHub

We use GitHub to host all my projects, and we've got a 6GB soft-limit. A few days ago, there were many files added to the repository which should not have been added (such as images, movies, etc.) which pushed the repository size to 2.4G: $ du -sh…
fresskoma
  • 1,343
  • 1
  • 10
  • 13
2
votes
1 answer

Commit hook on github to trigger hudson build

I'm using Hudson as my CI server and I'm trying to get my commits to trigger a build. When I was using gitosis I just had a post-receive that ran a curl -u gituser:password http://my.hudson.url/project/?token=someToken I can't seem to find out…
brad
  • 502
  • 1
  • 10
  • 22
2
votes
0 answers

How to checkout a branch from azure devops pipeline?

I kept trigger to cloud_singlesignon branch. But my pipeline saved to azure-pipelines and the default branch to the repo is master. But the checkout not happening from cloud_singlesignon. I observed, it is checking out from branch where the pipeline…
Sara June
  • 451
  • 1
  • 9
  • 28
2
votes
1 answer

How to authenticate and push to GitHub from a CI Script

I keep my development on a personal GitLab server. In my CI/CD script, I want to push the repository to a public GitHub repo when a new tag is created. The CI/CD runs in an ephemeral Docker container, so there are no credentials stored. I can…
PrestonDocks
  • 215
  • 3
  • 11