i changed the yaml to below:
language: minimal
service: docker
env:
DOCKER_COMPOSE_VERSION=1.23.2
before_install:
docker -v && docker-compose -v
sudo rm /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-uname -s-uname -m > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
chmod +x ./kubectl
sudo mv ./kubectl/usr/local/bin/kubectl
install:
docker-compose -f Udagram-App-Microservices/deployment/docker/docker-compose-build.yaml build --parallel
and i got this errors:The command “chmod +x ./kubectl” failed and exited with 1 during .