From b78cb0c9ce05eab680e2ef2f7f8d9bb2978bb36f Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Fri, 18 Aug 2017 00:01:07 +0000 Subject: [PATCH] Delete bitbucket-pipelines.yml --- bitbucket-pipelines.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 bitbucket-pipelines.yml diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml deleted file mode 100644 index 82c6fb47..00000000 --- a/bitbucket-pipelines.yml +++ /dev/null @@ -1,32 +0,0 @@ -# This is a sample build configuration for Docker. -# Check our guides at https://confluence.atlassian.com/x/O1toN for more examples. -# Only use spaces to indent your .yml configuration. -# ----- -# You can specify a custom docker image from Docker Hub as your build environment. -# image: atlassian/default-image:latest - -# enable Docker for your repository -options: - docker: true - -image: python:3.6.2 -pipelines: - default: - - step: - script: - - echo "Making sure the python actually runs" - - pip install docker discord.py pybooru requests pylint - - python dragon-bot.py test - - export IMAGE_NAME=ldooks/dragon-bot:latest - # build the Docker image (this will use the Dockerfile in the root of the repo) - - docker build -t $IMAGE_NAME . - branches: - master: - - step: - script: - - export IMAGE_NAME=ldooks/dragon-bot:latest - - docker build -t $IMAGE_NAME . - # authenticate with the Docker Hub registry - - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD - # push the new Docker image to the Docker registry - - docker push $IMAGE_NAME \ No newline at end of file