diff --git a/.drone.yml b/.drone.yml index c738cf5..fd9783c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,10 +25,17 @@ steps: from_secret: DOCKER_PASSWORD commands: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin +<<<<<<< HEAD - docker build -t="$DOCKER_USERNAME/consumer" . - docker build -t="$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER" . - docker push "$DOCKER_USERNAME/consumer" - docker push "$DOCKER_USERNAME/consumer:$DRONE_BUILD_NUMBER" +======= + - docker build -t="$DOCKER_USERNAME/consumer-scheduler" . + - docker build -t="$DOCKER_USERNAME/consumer-scheduler:$DRONE_BUILD_NUMBER" . + - docker push "$DOCKER_USERNAME/consumer-scheduler" + - docker push "$DOCKER_USERNAME/consumer-scheduler:$DRONE_BUILD_NUMBER" +>>>>>>> 7972566edb8660d7ba3ee0dcc58ee8740922f62c - name: slack image: plugins/slack diff --git a/app.py b/app.py index 4aaddda..ffd854c 100644 --- a/app.py +++ b/app.py @@ -2,15 +2,15 @@ import sentry_sdk """ -Main Flask RESTful API +Scheduler """ -__author__ = "@tormakris" +__author__ = "@kocsisr" __copyright__ = "Copyright 2020, GoldenPogácsa Team" __module_name__ = "app" __version__text__ = "1" -sentry_sdk.init("https://0a106e104e114bc9a3fa47f9cb0db2f4@sentry.kmlabz.com/10") +sentry_sdk.init("https://1b2c8467076c4e2e9158b60a4bb96bdc@sentry.kmlabz.com/11") if __name__ == "__main__": - print("Producer") + print("Consumer-Scheduler") diff --git a/requirements.txt b/requirements.txt index 2be6044..9e669fa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ sentry_sdk -flask -flask-redis \ No newline at end of file +request +redis \ No newline at end of file