Skip to content

Commit aa46bc6

Browse files
author
gaspardmoindrot
authored
[PTFE-105] 🐛 Fix AWS runner-manager tags problem in the conf file (#248)
1 parent b50b06d commit aa46bc6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,4 @@ RUN poetry config virtualenvs.create false && \
2424

2525
COPY . /app/
2626

27-
RUN useradd -r -u 1000 runner-manager \
28-
&& chown -R runner-manager /app
29-
USER runner-manager
30-
3127
CMD ["uvicorn", "srcs.web.app:app", "--host", "0.0.0.0", "--port", "80"]

srcs/runners_manager/vm_creation/aws/AwsManager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def __init__(
3131
)
3232
self.tags = settings.get("tags")
3333
self.ec2 = boto3.client("ec2")
34+
logger.debug('AWS init, configured with tags: {}'.format(self.tags))
3435

3536
def delete_existing_runner(self, runner: Runner):
3637
"""Delete an old runner instance from AWS if it exists."""

0 commit comments

Comments
 (0)