GithubHelp home page GithubHelp logo

hmanzur / actions-aws-eb Goto Github PK

View Code? Open in Web Editor NEW
48.0 2.0 48.0 25 KB

Elastic beanstalk cli custom action

License: MIT License

Dockerfile 83.33% Shell 16.67%
aws elasticbeanstalk gutg github-action

actions-aws-eb's Introduction

Aws eb cli action

Run tests License: MIT

This action run eb cli

Inputs

command

Required The command to run on cli.

Example usage

uses: hmanzur/[email protected]
with:
  command: 'deploy ${{ secrets.ENVIRONMENT_NAME }}'
env:
  AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
  AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
  AWS_DEFAULT_REGION: "us-east-1"

actions-aws-eb's People

Contributors

bblanchon avatar hmanzur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

actions-aws-eb's Issues

unexpected HTTP status: 500 Internal Server Error

Step 1/7 : FROM python:3
[6](https://github.com/xx/zz/runs/yyyy?check_suite_focus=true#step:3:6)
  Head "https://registry-1.docker.io/v2/library/python/manifests/3": received unexpected HTTP status: 500 Internal Server Error
[7](https://github.com/xx/zzl/runs/yyyy?check_suite_focus=true#step:3:7)
  Warning: Docker build failed with exit code 1, back off 9.399 seconds before retry.
[8](https://github.com/xx/zz/runs/yyyy?check_suite_focus=true#step:3:8)
  /usr/bin/docker build -t 6f1554:e6be9cf2c9ae4c20894ac8504b7bc586 -f "/home/runner/work/_actions/hmanzur/actions-aws-eb/master/Dockerfile" "/home/runner/work/_actions/hmanzur/actions-aws-eb/master"
[9](https://github.com/xx/zz/runs/yyyy?check_suite_focus=true#step:3:9)
  Sending build context to Docker daemon   12.8kB

Getting the error above. It seems to give a 500 Internal Server Error from docker.io.

ERROR: TypeError - can only concatenate str (not "NoneType") to str

Hi, I started getting that error when I updated to a new environment

this is my config

- name: Beanstalk Deploy
        uses: hmanzur/[email protected]
        with:
          command: 'deploy --staged'
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.EB_USER_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.EB_USER_SECRET_ACCESS_KEY }}
          APPLICATION_NAME: my-api
          ENVIRONMENT_NAME: my-staging-api
          AWS_DEFAULT_REGION: ap-northeast-2

Github Actions was down today so not sure if they changed something and now this version is no longer compatible?

RUN pip install --upgrade pip awsebcli

RUN pip install --upgrade pip awsebcli

Is failing on:

#0 6.592 × Getting requirements to build wheel did not run successfully.
#0 6.592 │ exit code: 1
#0 6.592 ╰─> [68 lines of output]
#0 6.592 /tmp/pip-build-env-he0ygdp8/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293:
_DeprecatedConfig: Deprecated config in setup.cfg
#0 6.592 !!
#0 6.592
#0 6.592 ********************************************************************************
#0 6.592 The license_file parameter is deprecated, use license_files instead.
#0 6.592
#0 6.592 By 2023-Oct-30, you need to update your project and remove deprecated calls
#0 6.592 or your builds will no longer be supported.
#0 6.592
#0 6.592 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
#0 6.592 ********************************************************************************
#0 6.592
#0 6.592 !!

Not Building

Hey there, we noticed that, from yesterday this action won't be able to build.

raw logs

2021-02-07T20:03:45.7272345Z ##[section]Starting: Request a runner to run this job
2021-02-07T20:03:45.8973954Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2021-02-07T20:03:45.8974059Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2021-02-07T20:03:45.8974277Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2021-02-07T20:03:46.0035083Z ##[section]Finishing: Request a runner to run this job
2021-02-07T20:03:51.2792393Z Current runner version: '2.276.1'
2021-02-07T20:03:51.2817629Z ##[group]Operating System
2021-02-07T20:03:51.2818544Z Ubuntu
2021-02-07T20:03:51.2818957Z 18.04.5
2021-02-07T20:03:51.2819426Z LTS
2021-02-07T20:03:51.2819854Z ##[endgroup]
2021-02-07T20:03:51.2820437Z ##[group]Virtual Environment
2021-02-07T20:03:51.2821064Z Environment: ubuntu-18.04
2021-02-07T20:03:51.2821573Z Version: 20210131.1
2021-02-07T20:03:51.2822575Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20210131.1/images/linux/Ubuntu1804-README.md
2021-02-07T20:03:51.2823511Z ##[endgroup]
2021-02-07T20:03:51.2826556Z Prepare workflow directory
2021-02-07T20:03:51.3401849Z Prepare all required actions
2021-02-07T20:03:51.3411981Z Getting action download info
2021-02-07T20:03:51.5855436Z Download action repository 'actions/checkout@v1'
2021-02-07T20:03:53.4759357Z Download action repository 'hmanzur/actions-aws-eb@master'
2021-02-07T20:03:53.6603073Z Download action repository 'actions/create-release@v1'
2021-02-07T20:03:53.9806105Z ##[group]Build container for action use: '/home/runner/work/_actions/hmanzur/actions-aws-eb/master/Dockerfile'.
2021-02-07T20:03:53.9873703Z ##[command]/usr/bin/docker build -t 442333:3be2247da47a4825958d5bfd89c5f1fc -f "/home/runner/work/_actions/hmanzur/actions-aws-eb/master/Dockerfile" "/home/runner/work/_actions/hmanzur/actions-aws-eb/master"
2021-02-07T20:03:54.8820526Z Sending build context to Docker daemon   12.8kB
2021-02-07T20:03:54.8822339Z 
2021-02-07T20:03:54.9312742Z Step 1/7 : FROM python:3
2021-02-07T20:03:55.2372710Z 3: Pulling from library/python
2021-02-07T20:03:55.3038627Z b9a857cbf04d: Already exists
2021-02-07T20:03:55.3059378Z d557ee20540b: Already exists
2021-02-07T20:03:55.3076959Z 3b9ca4f00c2e: Already exists
2021-02-07T20:03:55.3103761Z 667fd949ed93: Already exists
2021-02-07T20:03:55.3125880Z 4ad46e8a18e5: Already exists
2021-02-07T20:03:55.3138963Z 381aea9d4031: Pulling fs layer
2021-02-07T20:03:55.3139533Z 7eccd8441f11: Pulling fs layer
2021-02-07T20:03:55.3140232Z 8c148153e894: Pulling fs layer
2021-02-07T20:03:55.3140753Z aac8b707685a: Pulling fs layer
2021-02-07T20:03:55.3150308Z aac8b707685a: Waiting
2021-02-07T20:03:55.9734886Z 8c148153e894: Verifying Checksum
2021-02-07T20:03:55.9735520Z 8c148153e894: Download complete
2021-02-07T20:03:55.9736045Z 381aea9d4031: Verifying Checksum
2021-02-07T20:03:55.9736596Z 381aea9d4031: Download complete
2021-02-07T20:03:55.9737132Z aac8b707685a: Verifying Checksum
2021-02-07T20:03:55.9737683Z aac8b707685a: Download complete
2021-02-07T20:03:55.9738233Z 7eccd8441f11: Verifying Checksum
2021-02-07T20:03:55.9738786Z 7eccd8441f11: Download complete
2021-02-07T20:03:55.9739326Z 381aea9d4031: Pull complete
2021-02-07T20:03:56.3509544Z 7eccd8441f11: Pull complete
2021-02-07T20:03:56.4099817Z 8c148153e894: Pull complete
2021-02-07T20:03:57.4757349Z aac8b707685a: Pull complete
2021-02-07T20:03:57.4760368Z Digest: sha256:57b76e2242d1122e127071e4c35f47f9348b25087a752fec0f1ba2207b66b115
2021-02-07T20:03:57.4762132Z Status: Downloaded newer image for python:3
2021-02-07T20:03:57.4763607Z  ---> e32be9a6f71f
2021-02-07T20:03:57.4764660Z Step 2/7 : ARG command="--version"
2021-02-07T20:03:58.7220931Z  ---> Running in 061cbd2d14ee
2021-02-07T20:04:00.2369331Z Removing intermediate container 061cbd2d14ee
2021-02-07T20:04:00.2370483Z  ---> 79ae72858f8a
2021-02-07T20:04:00.2371373Z Step 3/7 : COPY entrypoint.sh /entrypoint.sh
2021-02-07T20:04:01.2643207Z  ---> 28b747149de5
2021-02-07T20:04:01.2649710Z Step 4/7 : RUN apt-get update -y
2021-02-07T20:04:01.2936523Z  ---> Running in 82b30d8d79a0
2021-02-07T20:04:03.0902030Z Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
2021-02-07T20:04:03.0963067Z Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
2021-02-07T20:04:03.1809087Z Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
2021-02-07T20:04:03.8181498Z Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
2021-02-07T20:04:03.9912612Z Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [9504 B]
2021-02-07T20:04:04.0822580Z Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [266 kB]
2021-02-07T20:04:05.1558754Z Fetched 8421 kB in 2s (3995 kB/s)
2021-02-07T20:04:05.6839018Z Reading package lists...
2021-02-07T20:04:07.2685766Z Removing intermediate container 82b30d8d79a0
2021-02-07T20:04:07.2687070Z  ---> 0ecd310910df
2021-02-07T20:04:07.2688010Z Step 5/7 : RUN pip install --upgrade pip awsebcli
2021-02-07T20:04:07.2932334Z  ---> Running in 1f4f6b5c13ab
2021-02-07T20:04:08.8118951Z Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (21.0.1)
2021-02-07T20:04:09.0609837Z Collecting awsebcli
2021-02-07T20:04:09.1298033Z   Downloading awsebcli-3.19.3.tar.gz (249 kB)
2021-02-07T20:04:10.2677875Z Collecting botocore<1.20.0,>=1.19.0
2021-02-07T20:04:10.2866997Z   Downloading botocore-1.19.63-py2.py3-none-any.whl (7.2 MB)
2021-02-07T20:04:10.8289802Z Collecting cement==2.8.2
2021-02-07T20:04:10.8477941Z   Downloading cement-2.8.2.tar.gz (165 kB)
2021-02-07T20:04:11.1331603Z Collecting colorama<0.4.4,>=0.2.5
2021-02-07T20:04:11.1471418Z   Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
2021-02-07T20:04:11.1821155Z Collecting future<0.17.0,>=0.16.0
2021-02-07T20:04:11.1992646Z   Downloading future-0.16.0.tar.gz (824 kB)
2021-02-07T20:04:11.5768858Z Collecting pathspec==0.5.9
2021-02-07T20:04:11.5916220Z   Downloading pathspec-0.5.9.tar.gz (25 kB)
2021-02-07T20:04:11.8447121Z Collecting python-dateutil<3.0.0,>=2.1
2021-02-07T20:04:11.8627051Z   Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
2021-02-07T20:04:11.9420693Z Collecting requests<=2.24,>=2.20.1
2021-02-07T20:04:11.9609803Z   Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
2021-02-07T20:04:11.9651535Z Requirement already satisfied: setuptools>=20.0 in /usr/local/lib/python3.9/site-packages (from awsebcli) (53.0.0)
2021-02-07T20:04:11.9935817Z Collecting semantic_version==2.5.0
2021-02-07T20:04:12.0090332Z   Downloading semantic_version-2.5.0-py3-none-any.whl (14 kB)
2021-02-07T20:04:12.0459998Z Collecting six<=1.15.0,>=1.12.0
2021-02-07T20:04:12.0586811Z   Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
2021-02-07T20:04:12.0773678Z Collecting termcolor==1.1.0
2021-02-07T20:04:12.0968734Z   Downloading termcolor-1.1.0.tar.gz (3.9 kB)
2021-02-07T20:04:12.3125235Z Collecting wcwidth<0.2.0,>=0.1.7
2021-02-07T20:04:12.3272985Z   Downloading wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)
2021-02-07T20:04:12.4068348Z Collecting PyYAML<5.4,>=5.3.1
2021-02-07T20:04:12.4255733Z   Downloading PyYAML-5.3.1.tar.gz (269 kB)
2021-02-07T20:04:12.8207080Z Collecting urllib3<1.26,>=1.25.4
2021-02-07T20:04:12.8355210Z   Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
2021-02-07T20:04:12.9288467Z Collecting docker-compose<1.26.0,>=1.25.2
2021-02-07T20:04:12.9435244Z   Downloading docker_compose-1.25.5-py2.py3-none-any.whl (139 kB)
2021-02-07T20:04:13.0434593Z Collecting blessed>=1.9.5
2021-02-07T20:04:13.0634452Z   Downloading blessed-1.17.12-py2.py3-none-any.whl (76 kB)
2021-02-07T20:04:13.1490045Z Collecting jmespath<1.0.0,>=0.7.1
2021-02-07T20:04:13.1629899Z   Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
2021-02-07T20:04:13.2068725Z Collecting dockerpty<1,>=0.4.1
2021-02-07T20:04:13.2205560Z   Downloading dockerpty-0.4.1.tar.gz (13 kB)
2021-02-07T20:04:13.4797808Z Collecting docker[ssh]<5,>=3.7.0
2021-02-07T20:04:13.4974640Z   Downloading docker-4.4.1-py2.py3-none-any.whl (146 kB)
2021-02-07T20:04:13.5424651Z Collecting cached-property<2,>=1.2.0
2021-02-07T20:04:13.5568245Z   Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
2021-02-07T20:04:13.5796669Z Collecting docopt<1,>=0.6.1
2021-02-07T20:04:13.5947634Z   Downloading docopt-0.6.2.tar.gz (25 kB)
2021-02-07T20:04:13.8316182Z Collecting texttable<2,>=0.9.0
2021-02-07T20:04:13.8459344Z   Downloading texttable-1.6.3-py2.py3-none-any.whl (10 kB)
2021-02-07T20:04:13.9048603Z Collecting websocket-client<1,>=0.32.0
2021-02-07T20:04:13.9231589Z   Downloading websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
2021-02-07T20:04:13.9717987Z Collecting jsonschema<4,>=2.5.1
2021-02-07T20:04:13.9861747Z   Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
2021-02-07T20:04:14.1147838Z Collecting paramiko>=2.4.2
2021-02-07T20:04:14.1362568Z   Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
2021-02-07T20:04:14.2123807Z Collecting attrs>=17.4.0
2021-02-07T20:04:14.2279835Z   Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
2021-02-07T20:04:14.2708962Z Collecting pyrsistent>=0.14.0
2021-02-07T20:04:14.2878580Z   Downloading pyrsistent-0.17.3.tar.gz (106 kB)
2021-02-07T20:04:14.6258983Z Collecting bcrypt>=3.1.3
2021-02-07T20:04:14.6406729Z   Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB)
2021-02-07T20:04:14.6999837Z Collecting pynacl>=1.0.1
2021-02-07T20:04:14.7166929Z   Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
2021-02-07T20:04:15.1311594Z Collecting cryptography>=2.5
2021-02-07T20:04:15.1485730Z   Downloading cryptography-3.4-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
2021-02-07T20:04:15.5322595Z Collecting cffi>=1.1
2021-02-07T20:04:15.5472459Z   Downloading cffi-1.14.4-cp39-cp39-manylinux1_x86_64.whl (405 kB)
2021-02-07T20:04:15.5817750Z Collecting pycparser
2021-02-07T20:04:15.5976525Z   Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)
2021-02-07T20:04:15.6552658Z Collecting setuptools-rust>=0.11.4
2021-02-07T20:04:15.6711888Z   Downloading setuptools_rust-0.11.6-py3-none-any.whl (20 kB)
2021-02-07T20:04:15.7527279Z Collecting chardet<4,>=3.0.2
2021-02-07T20:04:15.7716862Z   Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
2021-02-07T20:04:15.8307792Z Collecting idna<3,>=2.5
2021-02-07T20:04:15.8449273Z   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
2021-02-07T20:04:15.9073675Z Collecting certifi>=2017.4.17
2021-02-07T20:04:15.9231553Z   Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
2021-02-07T20:04:15.9760571Z Collecting toml>=0.9.0
2021-02-07T20:04:15.9904421Z   Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
2021-02-07T20:04:16.0006380Z Collecting setuptools-rust>=0.11.4
2021-02-07T20:04:16.0152241Z   Downloading setuptools_rust-0.11.5-py3-none-any.whl (20 kB)
2021-02-07T20:04:16.0426344Z   Downloading setuptools_rust-0.11.4-py3-none-any.whl (20 kB)
2021-02-07T20:04:16.0484565Z INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:16.0547954Z Collecting idna<3,>=2.5
2021-02-07T20:04:16.0689903Z   Downloading idna-2.9-py2.py3-none-any.whl (58 kB)
2021-02-07T20:04:16.0915989Z   Downloading idna-2.8-py2.py3-none-any.whl (58 kB)
2021-02-07T20:04:16.1167260Z   Downloading idna-2.7-py2.py3-none-any.whl (58 kB)
2021-02-07T20:04:16.1428676Z   Downloading idna-2.6-py2.py3-none-any.whl (56 kB)
2021-02-07T20:04:16.1664319Z   Downloading idna-2.5-py2.py3-none-any.whl (55 kB)
2021-02-07T20:04:16.2288957Z INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:16.2346139Z Collecting chardet<4,>=3.0.2
2021-02-07T20:04:16.2498552Z   Downloading chardet-3.0.3-py2.py3-none-any.whl (133 kB)
2021-02-07T20:04:16.2766900Z   Downloading chardet-3.0.2-py2.py3-none-any.whl (133 kB)
2021-02-07T20:04:16.3121979Z INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:16.3720910Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-07T20:04:16.4284016Z INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:16.4338183Z Collecting certifi>=2017.4.17
2021-02-07T20:04:16.4483099Z   Downloading certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
2021-02-07T20:04:16.4720623Z   Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
2021-02-07T20:04:16.4989780Z   Downloading certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
2021-02-07T20:04:16.5250314Z   Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB)
2021-02-07T20:04:16.5502606Z   Downloading certifi-2020.4.5-py2.py3-none-any.whl (156 kB)
2021-02-07T20:04:16.5734229Z   Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
2021-02-07T20:04:16.5986405Z   Downloading certifi-2019.9.11-py2.py3-none-any.whl (154 kB)
2021-02-07T20:04:16.6233987Z   Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB)
2021-02-07T20:04:16.6492187Z   Downloading certifi-2019.3.9-py2.py3-none-any.whl (158 kB)
2021-02-07T20:04:16.6733269Z   Downloading certifi-2018.11.29-py2.py3-none-any.whl (154 kB)
2021-02-07T20:04:16.6984868Z   Downloading certifi-2018.10.15-py2.py3-none-any.whl (146 kB)
2021-02-07T20:04:16.7242506Z   Downloading certifi-2018.8.24-py2.py3-none-any.whl (147 kB)
2021-02-07T20:04:16.7486073Z   Downloading certifi-2018.8.13-py2.py3-none-any.whl (146 kB)
2021-02-07T20:04:16.7735867Z   Downloading certifi-2018.4.16-py2.py3-none-any.whl (150 kB)
2021-02-07T20:04:16.8007687Z   Downloading certifi-2018.1.18-py2.py3-none-any.whl (151 kB)
2021-02-07T20:04:16.8259252Z   Downloading certifi-2017.11.5-py2.py3-none-any.whl (330 kB)
2021-02-07T20:04:16.8543951Z   Downloading certifi-2017.7.27.1-py2.py3-none-any.whl (349 kB)
2021-02-07T20:04:16.8855028Z   Downloading certifi-2017.7.27-py2.py3-none-any.whl (349 kB)
2021-02-07T20:04:16.9148608Z   Downloading certifi-2017.4.17-py2.py3-none-any.whl (375 kB)
2021-02-07T20:04:17.2962945Z INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:17.6714006Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-07T20:04:18.5000898Z INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:19.6713314Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-07T20:04:21.2539988Z INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:21.2594970Z Collecting requests<=2.24,>=2.20.1
2021-02-07T20:04:21.2741816Z   Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
2021-02-07T20:04:21.3021766Z   Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB)
2021-02-07T20:04:21.3265384Z   Downloading requests-2.21.0-py2.py3-none-any.whl (57 kB)
2021-02-07T20:04:21.3496165Z   Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB)
2021-02-07T20:04:29.2975074Z INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:29.2976541Z INFO: pip is looking at multiple versions of python-dateutil to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:04:29.3027627Z Collecting python-dateutil<3.0.0,>=2.1
2021-02-07T20:04:29.3243788Z   Downloading python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
2021-02-07T20:04:29.3534400Z   Downloading python_dateutil-2.7.5-py2.py3-none-any.whl (225 kB)
2021-02-07T20:04:29.3823930Z   Downloading python_dateutil-2.7.4-py2.py3-none-any.whl (211 kB)
2021-02-07T20:04:29.4110046Z   Downloading python_dateutil-2.7.3-py2.py3-none-any.whl (211 kB)
2021-02-07T20:04:29.4384714Z   Downloading python_dateutil-2.7.2-py2.py3-none-any.whl (212 kB)
2021-02-07T20:04:29.4653126Z   Downloading python_dateutil-2.7.1-py2.py3-none-any.whl (212 kB)
2021-02-07T20:04:29.4934767Z   Downloading python_dateutil-2.7.0-py2.py3-none-any.whl (207 kB)
2021-02-07T20:04:29.5235195Z   Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194 kB)
2021-02-07T20:04:29.5502492Z   Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194 kB)
2021-02-07T20:04:29.5785613Z   Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201 kB)
2021-02-07T20:04:29.6082906Z   Downloading python_dateutil-2.5.2-py2.py3-none-any.whl (201 kB)
2021-02-07T20:04:29.6341156Z   Downloading python_dateutil-2.5.1-py2.py3-none-any.whl (200 kB)
2021-02-07T20:04:30.4841651Z   Downloading python_dateutil-2.5.0-py2.py3-none-any.whl (199 kB)
2021-02-07T20:04:30.4842842Z   Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188 kB)
2021-02-07T20:04:30.4844045Z   Downloading python-dateutil-2.4.1.post1.zip (212 kB)
2021-02-07T20:04:30.4848058Z �[91mWARNING: Discarding https://files.pythonhosted.org/packages/73/c4/d9e410b1641e210262123f49619070e46da2a7ede334cf6b6fb3db5ee985/python-dateutil-2.4.1.post1.zip#sha256=71357959bd98cbf425a6f5c5632826b548cb09d0ff3272a3565322f8aba58088 (from https://pypi.org/simple/python-dateutil/). Requested python-dateutil<3.0.0,>=2.1 from https://files.pythonhosted.org/packages/73/c4/d9e410b1641e210262123f49619070e46da2a7ede334cf6b6fb3db5ee985/python-dateutil-2.4.1.post1.zip#sha256=71357959bd98cbf425a6f5c5632826b548cb09d0ff3272a3565322f8aba58088 (from awsebcli) has inconsistent version: filename has '2.4.1.post1', but metadata has '2.4.1'
2021-02-07T20:04:30.4852032Z �[0m  Downloading python-dateutil-2.4.1.post1.tar.gz (207 kB)
2021-02-07T20:04:30.4856524Z �[91mWARNING: Discarding https://files.pythonhosted.org/packages/9c/b0/5948496efa852dfa78751c3f494f57fa01bfc453b4a7b7b47b0c2e0b6a80/python-dateutil-2.4.1.post1.tar.gz#sha256=aa9bdbd60c395db90204609f1fb5aeb3797870f65c09f04f243476d22f8f4615 (from https://pypi.org/simple/python-dateutil/). Requested python-dateutil<3.0.0,>=2.1 from https://files.pythonhosted.org/packages/9c/b0/5948496efa852dfa78751c3f494f57fa01bfc453b4a7b7b47b0c2e0b6a80/python-dateutil-2.4.1.post1.tar.gz#sha256=aa9bdbd60c395db90204609f1fb5aeb3797870f65c09f04f243476d22f8f4615 (from awsebcli) has inconsistent version: filename has '2.4.1.post1', but metadata has '2.4.1'
2021-02-07T20:04:30.4860990Z �[0m  Downloading python_dateutil-2.4.1-py2.py3-none-any.whl (188 kB)
2021-02-07T20:04:30.4861985Z   Downloading python_dateutil-2.4.0-py2.py3-none-any.whl (175 kB)
2021-02-07T20:04:30.4862947Z   Downloading python_dateutil-2.3-py2.py3-none-any.whl (173 kB)
2021-02-07T20:04:30.4863829Z   Downloading python-dateutil-2.2.tar.gz (259 kB)
2021-02-07T20:04:30.4864629Z   Downloading python-dateutil-2.1.tar.gz (152 kB)
2021-02-07T20:04:56.3464399Z INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:05:22.7481548Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-07T20:06:31.2770780Z INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:06:31.2773046Z INFO: pip is looking at multiple versions of python-dateutil to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:08:09.8976315Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-07T20:08:09.8983778Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-07T20:10:08.0818889Z INFO: pip is looking at multiple versions of pyrsistent to determine which version is compatible with other requirements. This could take a while.
2021-02-07T20:10:08.0838161Z Collecting pyrsistent>=0.14.0
2021-02-07T20:10:23.1020610Z �[91m  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/80/18/1492d651693ef7d40e0a40377ed56a8cc5c5fe86073eb6c56e53513f4480/pyrsistent-0.16.1.tar.gz
2021-02-07T20:10:23.1359564Z �[0m  Downloading pyrsistent-0.16.1.tar.gz (108 kB)
2021-02-07T20:10:23.3941567Z   Downloading pyrsistent-0.16.0.tar.gz (108 kB)
2021-02-07T20:10:23.6192004Z   Downloading pyrsistent-0.15.7.tar.gz (107 kB)
2021-02-07T20:10:23.8447084Z   Downloading pyrsistent-0.15.6.tar.gz (107 kB)
2021-02-07T20:10:24.0730205Z   Downloading pyrsistent-0.15.5.tar.gz (107 kB)
2021-02-07T20:10:24.3071373Z   Downloading pyrsistent-0.15.4.tar.gz (107 kB)
2021-02-07T20:10:24.5318144Z   Downloading pyrsistent-0.15.3.tar.gz (106 kB)
2021-02-07T20:10:24.7626324Z   Downloading pyrsistent-0.15.2.tar.gz (106 kB)
2021-02-07T20:10:24.9909705Z   Downloading pyrsistent-0.15.1.tar.gz (106 kB)
2021-02-07T20:10:25.2157051Z   Downloading pyrsistent-0.15.0.tar.gz (105 kB)
2021-02-07T20:10:25.4384648Z   Downloading pyrsistent-0.14.11.tar.gz (104 kB)
2021-02-07T20:10:25.6667247Z   Downloading pyrsistent-0.14.10.tar.gz (104 kB)
2021-02-07T20:10:25.8939873Z   Downloading pyrsistent-0.14.9.tar.gz (104 kB)
2021-02-07T20:10:27.6505219Z   Downloading pyrsistent-0.14.8.tar.gz (104 kB)
2021-02-07T20:10:28.3131377Z   Downloading pyrsistent-0.14.7.tar.gz (103 kB)
2021-02-07T20:10:28.9736627Z   Downloading pyrsistent-0.14.6.tar.gz (100 kB)
2021-02-07T20:10:29.6526028Z   Downloading pyrsistent-0.14.5.tar.gz (99 kB)
2021-02-07T20:10:30.3121290Z   Downloading pyrsistent-0.14.4.tar.gz (98 kB)
2021-02-07T20:10:30.5335070Z   Downloading pyrsistent-0.14.3.tar.gz (98 kB)
2021-02-07T20:10:30.7540593Z   Downloading pyrsistent-0.14.2.tar.gz (97 kB)
2021-02-07T20:10:30.9754398Z   Downloading pyrsistent-0.14.1.tar.gz (97 kB)
2021-02-07T20:10:31.1950078Z   Downloading pyrsistent-0.14.0.tar.gz (96 kB)
2021-02-07T22:50:19.3158418Z INFO: pip is looking at multiple versions of pyrsistent to determine which version is compatible with other requirements. This could take a while.
2021-02-08T01:52:05.9896215Z INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
2021-02-08T02:03:50.4891022Z ##[error]The operation was canceled.
2021-02-08T02:03:50.5054652Z Cleaning up orphan processes

actions error

This is my workflow file and i am getting this error:
ERROR: This branch does not have a default environment. You must either specify an environment by typing "eb deploy my-env-name" or set a default environment by typing "eb use my-env-name".
name: Deploy to EBS

on:
push:
branches: [dev, qa, uat, prod]

env:
CERTIFICATE_ARN: ${{secrets.CERTIFICATE_ARN}}

jobs:
update_environment:
if: github.ref_name != 'dev' || contains(github.event.head_commit.message, 'ci:')
runs-on: ubuntu-latest
steps:
- name: Slack Notify Starting
if: success()
id: slack
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: Discontract/[email protected]
with:
channel: github-actions
status: STARTED
color: warning

  - name: Checkout Full Repo
    uses: actions/checkout@v2
    with:
      submodules: recursive
      token: ${{ secrets.PAT_TOKEN }}

  - uses: actions/setup-node@v3
    with:
      node-version: "16"
  - run: "npm ci"
  - run: "npm run build"
  - run: "mv .elasticbeanstalk/deploy-config.yml .elasticbeanstalk/config.yml"

  - run: "sed -i 's|${AWS_SECRET_MANAGER_ID}|'capi-${GITHUB_REF##*/}'|g' ./.ebextensions/options.config"
  - run: "sed -i 's|${CERTIFICATE_ARN}|'$CERTIFICATE_ARN'|g' ./.ebextensions/https-redirect.config"
  - name: Elastic Beanstalk Deployment
    uses: hmanzur/[email protected]
    with:
      command: deploy
    env:
      AWS_ACCESS_KEY_ID: ${{ secrets.EB_DEPLOY_ACCESS }}
      AWS_SECRET_ACCESS_KEY: ${{ secrets.EB_DEPLOY_SECRET }}
      AWS_DEFAULT_REGION: "us-west-2"
      
  - name: Slack Notify Success
    if: success()
    env:
      SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
    uses: Discontract/[email protected]
    with:
      channel: github-actions
      status: SUCCESS
      color: good

  - name: Slack Notify Failure
    if: failure()
    env:
      SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
    uses: Discontract/[email protected]
    with:
      channel: github-actions
      status: FAILED
      color: danger

Deploy failed

Run hmanzur/actions-aws-eb@v1
e87b52:76200f41b2d54a50a893b843707ac5e6  "deploy ***"
usage: eb (sub-commands ...) [options ...] {arguments ...}
eb: error: unrecognized arguments: deploy ***
      - name: Deploy
        uses: hmanzur/actions-aws-eb@v1
        with:
          command: 'deploy ${{ secrets.ENVIRONMENT_NAME }}'
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          AWS_DEFAULT_REGION: "ap-east-1"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.