Add s3 upload
This commit is contained in:
parent
e43f34991d
commit
e45191e3c2
2 changed files with 8 additions and 3 deletions
|
|
@ -75,11 +75,15 @@ security_scanner:
|
|||
- docker:dind
|
||||
script:
|
||||
- scripts/packer.sh debian-buster
|
||||
- find images -type f > images.txt
|
||||
- aws --endpoint-url "$AWS_ENDPOINT_URL" s3 cp images/ "s3://$AWS_BUCKET/$CI_JOB_ID/" --recursive
|
||||
artifacts:
|
||||
paths:
|
||||
- images
|
||||
- images.txt
|
||||
- images/*.initramfs
|
||||
- images/*.dpkg-list
|
||||
- images/*.initramfs
|
||||
- images/*.linux
|
||||
#- images/*.squashfs
|
||||
- images/*.torrent
|
||||
tags:
|
||||
- fablab
|
||||
- ssd
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ RUN apk add --no-cache \
|
|||
python3-dev \
|
||||
&& pip3 install --upgrade pip \
|
||||
&& pip3 install ansible=="$ANSIBLE_VERSION" \
|
||||
&& pip3 install awscli \
|
||||
&& apk del .build-deps
|
||||
|
||||
ARG PACKER_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue