diff --git a/config/apps.json b/config/apps.json index 53c65f5..67d898a 100644 --- a/config/apps.json +++ b/config/apps.json @@ -3,12 +3,17 @@ "Imagify App": "wpm-imagify-app", "SaaS RUCSS": "wpm-rucss", "Monies": "wpm-monies", - "RocketCDN App": "wpm-rocketcdn-app" + "RocketCDN App": "wpm-rocketcdn-app", + "wp-rocket.me": "wpm-wprocket", + "Imagify Website": "wpm-imagify-website", + "RocketCDN Website": "wpm-rocketcdn-website" }, "envList": { "staging": "staging", "next": "next", "test": "test", - "mirror": "mirror" + "mirror": "mirror", + "sandbox 1": "sandbox1", + "sandbox 2": "sandbox2" } } diff --git a/sources/factories/SlackMessageFactory.py b/sources/factories/SlackMessageFactory.py index b22dfad..3be881f 100644 --- a/sources/factories/SlackMessageFactory.py +++ b/sources/factories/SlackMessageFactory.py @@ -119,7 +119,7 @@ def get_release_note_review_blocks(self, text): { "type": "section", "text": { - "type": "plain_text", + "type": "mrkdwn", "text": text, "emoji": True } diff --git a/sources/handlers/DeployHandler.py b/sources/handlers/DeployHandler.py index 7ac5bce..35afe5a 100644 --- a/sources/handlers/DeployHandler.py +++ b/sources/handlers/DeployHandler.py @@ -43,9 +43,6 @@ def deploy_commit(self, app_context, task_params: DeployHandlerParam): request_payload['environment'] = task_params.env request_payload['ref'] = task_params.commit - current_app.logger.info("deploy_commit: Requesting a deployment:\n" + - json.dumps(request_payload) + "\n" + - json.dumps(request_header)) result = requests.post(url=self.godp_deploy_url, headers=request_header, json=request_payload, timeout=3000) diff --git a/sources/listeners/SlackInteractionListener.py b/sources/listeners/SlackInteractionListener.py index a4f652b..ffa7598 100644 --- a/sources/listeners/SlackInteractionListener.py +++ b/sources/listeners/SlackInteractionListener.py @@ -35,7 +35,6 @@ def __call__(self): # Retrieve the payload of the POST request payload_json = json.loads(request.form.get('payload')) - current_app.logger.info("SlackInteractionListener Payload: " + json.dumps(payload_json)) # Route the request to the correct handler payload_type = payload_json['type']