Skip to content
Snippets Groups Projects
Commit 25ffa344 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add s3 credential

parent 803f762a
No related branches found
No related tags found
1 merge request!10Add gitlab ci into project
...@@ -53,6 +53,8 @@ build_image: ...@@ -53,6 +53,8 @@ build_image:
"${CI_API_V4_URL}/projects/2836/repository/files/knightly/raw?ref=main" "${CI_API_V4_URL}/projects/2836/repository/files/knightly/raw?ref=main"
-o CRI_XCBC/group_vars/knightly -o CRI_XCBC/group_vars/knightly
- s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://cheaha-cloud-ansible-files/ ansible/files/ - s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://cheaha-cloud-ansible-files/ ansible/files/
- 'sed -i -E "s/(lts_access_key: ).*/\1\"${AWS_ACCESS_KEY_ID}\"/" CRI_XCBC/group_vars/knightly'
- 'sed -i -E "s/(lts_secret_key: ).*/\1\"${AWS_SECRET_ACCESS_KEY}\"/" CRI_XCBC/group_vars/knightly'
- packer validate openstack-ood - packer validate openstack-ood
- > - >
PKR_VAR_build_instance_name="ood-${CRI_XCBC_HEAD}" PKR_VAR_build_instance_name="ood-${CRI_XCBC_HEAD}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment