Skip to content

Commit 489807c

Browse files
committed
CCS-3957: Update deployment pipeline. Renamed to follow recommended practices.
1 parent 5f7e1d7 commit 489807c

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
.idea/
22

3+
/build/
4+
/dist/
5+
/pantheon_uploader.egg-info/

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if [ ! -d "$UPLOADER_HOME" ]; then
1010
mkdir -p $UPLOADER_HOME
1111
fi
1212

13-
# Download the uploader script to $UPLOADER_HOME
13+
# Download the pantheon-pantheon_uploader script to $UPLOADER_HOME
1414
echo "Downloading the uploader script to $UPLOADER_HOME"
1515
curl -o ${UPLOADER_HOME}/pantheon.py https://raw.githubusercontent.com/redhataccess/uploader/master/uploader/pantheon.py
1616
curl -o ${UPLOADER_HOME}/requirements.txt https://raw.githubusercontent.com/redhataccess/uploader/master/requirements.txt
File renamed without changes.

uploader/pantheon.py renamed to pantheon_uploader/pantheon.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def create_args():
495495
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description='''\
496496
Red Hat bulk upload module for Pantheon 2. This tool will scan a directory recursively and upload relevant files.
497497
498-
Both this uploader and Pantheon 2 are ALPHA software and features may update or change over time.
498+
Both this pantheon-uploader and Pantheon 2 are ALPHA software and features may update or change over time.
499499
500500
''')
501501
parser.add_argument('push', nargs='+', help='Type of operation, default push')
@@ -522,7 +522,7 @@ def create_args():
522522
parser.add_argument('--sample', '-S',
523523
help='Print a sample pantheon2.yml file to stdout (which you may want to redirect to a file).',
524524
action='version', version='''\
525-
# Config file for Pantheon v2 uploader
525+
# Config file for Pantheon v2 pantheon-uploader
526526
## server: Pantheon server URL
527527
## repository: a unique name, which is visible in the user facing URL
528528

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
entry_points = {
44
'console_scripts': [
5-
'pantheon = uploader.pantheon:main'
5+
'pantheon = pantheon_uploader.pantheon:main'
66
]
77
}
88

0 commit comments

Comments
 (0)