Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support python nightly upload script #642

Closed
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Update path to upload nightly script

The script is now written in Python and has been made executable,
so there is no suffix.
  • Loading branch information
aneeshusa committed Apr 27, 2017
commit d2f6c069c544fc5ca1be655e21920ce2b6be3c9a
@@ -210,22 +210,11 @@ def make_step(self, command):

# Provide environment variables for s3cmd
elif (
arg == './etc/ci/upload_nightly.sh' or
arg == r'.\etc\ci\upload_nightly.sh'
arg == './etc/ci/upload_nightly' or
arg == r'.\etc\ci\upload_nightly'
):
step_kwargs['logEnviron'] = False
step_env += envs.upload_nightly
if self.is_windows:
# s3cmd on Windows GNU does not work in MINGW
step_env['MSYSTEM'] = 'MSYS'
step_env['PATH'] = ';'.join([
r'C:\msys64\usr\bin',
r'C:\Windows\system32',
r'C:\Windows',
r'C:\Windows\System32\Wbem',
r'C:\Windows\System32\WindowsPowerShell\v1.0',
r'C:\Program Files\Amazon\cfn-bootstrap',
])

else:
step_desc += [arg]
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.