Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Run appleboy/ssh-action@master
- /usr/bin/docker run --name e44b8f4aed2ff546ca95038f4df3383506_9e01b5 --label 5588e4 --workdir /github/workspace --rm -e INPUT_HOST -e INPUT_USERNAME -e INPUT_KEY -e INPUT_SCRIPT -e INPUT_PORT -e INPUT_PASSPHRASE -e INPUT_PASSWORD -e INPUT_SYNC -e INPUT_USE_INSECURE_CIPHER -e INPUT_CIPHER -e INPUT_TIMEOUT -e INPUT_COMMAND_TIMEOUT -e INPUT_KEY_PATH -e INPUT_FINGERPRINT -e INPUT_PROXY_HOST -e INPUT_PROXY_PORT -e INPUT_PROXY_USERNAME -e INPUT_PROXY_PASSWORD -e INPUT_PROXY_PASSPHRASE -e INPUT_PROXY_TIMEOUT -e INPUT_PROXY_KEY -e INPUT_PROXY_KEY_PATH -e INPUT_PROXY_FINGERPRINT -e INPUT_PROXY_CIPHER -e INPUT_PROXY_USE_INSECURE_CIPHER -e INPUT_SCRIPT_STOP -e INPUT_ENVS -e INPUT_DEBUG -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/yamdb_final/yamdb_final":"/github/workspace" 5588e4:4b8f4aed2ff546ca95038f4df3383506
- ======CMD======
- sudo apt-get update
- sudo apt-get install \
- apt-transport-https \
- ca-certificates \
- curl \
- gnupg-agent \
- software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository \
- "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
- $(lsb_release -cs) \
- stable"
- sudo apt-get update
- sudo apt-get install docker-ce docker-ce-cli containerd.io
- sudo curl -L "https://github.com/docker/compose/releases/download/1.28.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
- sudo pip3 install dump-env
- sudo docker pull ***/yamdb:latest
- id=$(docker create ***/yamdb:latest)
- docker cp $id:code/docker-compose.yaml docker-compose.yaml
- docker cp $id:code/.env.template .env
- docker rm -v $id
- sudo docker-compose up -d --force-recreate
- ======END======
- out: Сущ:1 http://mirror.yandex.ru/ubuntu focal InRelease
- out: Пол:2 http://mirror.yandex.ru/ubuntu focal-updates InRelease [114 kB]
- out: Пол:3 http://mirror.yandex.ru/ubuntu focal-backports InRelease [101 kB]
- out: Пол:4 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
- out: Сущ:5 https://download.docker.com/linux/ubuntu focal InRelease
- out: Получено 324 kB за 1с (566 kB/s)
- out: Чтение списков пакетов…
- out: Чтение списков пакетов…
- out: Построение дерева зависимостей…
- out: Чтение информации о состоянии…
- out: Уже установлен пакет ca-certificates самой новой версии (20210119~20.04.1).
- out: Уже установлен пакет curl самой новой версии (7.68.0-1ubuntu2.4).
- out: Уже установлен пакет software-properties-common самой новой версии (0.98.9.4).
- out: Уже установлен пакет apt-transport-https самой новой версии (2.0.4).
- out: Уже установлен пакет gnupg-agent самой новой версии (2.2.19-3ubuntu2.1).
- out: Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 47 пакетов не обновлено.
- err: Warning: apt-key output should not be parsed (stdout is not a terminal)
- out: OK
- out: Сущ:1 http://mirror.yandex.ru/ubuntu focal InRelease
- out: Пол:2 http://mirror.yandex.ru/ubuntu focal-updates InRelease [114 kB]
- out: Пол:3 http://mirror.yandex.ru/ubuntu focal-backports InRelease [101 kB]
- out: Сущ:4 http://security.ubuntu.com/ubuntu focal-security InRelease
- out: Сущ:5 https://download.docker.com/linux/ubuntu focal InRelease
- out: Получено 214 kB за 0с (519 kB/s)
- out: Чтение списков пакетов…
- out: Сущ:1 http://mirror.yandex.ru/ubuntu focal InRelease
- out: Пол:2 http://mirror.yandex.ru/ubuntu focal-updates InRelease [114 kB]
- out: Пол:3 http://mirror.yandex.ru/ubuntu focal-backports InRelease [101 kB]
- out: Сущ:4 https://download.docker.com/linux/ubuntu focal InRelease
- out: Сущ:5 http://security.ubuntu.com/ubuntu focal-security InRelease
- out: Получено 214 kB за 0с (500 kB/s)
- out: Чтение списков пакетов…
- out: Чтение списков пакетов…
- out: Построение дерева зависимостей…
- out: Чтение информации о состоянии…
- out: Уже установлен пакет containerd.io самой новой версии (1.4.3-1).
- out: Уже установлен пакет docker-ce-cli самой новой версии (5:20.10.3~3-0~ubuntu-focal).
- out: Уже установлен пакет docker-ce самой новой версии (5:20.10.3~3-0~ubuntu-focal).
- out: Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 47 пакетов не обновлено.
- err: % Total % Received % Xferd Average Speed Time Time Time Current
- err: Dload Upload Total Spent Left Speed
- err:
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 100 633 100 633 0 0 4335 0 --:--:-- --:--:-- --:--:-- 4306
- err: Warning: Failed to create the file /usr/local/bin/docker-compose: Text file
- err: Warning: busy
- err:
- 0 11.6M 0 1369 0 0 4387 0 0:46:22 --:--:-- 0:46:22 4387
- err: curl: (23) Failed writing body (0 != 1369)
- out: Requirement already satisfied: dump-env in /usr/local/lib/python3.8/dist-packages (1.2.0)
- out: latest: Pulling from ***/yamdb
- out: 45b42c59be33: Already exists
- out: f875e16ab19c: Already exists
- out: 3e2c62b3a6f9: Already exists
- out: c6acb963480f: Already exists
- out: 0e981b052622: Already exists
- out: 22b79ebb05d5: Pulling fs layer
- out: 1e3441aabf97: Pulling fs layer
- out: 0d4e37e9c2e1: Pulling fs layer
- out: 22b79ebb05d5: Verifying Checksum
- out: 22b79ebb05d5: Download complete
- out: 1e3441aabf97: Verifying Checksum
- out: 1e3441aabf97: Download complete
- out: 22b79ebb05d5: Pull complete
- out: 1e3441aabf97: Pull complete
- out: 0d4e37e9c2e1: Verifying Checksum
- out: 0d4e37e9c2e1: Download complete
- out: 0d4e37e9c2e1: Pull complete
- out: Digest: sha256:eab1a20a47788d6278508a9df6a3b2cd30a38cb2aa6b3f9126bbbbd56e0fcab6
- out: Status: Downloaded newer image for ***/yamdb:latest
- out: docker.io/***/yamdb:latest
- out: af0dc5e740ad774fde8589104f7eac86ab9bfbf662ff2685f0baf191df19031a
- err: Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
- err: Recreating ***_db_1 ...
- err: Recreating ***_db_1 ... done
- err: Recreating django ...
- err: Recreating django ... done
- err: Recreating ***_caddy_1 ...
- err: Recreating ***_caddy_1 ... done
- ==============================================
- ✅ Successfully executed commands to all host.
- ==============================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement