-
Notifications
You must be signed in to change notification settings - Fork 26
customise BASE_URL for git-lfs download #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
saketlj
wants to merge
33
commits into
laurentverbruggen:master
Choose a base branch
from
mmb:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check emits all pull requests that have been updated since the last version. This should simplify things and handle forces pushes to pull requests that are not the latest. Fixes #1.
version: null breaks Concourse.
First steps toward making shellcheck pass.
Lint first pass
Check should error if git ls-remote uri fails
The refs/pull-requests/nn refs remain for some merged and closed pull requests. They return IllegalPullRequestStateException when the merge is requested. The check for NoSuchPullRequestException was checking the file name and not the contents of the file. Update Dockerfile apk dependencies.
Fix error on pull requests that are already merged
The refs/pull-requests/nn refs remain for some declined pull requests. They return IllegalPullRequestStateException when the merge is requested.
Fix error on pull requests that are declined
Add the possibility to authenticate using Personnal Access Tokens
For more stable package versions.
Switch from gliderlabs/alpine to official alpine for docker base
…ncourse-bitbucket-pullrequest-resource into emerald-squad-add-branch-name
…erver, default "0" means no sleep. - Update Dockerfile with new packages so it can build successfully.
Add optional sleep_between_fetches parameter
On puts to a resource that has a private key the bitbucket bash exit trap was overwriting the exit trap to kill the ssh-agent. This resulted in the put containers getting stuck because ssh-agent was not killed. Move all cleanup to a single global cleanup function.
If it's not running killall returns 1 and causes failure exit due to set -e.
Hide output of pgrep and killall so they don't interfere with the response.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is to customise BASE_URL for git-lfs download. Currently we are using this repo and facing 403 error with below command when running from company network.
This change will customise BASE_URL and will use default if not passed explicitly.
curl -Lo git.tar.gz https://github.com/github/git-lfs/releases/download/v1.1.2/git-lfs-linux-amd64-1.1.2.tar.gz
change to
DEFAULTVALUE= "https://github.com/github/git-lfs/releases/download/v1.1.2/git-lfs-linux-amd64-1.1.2.tar.gz"
BASE_URL="${1:-$DEFAULTVALUE}"
curl -Lo git.tar.gz $BASE_URL