суббота, 28 ноября 2020 г.

BluePrism AutmateC.exe PowerShell Automation

 


Load the Queues

    $automatec = "C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe"

    & $automatec /sso /startschedule /schedule "03.01 - Load AUH SCAL Queue" #577

    & $automatec /sso /startschedule /schedule "03.03 - Load PDR SCAL Queue" #575

    & $automatec /sso /startschedule /schedule "03.04 - Load PDR NCAL Queue" #574

    & $automatec /sso /startschedule /schedule "03.05 - Load AUH NW Queue" #563

    & $automatec /sso /startschedule /schedule "03.06 - Load PDR GA Queue" #570

Gitlab ECR Credentials Helper - Settings on Runner

 

vi /etc/gitlab-runner/config.toml

concurrent = 1

check_interval = 0

[session_server]

  session_timeout = 1800

[[runners]]

  name = "EC2_i-034aeb1a7a49cda81"

  url = "https://gitlab-sfo.dolby.net/"

  token = "4EnhzuihzRrszK_y"

  executor = "docker"

  [runners.custom_build_dir]

  [runners.cache]

    Type = "s3"

    Shared = true

    [runners.cache.s3]

      BucketName = "domain.build-agent.cache"

      BucketLocation = "us-west-2"

    [runners.cache.gcs]

    [runners.cache.azure]

  [runners.docker]

    tls_verify = false

    image = "alpine"

    privileged = false

    disable_entrypoint_overwrite = false

    oom_kill_disable = false

    disable_cache = false

    volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/root/.docker/config.json:/root/.docker/config.json", "/usr/bin/docker-credential-ecr-login:/usr/bin/docker-credential-ecr-login", "/cache"]

    shm_size = 0


vi /root/.docker/config.json

"credHelpers":{"83678232.dkr.ecr.us-east-1.amazonaws.com":"ecr-login","8713175.dkr.ecr.us-west-2.amazonaws.com":"ecr-login", "8124058.dkr.ecr.us-west-1.amazonaws.com":"ecr-login"}}

воскресенье, 15 ноября 2020 г.

DevOps MacOS Setup

HomeBrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)


Setup SSH Key on RepoHub

ssh-keygen -t rsa -b 4096

pbcopy < ~/.ssh/id_rsa.pub

 - go to RepoHub settings > ssh keys and add paste the public part of the key


Docker

Docker Desktop for Mac

with homebrew
https://medium.com/crowdbotics/a-complete-one-by-one-guide-to-install-docker-on-your-mac-os-using-homebrew-e818eb4cfc3


AWS eksctl

brew tap weaveworks/tap
brew install weaveworks/tap/eksctl


kubectl

brew install kubectl
https://coreos.com/blog/kubectl-tips-and-tricks