-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: run deploy stage without rebuilding on master (#25)
* remove git-core ppa from ubuntu install * git is now installed with brew * setup install pipeline to only run on PRs * setup deploy pipeline to only run on master * does not require a rebuild of install pipeline (this is already handled in the PR -- no reason to burn our minutes)
- Loading branch information
1 parent
0b09959
commit c402a9f
Showing
3 changed files
with
32 additions
and
47 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
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,29 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
__am-prompt-install-ubuntu() { | ||
local PACKAGES=(build-essential curl file git) | ||
|
||
__am-prompt-success "updating software repositories..." | ||
sudo apt-get update | ||
|
||
__am-prompt-success "install add-apt-repository..." | ||
sudo apt-get install -y software-properties-common | ||
|
||
__am-prompt-success "setting up git-core repository..." | ||
sudo add-apt-repository ppa:git-core/ppa -y | ||
|
||
__am-prompt-success "updating software repositories..." | ||
sudo apt-get update | ||
|
||
for pkg in "${PACKAGES[@]}"; do | ||
__am-prompt-success "installing $pkg..." | ||
sudo apt-get install -y ${pkg} | ||
done | ||
|
||
__am-prompt-success "removing unnecessary dependencies..." | ||
sudo apt-get autoremove -y | ||
|
||
source "$SCRIPT_DIR/uname/install-linux.sh" | ||
} | ||
|
||
__am-prompt-install-ubuntu | ||
source "$SCRIPT_DIR/uname/install-debian.sh" |