Skip to content

Commit

Permalink
Try echo instead of cat
Browse files Browse the repository at this point in the history
  • Loading branch information
Capostrophic committed Jan 30, 2025
1 parent 066c3f9 commit c99d022
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -511,18 +511,14 @@ Ubuntu_GCC_integration_tests_asan:
- cd build; make -j $(sysctl -n hw.logicalcpu) package
- for dmg in *.dmg; do mv "$dmg" "${dmg%.dmg}_${CI_COMMIT_REF_NAME##*/}.dmg"; done
- brew install s3cmd
- s3cmd --version
- |
if [[ -n "${AWS_ACCESS_KEY_ID}" ]]; then
# Configure s3cmd
cat > ~/.s3cfg << EOF
[default]
access_key = ${AWS_ACCESS_KEY_ID}
secret_key = ${AWS_SECRET_ACCESS_KEY}
host_base = rgw.ctrl-c.liu.se
host_bucket = %(bucket)s.rgw.ctrl-c.liu.se
use_https = True
EOF
echo "[default]" > ~/.s3cfg
echo "access_key = ${AWS_ACCESS_KEY_ID}" >> ~/.s3cfg
echo "secret_key = ${AWS_SECRET_ACCESS_KEY}" >> ~/.s3cfg
echo "host_base = rgw.ctrl-c.liu.se" >> ~/.s3cfg
echo "host_bucket = %(bucket)s.rgw.ctrl-c.liu.se" >> ~/.s3cfg
echo "use_https = True" >> ~/.s3cfg
artifactDirectory="${CI_PROJECT_NAMESPACE//[\"<>|$'\t'\/\\?*]/_}/${CI_COMMIT_REF_NAME//[\"<>|$'\t'\/\\?*]/_}/${CI_COMMIT_SHORT_SHA//[\"<>|$'\t'\/\\?*]/_}-${CI_JOB_ID//[\"<>|$'\t'\/\\?*]/_}/"
for dmg in *.dmg; do
Expand Down

0 comments on commit c99d022

Please sign in to comment.