diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index dd77f2f..4cc4649 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -20,7 +20,7 @@ pipelines: name: Build and Test script: - IMAGE_NAME=$BITBUCKET_REPO_SLUG - - docker build . --file Dockerfile --tag ${IMAGE_NAME} + - docker build . --file k8s/linode-autoscaler/Dockerfile --tag ${IMAGE_NAME} services: - docker caches: @@ -36,7 +36,7 @@ pipelines: name: Build and Test script: - IMAGE_NAME=linode-autoscaler - - docker build . --file linode-autoscaler/Dockerfile --tag ${IMAGE_NAME} + - docker build . --file k8s/linode-autoscaler/Dockerfile --tag ${IMAGE_NAME} - docker save ${IMAGE_NAME} --output "${IMAGE_NAME}.tar" services: - docker @@ -66,7 +66,7 @@ pipelines: deployment: production script: - IMAGE="gcr.io/$GCLOUD_PROJECT/$BITBUCKET_REPO_SLUG:prod-0.1.$BITBUCKET_BUILD_NUMBER" - - sed -i "s|{{linode_autoscaler_image}}|$IMAGE|g" k8s/webrtc-be-daemonset.yaml + - sed -i "s|{{linode_autoscaler_image}}|$IMAGE|g" k8s/linode-autoscaler/webrtc-be-autoscaler.yaml - pipe: atlassian/kubectl-run:1.1.2 variables: KUBE_CONFIG: $KUBE_CONFIG