Skip to content

Commit

Permalink
hotfix(Jenkinsfile) disable non rsync deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dduportal authored Dec 23, 2023
1 parent d0efde1 commit e196bb7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,17 @@ node('linux') {
'UPDATES_R2_ENDPOINT=https://8d1838a43923148c5cee18ccc356a594.r2.cloudflarestorage.com',
]) {
sh '''
echo 'https://github.com/jenkins-infra/helpdesk/issues/3875'
## Commented out until https://github.com/jenkins-infra/helpdesk/issues/3875 is resolved (credential issue)
# azcopy sync ./updates/ "https://updatesjenkinsio.file.core.windows.net/updates-jenkins-io/updates/?${UPDATES_FILE_SHARE_QUERY_STRING}" --exclude-path '.svn' --recursive=true
## Note: AWS CLI are configured through environment variables (from Jenkins credentials) - https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
aws s3 sync ./updates/ s3://"${UPDATES_R2_BUCKETS}"/updates/ \
--no-progress \
--no-follow-symlinks \
--size-only \
--exclude '.svn' \
--endpoint-url "${UPDATES_R2_ENDPOINT}"
#aws s3 sync ./updates/ s3://"${UPDATES_R2_BUCKETS}"/updates/ \
# --no-progress \
# --no-follow-symlinks \
# --size-only \
# --exclude '.svn' \
# --endpoint-url "${UPDATES_R2_ENDPOINT}"
'''
}
}
Expand Down

0 comments on commit e196bb7

Please sign in to comment.