forked from prometheus-community/postgres_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EDIT] Custom postgres_exporter - Bypass some check
- Loading branch information
Tien Nguyen Minh
committed
Aug 27, 2020
1 parent
3ecfd46
commit b037faf
Showing
4 changed files
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/bin/bash | ||
# Script to setup the assets clone of the repository using GIT_ASSETS_BRANCH and | ||
# GIT_API_KEY. | ||
|
||
[ ! -z "$GIT_ASSETS_BRANCH" ] || exit 1 | ||
|
||
setup_git() { | ||
git config --global user.email "travis@travis-ci.org" || exit 1 | ||
git config --global user.name "Travis CI" || exit 1 | ||
} | ||
|
||
# Constants | ||
ASSETS_DIR=".assets-branch" | ||
|
||
# Clone the assets branch with the correct credentials | ||
git clone --single-branch -b "$GIT_ASSETS_BRANCH" \ | ||
"https://${GIT_API_KEY}@github.com/${TRAVIS_REPO_SLUG}.git" "$ASSETS_DIR" || exit 1 | ||
|
||
#!/bin/bash | ||
# Script to setup the assets clone of the repository using GIT_ASSETS_BRANCH and | ||
# GIT_API_KEY. | ||
|
||
[ ! -z "$GIT_ASSETS_BRANCH" ] || exit 1 | ||
|
||
setup_git() { | ||
git config --global user.email "travis@travis-ci.org" || exit 1 | ||
git config --global user.name "Travis CI" || exit 1 | ||
} | ||
|
||
# Constants | ||
ASSETS_DIR=".assets-branch" | ||
|
||
# Clone the assets branch with the correct credentials | ||
git clone --single-branch -b "$GIT_ASSETS_BRANCH" \ | ||
"https://${GIT_API_KEY}@github.com/${TRAVIS_REPO_SLUG}.git" "$ASSETS_DIR" || exit 1 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.