Skip to content
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

Always download last version of kube-burner, k8s-netperf and ingress-… #348

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions dags/openshift_nightlies/scripts/install/hypershift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,8 @@ update_fw(){
index_mgmt_cluster_stat(){
echo "Indexing Management cluster stat..."
cd /home/airflow/workspace
echo "Installing kube-burner"
export KUBE_BURNER_RELEASE=${KUBE_BURNER_RELEASE:-1.3}
curl -L https://github.com/cloud-bulldozer/kube-burner/releases/download/v${KUBE_BURNER_RELEASE}/kube-burner-${KUBE_BURNER_RELEASE}-Linux-x86_64.tar.gz -o kube-burner.tar.gz
sudo tar -xvzf kube-burner.tar.gz -C /usr/local/bin/
echo "Installing last version of kube-burner"
curl -L $(curl -s https://api.github.com/repos/cloud-bulldozer/kube-burner/releases/latest | jq -r '.assets | map(select(.name | test("linux-x86_64"))) | .[0].browser_download_url') | tar xz -C /usr/local/bin kube-burner
echo "Cloning ${E2E_BENCHMARKING_REPO} from branch ${E2E_BENCHMARKING_BRANCH}"
git clone -q -b ${E2E_BENCHMARKING_BRANCH} ${E2E_BENCHMARKING_REPO} --depth=1 --single-branch
export KUBECONFIG=/home/airflow/auth/config
Expand Down
5 changes: 3 additions & 2 deletions images/airflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | b

ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6

RUN curl -L https://github.com/cloud-bulldozer/kube-burner/releases/download/v1.7.3/kube-burner-V1.7.3-linux-x86_64.tar.gz | tar xz -C /usr/bin kube-burner
RUN curl -L https://github.com/cloud-bulldozer/k8s-netperf/releases/download/v0.1.11/k8s-netperf_Linux_v0.1.11_x86_64.tar.gz | tar xz -C /usr/bin k8s-netperf
RUN curl -L $(curl -s https://api.github.com/repos/cloud-bulldozer/kube-burner/releases/latest | jq -r '.assets | map(select(.name | test("linux-x86_64"))) | .[0].browser_download_url') | tar xz -C /usr/bin kube-burner
RUN curl -L $(curl -s https://api.github.com/repos/cloud-bulldozer/k8s-netperf/releases/latest | jq -r '.assets | map(select(.name | test("Linux.*x86_64"))) | .[0].browser_download_url') | tar xz -C /usr/bin k8s-netperf
RUN curl -L $(curl -s https://api.github.com/repos/cloud-bulldozer/ingress-perf/releases/latest | jq -r '.assets | map(select(.name | test("Linux.*x86_64"))) | .[0].browser_download_url') | tar xz -C /usr/bin ingress-perf
USER airflow
Loading