Need inputs if I can use anything else.
I am not able to upload the .txt files in my s3 bucket.
Below is my pipeline file.
image: atlassian/default-image:2
pipelines:
branches:
master:
- step:
script:
- apt-get update # required to install zip
- apt-get install -y python-pip
- apt-get install -y zip # required for packaging up the application
- pip install boto3==1.3.0 # required for codedeploy_deploy.py
- zip /tmp/html.zip -r * .[^.]* # package up the application for deployment
- python s3_upload.py aassssssssss /tmp/html.zip aassssssssss/test/html.zip # run the deployment script
Does this help?
i.e. `zip -e /tmp/html.zip .`
This will, however, zip up your .git directory. You could try putting the files your want in a subdir and zipping it:
mkdir build
cp -a stuff build
(cd build && zip -r /tmp/html.zip .)
...
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.