Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup old code #53

Merged
merged 1 commit into from
Oct 20, 2024
Merged

chore: cleanup old code #53

merged 1 commit into from
Oct 20, 2024

Conversation

notdodo
Copy link
Owner

@notdodo notdodo commented Oct 20, 2024

No description provided.

Copy link

🍹 preview on erfiume/notdodo/erfiume/production

Pulumi report
  Previewing update (production)

View Live: https://app.pulumi.com/notdodo/erfiume/production/previews/1740b91d-0b9f-4421-91a7-bc8b03ced1aa

2024/10/20 12:59:00 Initializing Terraform AWS Provider...

pulumi:pulumi:Stack: (same)
  [urn=urn:pulumi:production::erfiume::pulumi:pulumi:Stack::erfiume-production]
  - aws:lambda/layerVersion:LayerVersion: (delete)
        [id=arn:aws:lambda:eu-west-1:841162699174:layer:erfiume:12]
        [urn=urn:pulumi:production::erfiume::aws:lambda/layerVersion:LayerVersion::erfiume-python3.12]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:aws::default_6_56_0::baf85567-80c8-46b8-9b7f-a6c27d17a96d]
        code              : "../dist/lambda-layer.zip"
        compatibleRuntimes: [
            [0]: "python3.12"
        ]
        description       : "Lambda Python layer for erfiume"
        layerName         : "erfiume"
        skipDestroy       : false
        sourceCodeHash    : "78e341986460c1444fb70efbd8c98463a850ea92d9a64a5a298ff1b467a9e1c0"
    - command:local:Command: (delete)
        [id=erfiume-sha256-lambda-zip-layer6300f5f5]
        [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-sha256-lambda-zip-layer]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
        addPreviousOutputInEnv: true
        archivePaths          : [
            [0]: "../dist/lambda-layer.zip"
        ]
        create                : "sha256sum lambda-layer.zip | cut -d ' ' -f1"
        dir                   : "../dist/"
        triggers              : [
            [0]: asset(file:a7eb079) { ../app/poetry.lock }
            [1]: ""
            [2]: ""
            [3]: ""
            [4]: ""
            [5]: ""
            [6]: ""
            [7]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv"
            [8]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.35.36)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.35.36)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.15.2)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.2.0)
  - Installing aws-lambda-powertools (3.1.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)"
        ]
        update                : "sha256sum lambda-layer.zip | cut -d ' ' -f1"
    - command:local:Command: (delete)
        [id=erfiume-create-zip-layer3e3ac7ec]
        [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-create-zip-layer]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
        addPreviousOutputInEnv: true
        create                : "zip -q -r -D -X -9 -A ../../lambda-layer.zip ../"
        dir                   : "../dist/lambda-layer/python"
        triggers              : [
            [0]: asset(file:a7eb079) { ../app/poetry.lock }
            [1]: ""
            [2]: ""
            [3]: ""
            [4]: ""
            [5]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv"
            [6]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.35.36)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.35.36)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.15.2)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.2.0)
  - Installing aws-lambda-powertools (3.1.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)"
        ]
        update                : "zip -q -r -D -X -9 -A ../../lambda-layer.zip ../"
    - command:local:Command: (delete)
        [id=erfiume-cleanup-layera28c35b6]
        [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-cleanup-layer]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
        addPreviousOutputInEnv: true
        create                : "rm -rf .venv .mypy_cache .ruff_cache .env Makefile poetry.lock pyproject.toml standalone.py fetcher"
        dir                   : "../dist/lambda-layer/python"
        triggers              : [
            [0]: asset(file:a7eb079) { ../app/poetry.lock }
            [1]: ""
            [2]: ""
            [3]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv"
            [4]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.35.36)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.35.36)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.15.2)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.2.0)
  - Installing aws-lambda-powertools (3.1.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)"
        ]
        update                : "rm -rf .venv .mypy_cache .ruff_cache .env Makefile poetry.lock pyproject.toml standalone.py fetcher"
    - command:local:Command: (delete)
        [id=erfiume-copy-python-libraries7d881288]
        [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-copy-python-libraries]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
        addPreviousOutputInEnv: true
        create                : "mkdir -p ./dist/lambda-layer/python;         cp -r -p ./app/.venv/lib ./dist/lambda-layer/python/"
        dir                   : "../"
        triggers              : [
            [0]: asset(file:a7eb079) { ../app/poetry.lock }
            [1]: "Creating virtualenv erfiume in /home/runner/work/erfiume_bot/erfiume_bot/app/.venv"
            [2]: "Installing dependencies from lock file

Package operations: 31 installs, 0 updates, 0 removals

  - Installing six (1.16.0)
  - Installing jmespath (1.0.1)
  - Installing python-dateutil (2.9.0.post0)
  - Installing urllib3 (2.2.3)
  - Installing botocore (1.35.36)
  - Installing frozenlist (1.4.1)
  - Installing idna (3.10)
  - Installing multidict (6.1.0)
  - Installing aiohappyeyeballs (2.4.0)
  - Installing aiosignal (1.3.1)
  - Installing attrs (24.2.0)
  - Installing certifi (2024.8.30)
  - Installing h11 (0.14.0)
  - Installing s3transfer (0.10.2)
  - Installing sniffio (1.3.1)
  - Installing yarl (1.11.1)
  - Installing aiohttp (3.10.5)
  - Installing aioitertools (0.12.0)
  - Installing anyio (4.5.0)
  - Installing boto3 (1.35.36)
  - Installing httpcore (1.0.5)
  - Installing wrapt (1.16.0)
  - Installing aiobotocore (2.15.2)
  - Installing aiofiles (24.1.0)
  - Installing httpx (0.27.2)
  - Installing rapidfuzz (3.9.7)
  - Installing typing-extensions (4.12.2)
  - Installing aioboto3 (13.2.0)
  - Installing aws-lambda-powertools (3.1.0)
  - Installing python-telegram-bot (21.6)
  - Installing thefuzz (0.22.1)"
        ]
        update                : "mkdir -p ./dist/lambda-layer/python;         cp -r -p ./app/.venv/lib ./dist/lambda-layer/python/"
    - command:local:Command: (delete)
        [id=erfiume-poetry-install4361535b]
        [urn=urn:pulumi:production::erfiume::command:local:Command::erfiume-poetry-install]
        [provider=urn:pulumi:production::erfiume::pulumi:providers:command::default_1_0_1::0dd51cf0-7eb4-4686-a774-b70670b91527]
        addPreviousOutputInEnv: true
        create                : "poetry install --only main --sync"
        dir                   : "../app/"
        environment           : {
            PYTHONUNBUFFERED: "1"
        }
        triggers              : [
            [0]: asset(file:a7eb079) { ../app/poetry.lock }
        ]
        update                : "poetry install --only main --sync"
Resources:
  - 6 to delete
  19 unchanged
  

@notdodo notdodo merged commit cba6ab0 into main Oct 20, 2024
10 checks passed
@notdodo notdodo deleted the clean_up branch October 20, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant