forked from Nuitka/Nuitka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: Change upload host name to service name.
- Loading branch information
Showing
4 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,13 +55,13 @@ | |
|
||
assert ( | ||
os.system( | ||
"rsync -rvlpt --exclude=deb_dist dist/ [email protected]:/var/www/releases/" | ||
"rsync -rvlpt --exclude=deb_dist dist/ root@ssh.nuitka.net:/var/www/releases/" | ||
) | ||
== 0 | ||
) | ||
|
||
for filename in ("README.pdf", "Changelog.pdf", "Developer_Manual.pdf"): | ||
assert os.system("rsync %s [email protected]:/var/www/doc/" % filename) == 0 | ||
assert os.system("rsync %s root@ssh.nuitka.net:/var/www/doc/" % filename) == 0 | ||
|
||
# Upload only stable and develop releases to OpenSUSE Build Service: | ||
if branch_name.startswith("release") or branch_name == "main": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ def main(): | |
if options.upload: | ||
assert ( | ||
os.system( | ||
"rsync -avz --delete html/ --chown www-data [email protected]:/var/www/apidoc/" | ||
"rsync -avz --delete html/ --chown www-data root@ssh.nuitka.net:/var/www/apidoc/" | ||
) | ||
== 0 | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,15 +182,15 @@ def main(): | |
# build only. | ||
assert ( | ||
os.system( | ||
"ssh [email protected] mkdir -p /var/www/deb/%s/%s/" % (category, codename) | ||
"ssh root@ssh.nuitka.net mkdir -p /var/www/deb/%s/%s/" % (category, codename) | ||
) | ||
== 0 | ||
) | ||
|
||
# Update the repository on the web site. | ||
assert ( | ||
os.system( | ||
"rsync -avz --delete dists pool --chown www-data [email protected]:/var/www/deb/%s/%s/" | ||
"rsync -avz --delete dists pool --chown www-data root@ssh.nuitka.net:/var/www/deb/%s/%s/" | ||
% (category, codename) | ||
) | ||
== 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ def main(): | |
( | ||
"scp", | ||
msi_filename, | ||
"[email protected]:/var/www/releases/" + os.path.basename(msi_filename), | ||
"git@ssh.nuitka.net:/var/www/releases/" + os.path.basename(msi_filename), | ||
), | ||
shell=True, # scan scp in PATH. | ||
) | ||
|