Skip to content

Commit

Permalink
control-service: install kubectl (#2290)
Browse files Browse the repository at this point in the history
# Why
The script deploy-testing-pipelines-service.sh needs kubectl installed
if you are setting up the env.
Here I install it so we can use the setup env in this step.

I discovered this because I am trying to create secrets in a new
namespace in this PR
#2269.


This must be a regression from when we moved away from the aws image.

---------

Signed-off-by: murphp15 <[email protected]>
  • Loading branch information
murphp15 authored and mivanov1988 committed Jun 21, 2023
1 parent cada0ed commit 3fa5935
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/control-service/cicd/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ control_service_deploy_testing_data_pipelines:
- pip install --upgrade pip && pip install awscli
- export FRONTEND_TAG=latest
- export DESIRED_VERSION=v3.12.0 # helm version
- curl -LO https://dl.k8s.io/release/v1.27.2/bin/linux/amd64/kubectl
- chmod +x ./kubectl
- mv ./kubectl /usr/bin/kubectl
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
- bash -ex ./projects/control-service/cicd/deploy-testing-pipelines-service.sh
retry: !reference [.control_service_retry, retry_options]
Expand Down

0 comments on commit 3fa5935

Please sign in to comment.