The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

if I am doing zip I am not able to upload the .* files i.e. in linux hidden files to s3 bucket.

Ekant Mate
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2019

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

 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
mwatson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2019

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 .)
...
TAGS
AUG Leaders

Atlassian Community Events