David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said almost 3 years ago on Multiple Resources with Devise :
  Berileg  I wasn't aware that there were some dimming parts and fading voices. That could have been a post edit or a transcoding issue. Do you have an example video and timestamp when this occurred? 

David Kimura PRO said almost 3 years ago on Multiple Resources with Devise :
Ah I see. Those are poor edits and not sure how I missed that. It shouldn’t be the norm.

David Kimura PRO said almost 3 years ago on Deployment alternatives :
I have this episode slated for the first episode in February.

David Kimura PRO said almost 3 years ago on From Editor to IDE :
I haven't tried the VS Code debugging on Rails 7 yet. I'm still "stuck in the past" with how I debug. I find "puts debugging" to be quick and efficient. I even started to add in little emojis ❤️❤️❤️ to more easily see them in the logs.

David Kimura PRO said almost 3 years ago on Deploying to Amazon Linux 2 :
  jose.esmerino Here's what I use in my gitlab-ci.yml file for deploying from the gitlab runner to a production Elastic Beanstalk environment.

You'd need to set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in the runner's environment variables. Hope this helps!

stages:
  - production

production:
  image: python:latest
  variables:
    DEBIAN_FRONTEND: noninteractive
    AWS_DEFAULT_REGION: "REGION" # <= CHANGE ME
    EB_APP_NAME: "APPNAME" # <= CHANGE ME
    EB_APP_ENV: "ENVNAME" # <= CHANGE ME
  stage: production
  when: manual
  before_script:
    - apt update
    - apt install curl awscli -y
    - pip install awsebcli --upgrade --user
    - export PATH=~/.local/bin:$PATH
  script:
    - aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
    - aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
    # - export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID <= if aws config set doesn't work
    # - export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
    - eb deploy YOUR_APP_HERE --timeout 30  # <= CHANGE ME
  only:
    - main