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

Discord py additional fixes #157

Merged
merged 2 commits into from
Nov 23, 2022
Merged

Discord py additional fixes #157

merged 2 commits into from
Nov 23, 2022

Conversation

GrantBirki
Copy link
Owner

@GrantBirki GrantBirki added the bug Something isn't working label Nov 23, 2022
@github-actions
Copy link

Terraform Plan - aws - Production 🪐

  • Terraform Format and Style 🖌: success
  • Terraform Initialization ⚙️: success
  • Terraform Validation 🤖: success
  • Terraform Plan 📖: success
Show Plan
module.dynamodb_table.aws_dynamodb_table.this[0]: Refreshing state... [id=remember]
module.dynamodb_eft_tracker.aws_dynamodb_table.this[0]: Refreshing state... [id=eftitemtracker]
module.dynamodb_table_tts.aws_dynamodb_table.this[0]: Refreshing state... [id=tts]
module.dynamodb_table_play.aws_dynamodb_table.this[0]: Refreshing state... [id=play]
module.dynamodb_table_loud.aws_dynamodb_table.this[0]: Refreshing state... [id=loud]
module.dynamodb_table_sparkle.aws_dynamodb_table.this[0]: Refreshing state... [id=sparkle]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pusher: @GrantBirki, Action: pull_request, Working Directory: terraform/aws, Workflow: ci

Terraform Plan - k8s-cluster - Production 🪐

  • Terraform Format and Style 🖌: success
  • Terraform Initialization ⚙️: success
  • Terraform Validation 🤖: success
  • Terraform Plan 📖: success
Show Plan
azurerm_network_security_group.nsg: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourceGroups/errbot/providers/Microsoft.Network/networkSecurityGroups/errbot_nsg]
azurerm_virtual_network.vnet: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourceGroups/errbot/providers/Microsoft.Network/virtualNetworks/errbot_vnet]
azurerm_container_registry.acr: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourceGroups/errbot/providers/Microsoft.ContainerRegistry/registries/errbotacr]
azurerm_subnet.subnet: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourceGroups/errbot/providers/Microsoft.Network/virtualNetworks/errbot_vnet/subnets/errbot_default_subnet]
azurerm_subnet_network_security_group_association.nsg_association: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourceGroups/errbot/providers/Microsoft.Network/virtualNetworks/errbot_vnet/subnets/errbot_default_subnet]
azurerm_kubernetes_cluster.aks: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourcegroups/errbot/providers/Microsoft.ContainerService/managedClusters/errbot-k8s]
azurerm_role_assignment.role_acrpull: Refreshing state... [id=/subscriptions/4321e9c7-b790-4d6b-a13c-2fac24800deb/resourceGroups/errbot/providers/Microsoft.ContainerRegistry/registries/errbotacr/providers/Microsoft.Authorization/roleAssignments/98ebabba-07cf-a90e-33da-d7cc741a3adc]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Pusher: @GrantBirki, Action: pull_request, Working Directory: terraform/k8s-cluster, Workflow: ci

Terraform Plan - k8s - Production 🪐

  • Terraform Format and Style 🖌: success
  • Terraform Initialization ⚙️: success
  • Terraform Validation 🤖: success
  • Terraform Plan 📖: success
Show Plan
module.promtail.kubectl_manifest.promtail_configmap[0]: Refreshing state... [id=/api/v1/namespaces/default/configmaps/promtail-config]
module.errbot.kubectl_manifest.errbot_namespace[0]: Refreshing state... [id=/api/v1/namespaces/errbot]
module.errbot.kubectl_manifest.errbot_secret[0]: Refreshing state... [id=/api/v1/namespaces/errbot/secrets/errbot-secret]
module.promtail.kubectl_manifest.promtail_deployment[3]: Refreshing state... [id=/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/promtail]
module.errbot.kubectl_manifest.errbot_network_policy[0]: Refreshing state... [id=/apis/networking.k8s.io/v1/namespaces/errbot/networkpolicys/errbot-network-policy]
module.promtail.kubectl_manifest.promtail_deployment[2]: Refreshing state... [id=/apis/rbac.authorization.k8s.io/v1/clusterroles/promtail]
module.promtail.kubectl_manifest.promtail_deployment[1]: Refreshing state... [id=/api/v1/namespaces/default/serviceaccounts/promtail]
module.promtail.kubectl_manifest.promtail_deployment[0]: Refreshing state... [id=/apis/apps/v1/namespaces/default/daemonsets/promtail]
module.errbot.kubectl_manifest.errbot_deployment[0]: Refreshing state... [id=/apis/apps/v1/namespaces/errbot/deployments/errbot]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.errbot.kubectl_manifest.errbot_deployment[0] will be updated in-place
  ~ resource "kubectl_manifest" "errbot_deployment" {
        id                      = "/apis/apps/v1/namespaces/errbot/deployments/errbot"
        name                    = "errbot"
      ~ yaml_body               = (sensitive value)
      ~ yaml_body_parsed        = <<-EOT
            apiVersion: apps/v1
            kind: Deployment
            metadata:
              labels:
                name: errbot
              name: errbot
              namespace: errbot
            spec:
              replicas: 1
              selector:
                matchLabels:
                  name: errbot
              strategy: {}
              template:
                metadata:
                  annotations:
                    seccompProfile.security.alpha.kubernetes.io/pod: runtime/default
                  labels:
                    name: errbot
                spec:
                  automountServiceAccountToken: false
                  containers:
                  - env:
                    - name: BOT_NAME
                      value: errbot
                    - name: BACKEND
                      value: Discord
                    - name: BOT_STATUS_MESSAGE
                      value: errbot.birki.io | .help
                    - name: BOT_PREFIX
                      value: .
                    - name: BOT_HOME_CHANNEL
                      value: errbot
                    - name: DOCS_URL
                      value: https://errbot.birki.io
                    - name: BOT_ADMINS
          -           value: Birki#0001
          +           value: '@Birki#0001'
                    - name: BOT_EXTRA_BACKEND_DIR
                      value: /app/backend/err-backend-discord
                    - name: DISABLE_EFT_CRON
                      value: "False"
                    - name: DISABLE_LEAGUE_CRON
                      value: "False"
                    - name: RIOT_REGION
                      value: na1
                    - name: RIOT_REGION_V5
                      value: AMERICAS
                    - name: IMAGE_TAG
          -           value: 56afd00eaeaaeb9f09f78b0841f266fa4f8514af
          +           value: 7dfe305b436753f668bf3b23b9e22c8f525c4875
                    - name: SERVER_LOCK_ALLOW_LIST
                      value: "66199319505543168"
                    - name: CHAT_SERVICE_TOKEN
                      valueFrom:
                        secretKeyRef:
                          key: CHAT_SERVICE_TOKEN
                          name: errbot-secret
                    - name: RIOT_TOKEN
                      valueFrom:
                        secretKeyRef:
                          key: RIOT_TOKEN
                          name: errbot-secret
                    - name: AWS_ACCESS_KEY_ID
                      valueFrom:
                        secretKeyRef:
                          key: AWS_ACCESS_KEY_ID
                          name: errbot-secret
                    - name: AWS_SECRET_ACCESS_KEY
                      valueFrom:
                        secretKeyRef:
                          key: AWS_SECRET_ACCESS_KEY
                          name: errbot-secret
                    - name: SPOTIFY_CLIENT_ID
                      valueFrom:
                        secretKeyRef:
                          key: SPOTIFY_CLIENT_ID
                          name: errbot-secret
                    - name: SPOTIFY_CLIENT_SECRET
                      valueFrom:
                        secretKeyRef:
                          key: SPOTIFY_CLIENT_SECRET
                          name: errbot-secret
                    - name: SENTRY
                      valueFrom:
                        secretKeyRef:
                          key: SENTRY
                          name: errbot-secret
                    - name: GEOLOCATION_KEY
                      valueFrom:
                        secretKeyRef:
                          key: GEOLOCATION_KEY
                          name: errbot-secret
          -         image: errbotacr.azurecr.io/errbot:56afd00eaeaaeb9f09f78b0841f266fa4f8514af
          +         image: errbotacr.azurecr.io/errbot:7dfe305b436753f668bf3b23b9e22c8f525c4875
                    imagePullPolicy: Always
                    name: errbot
                    resources:
                      limits:
                        cpu: "1.4"
                        memory: 1.5Gi
                      requests:
                        cpu: "0.40"
                        memory: 200Mi
                    securityContext:
                      allowPrivilegeEscalation: false
                      capabilities:
                        drop:
                        - ALL
                      privileged: false
                      runAsNonRoot: true
                      runAsUser: 10001
        EOT
        # (11 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Changes to Outputs:
  ~ errbot_image_tag = "56afd00eaeaaeb9f09f78b0841f266fa4f8514af" -> "7dfe305b436753f668bf3b23b9e22c8f525c4875"

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @GrantBirki, Action: pull_request, Working Directory: terraform/k8s, Workflow: ci

@GrantBirki GrantBirki merged commit 7526e8e into main Nov 23, 2022
@GrantBirki GrantBirki deleted the discord-py-additional-fixes branch November 23, 2022 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant