Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rcfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
rcfiles
Commits
3013b9d6
Commit
3013b9d6
authored
6 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Improvements and fixes to vendored, generated and binary files Makefile.
parent
10555eba
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.bashrc
+2
-1
2 additions, 1 deletion
.bashrc
Makefile
+30
-19
30 additions, 19 deletions
Makefile
with
32 additions
and
20 deletions
.bashrc
+
2
−
1
View file @
3013b9d6
...
@@ -114,7 +114,8 @@ alias detectproxy='w3m http://detectportal.firefox.com/success.txt'
...
@@ -114,7 +114,8 @@ alias detectproxy='w3m http://detectportal.firefox.com/success.txt'
alias
color
=
'less --raw-control-chars -p'
alias
color
=
'less --raw-control-chars -p'
alias
pip2
=
'python2 -m pip'
alias
pip2
=
'python2 -m pip'
alias
pip3
=
'python3 -m pip'
alias
pip3
=
'python3 -m pip'
alias
rc_update
=
"make --directory
$HOME
--always-make all"
alias
rc_update
=
"make --directory
$HOME
--always-make"
alias
gen-ssh-config
=
"rc_update .ssh/config"
alias
bfg
=
'java -jar $HOME/.local/share/bfg/bfg.jar'
alias
bfg
=
'java -jar $HOME/.local/share/bfg/bfg.jar'
genpass
()
{
genpass
()
{
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
30
−
19
View file @
3013b9d6
.PHONY
:
all binaries
.PHONY
:
all binaries
generated vendored
ssh_configs
:=
$(
wildcard .ssh/config.d/
*
)
tempdir
!=
mktemp
-d
download
=
curl
--silent
--location
--fail
--output
$@
os
!=
uname
-s
|
awk
'{print tolower($$0)}'
arch
:=
amd64
ssh_configs
!=
find
".ssh/config.d/"
-type
f
\!
-name
'.*'
curl
=
curl
--location
--silent
--fail
download
=
$(
curl
)
--output
$@
all
:
.config/pythonrc.py .ssh/config .bash_completion.d/aws .bash_completion.d/docker-compose .bash_completion.d/docker-machine.bash .bash_completion.d/docker-machine.bash .travis/travis.sh binaries
all
:
vendored generated binaries
vendored
:
.config/pythonrc.py .bash_completion.d/aws .bash_completion.d/docker-compose .bash_completion.d/docker-machine.bash .bash_completion.d/docker-machine.bash .travis/travis.sh
binaries
:
.local/share/bfg/bfg.jar .local/bin/rke .local/bin/docker-machine .local/bin/packer .local/bin/terraform .local/bin/vault .local/bin/kubectl .local/bin/kops .local/bin/kompose .local/bin/minikube
generated
:
.ssh/config
binaries
:
.local/share/bfg/bfg.jar .local/bin/rke .local/bin/docker-machine .local/bin/packer .local/bin/terraform .local/bin/vault .local/bin/kubectl .local/bin/kops .local/bin/kompose .local/bin/minikube .local/bin/docker-machine-driver-kvm2
.ssh/config
:
$(ssh_configs)
.ssh/config
:
$(ssh_configs)
find
".
ssh
/
config
.d/"
-type
f
\!
-name
'.*'
-print0
|
sort
--zero
| xargs
-0
cat
>
".ssh/config"
cat
$(
ssh
_
config
s
)
>
$@
.bash_completion.d/docker-compose
:
.bash_completion.d/docker-compose
:
$(
download
)
https://raw.githubusercontent.com/docker/compose/1.23.2/contrib/completion/bash/docker-compose
$(
download
)
https://raw.githubusercontent.com/docker/compose/1.23.2/contrib/completion/bash/docker-compose
...
@@ -30,39 +35,45 @@ binaries: .local/share/bfg/bfg.jar .local/bin/rke .local/bin/docker-machine .loc
...
@@ -30,39 +35,45 @@ binaries: .local/share/bfg/bfg.jar .local/bin/rke .local/bin/docker-machine .loc
$(
download
)
'https://search.maven.org/remote_content?g=com.madgag&a=bfg&v=LATEST'
$(
download
)
'https://search.maven.org/remote_content?g=com.madgag&a=bfg&v=LATEST'
.local/bin/rke
:
.local/bin/rke
:
$(
download
)
https://github.com/rancher/rke/releases/download/v0.2.0/rke_
darwin-amd64
$(
download
)
https://github.com/rancher/rke/releases/download/v0.2.0/rke_
$(
os
)
-
$(
arch
)
chmod
+x
$@
chmod
+x
$@
.local/bin/docker-machine
:
.local/bin/docker-machine
:
$(
download
)
"https://github.com/docker/machine/releases/download/v0.16.0/docker-machine-
$
$(
uname -
s
)
-
$$(
uname -m
)
"
$(
download
)
"https://github.com/docker/machine/releases/download/v0.16.0/docker-machine-
$
(
o
s
)
-
$$(
uname -m
)
"
chmod
+x
$@
chmod
+x
$@
.local/bin/packer
:
.local/bin/packer
:
$(
download
)
https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_linux_amd64.zip
$(
curl
)
https://releases.hashicorp.com/packer/1.3.5/packer_1.3.5_
$(
os
)
_
$(
arch
)
.zip
--output
$(
tempdir
)
/packer.zip
chmod
+x
$@
unzip
-d
$(
tempdir
)
$(
tempdir
)
/packer.zip
install
-m
755
$(
tempdir
)
/packer
$@
rm
$(
tempdir
)
/packer
*
.local/bin/terraform
:
.local/bin/terraform
:
$(
download
)
https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip
$(
curl
)
https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_
$(
os
)
_
$(
arch
)
.zip
--output
$(
tempdir
)
/terraform.zip
chmod
+x
$@
unzip
-d
$(
tempdir
)
$(
tempdir
)
/terraform.zip
install
-m
755
$(
tempdir
)
/terraform
$@
rm
$(
tempdir
)
/terraform
*
.local/bin/vault
:
.local/bin/vault
:
$(
download
)
https://releases.hashicorp.com/vault/1.1.0/vault_1.1.0_linux_amd64.zip
$(
curl
)
https://releases.hashicorp.com/vault/1.1.0/vault_1.1.0_
$(
os
)
_
$(
arch
)
.zip
--output
$(
tempdir
)
/vault.zip
chmod
+x
$@
unzip
-d
$(
tempdir
)
$(
tempdir
)
/vault.zip
install
-m
755
$(
tempdir
)
/vault
$@
rm
$(
tempdir
)
/vault
*
.local/bin/kubectl
:
.local/bin/kubectl
:
$(
download
)
"https://storage.googleapis.com/kubernetes-release/release/
$$(
curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt
)
/bin/linux/amd64
/kubectl"
$(
download
)
"https://storage.googleapis.com/kubernetes-release/release/
v1.13.4/bin/
$(
os
)
/
$(
arch
)
/kubectl"
chmod
+x
$@
chmod
+x
$@
.local/bin/kops
:
.local/bin/kops
:
$(
download
)
"https://github.com/kubernetes/kops/releases/download/
$$(
curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"
' -f 4
)
/kops-linux-amd64
"
$(
download
)
"https://github.com/kubernetes/kops/releases/download/
1.11.1/kops-
$(
os
)
-
$(
arch
)
"
chmod
+x
$@
chmod
+x
$@
.local/bin/kompose
:
.local/bin/kompose
:
$(
download
)
https://github.com/kubernetes/kompose/releases/download/v1.17.0/kompose-
linux-amd64
$(
download
)
https://github.com/kubernetes/kompose/releases/download/v1.17.0/kompose-
$(
os
)
-
$(
arch
)
chmod
+x
$@
chmod
+x
$@
.local/bin/minikube
:
.local/bin/minikube
:
$(
download
)
https://storage.googleapis.com/minikube/releases/latest/minikube-
linux-amd64
$(
download
)
https://storage.googleapis.com/minikube/releases/latest/minikube-
$(
os
)
-
$(
arch
)
chmod
+x
$@
chmod
+x
$@
.local/bin/docker-machine-driver-kvm2
:
.local/bin/docker-machine-driver-kvm2
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment