Skip to content

Commit

Permalink
update terraform, packer, helm2 to helm3, promtool, alertmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyu authored Feb 24, 2022
1 parent b10298b commit a26ab70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
16 changes: 6 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,15 @@ RUN pip install docker-compose
## packer (hashicorp-packer)
## https://github.com/hashicorp/packer/releases
## issue: https://github.com/cracklib/cracklib/issues/7
RUN packer_version=1.7.8 \
RUN packer_version=1.7.10 \
&& curl -o /tmp/packer.zip https://releases.hashicorp.com/packer/${packer_version}/packer_${packer_version}_linux_amd64.zip \
&& unzip /tmp/packer.zip -d /tmp/ \
&& mv -f /tmp/packer /usr/bin/hashicorp-packer \
&& rm -f /tmp/packer.zip

## helm
## helm 3
RUN cd /tmp/ \
&& helm_version=2.11.0 \
&& curl -L https://get.helm.sh/helm-v${helm_version}-linux-amd64.tar.gz | tar zx \
&& mv -f linux-amd64/helm /usr/bin/helm${helm_version} \
&& ln -f -s /usr/bin/helm${helm_version} /usr/bin/helm \
&& rm -rf linux-amd64
&& curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

## werf
## https://github.com/flant/werf/releases
Expand All @@ -141,22 +137,22 @@ RUN jq_version=1.6 \
## promtool from prometheus
## https://github.com/prometheus/prometheus/releases
RUN cd /tmp/ \
&& prometheus_version=2.30.3 \
&& prometheus_version=2.33.4 \
&& curl -L https://github.com/prometheus/prometheus/releases/download/v${prometheus_version}/prometheus-${prometheus_version}.linux-amd64.tar.gz | tar zx \
&& cp -f prometheus-${prometheus_version}.linux-amd64/promtool /usr/bin/ \
&& rm -rf prometheus-${prometheus_version}.linux-amd64

## amtool from alertmanager
## https://github.com/prometheus/alertmanager/releases
RUN cd /tmp/ \
&& alertmanager_version=0.21.0 \
&& alertmanager_version=0.23.0 \
&& curl -L https://github.com/prometheus/alertmanager/releases/download/v${alertmanager_version}/alertmanager-${alertmanager_version}.linux-amd64.tar.gz | tar zx \
&& cp -f alertmanager-${alertmanager_version}.linux-amd64/amtool /usr/bin/ \
&& rm -rf alertmanager-${alertmanager_version}.linux-amd64

## terraform
## https://releases.hashicorp.com/terraform
RUN terraform_version=1.1.2 \
RUN terraform_version=1.1.6 \
&& curl -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/${terraform_version}/terraform_${terraform_version}_linux_amd64.zip \
&& unzip /tmp/terraform.zip -d /usr/bin/ \
&& rm -f /tmp/terraform.zip
Expand Down
4 changes: 2 additions & 2 deletions scripts/version-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
jq --version
git --version
jsonnet --version
redis-cli --version
#redis-cli --version
python --version
pip3 --version
(az --version 2>/dev/null) | head -n 1
echo -n "kubectl: " && kubectl version --client=true --short=true
ansible --version | head -n 1
ansible-lint --version
azcopy --version
yc --version
bash -c 'yc --version'
mysql --version
mysqldump --version
mysqlpump --version
Expand Down

0 comments on commit a26ab70

Please sign in to comment.