diff --git a/Jenkinsfile b/Jenkinsfile
index d3ba312f2..96dd73194 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,7 +27,7 @@ pipeline {
triggers {
// Nightly build of develop (at 3am)
- cron(env.BRANCH_NAME == 'develop' ? 'H 3 * * *' : '')
+ cron(env.BRANCH_NAME == 'develop' ? '0 11 * * *' : '')
}
stages {
@@ -132,25 +132,6 @@ pipeline {
}
}
}
-
- stage('Auto PR') {
- // Create the automatic pull request, if needed
- steps {
- sh '''
- # Get the number of pull requests on this branch
- set +e
- PULL_REQUESTS=$(curl -s "https://api.github.com/repos/Teradata/stacki/pulls?access_token=$GITHUB_TOKEN" | grep -c "\\"ref\\": \\"$GIT_BRANCH\\"")
- set -e
-
- # Are there already any pull requests?
- if [[ $PULL_REQUESTS == "0" ]]
- then
- # Create the pull request
- curl -H "Content-Type: application/json" -d "{\\"title\\":\\"Auto PR: $GIT_BRANCH\\",\\"head\\":\\"$GIT_BRANCH\\",\\"base\\":\\"develop\\"}" "https://api.github.com/repos/Teradata/stacki/pulls?access_token=$GITHUB_TOKEN"
- fi
- '''
- }
- }
}
}
@@ -748,7 +729,7 @@ pipeline {
s3Upload(
file: env.ISO_FILENAME,
bucket: 'teradata-stacki',
- path: '/release/stacki/5.x/',
+ path: 'release/stacki/5.x/',
acl: 'PublicRead'
)
@@ -756,7 +737,7 @@ pipeline {
s3Upload(
file: env.STACKIOS_FILENAME,
bucket: 'teradata-stacki',
- path: '/release/stacki/5.x/',
+ path: 'release/stacki/5.x/',
acl: 'PublicRead'
)
}
@@ -875,7 +856,7 @@ pipeline {
s3Upload(
file: env.QCOW_FILENAME,
bucket: 'teradata-stacki',
- path: '/release/stacki/5.x/',
+ path: 'release/stacki/5.x/',
acl: 'PublicRead'
)
}
@@ -906,8 +887,8 @@ pipeline {
color: 'good',
message: """\
New Stacki QCow2 uploaded to Amazon S3.
- *URL* http://teradata-stacki.s3.amazonaws.com/release/stacki/5.x/${env.QCOW_FILENAME}
- *StackiOS:* http://teradata-stacki.s3.amazonaws.com/release/stacki/5.x/${env.STACKIOS_FILENAME}
+ *QCow2:* ${env.QCOW_FILENAME}
+ *URL:* http://teradata-stacki.s3.amazonaws.com/release/stacki/5.x/${env.QCOW_FILENAME}
""".stripIndent(),
tokenCredentialId: 'slack_jenkins_integration_token'
)
@@ -954,7 +935,7 @@ pipeline {
}
post {
- // Clean up afte ourselves
+ // Clean up after ourselves
always {
cleanWs()
}
diff --git a/Makefile b/Makefile
index c31f81350..5dcc7400a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/graph/backend.xml b/common/graph/backend.xml
index b52f2a3d4..9d739af82 100644
--- a/common/graph/backend.xml
+++ b/common/graph/backend.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/graph/base.xml b/common/graph/base.xml
index f4dfa5de0..98364a4d1 100644
--- a/common/graph/base.xml
+++ b/common/graph/base.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/graph/frontend.xml b/common/graph/frontend.xml
index d9dd50cf3..85043ab9c 100644
--- a/common/graph/frontend.xml
+++ b/common/graph/frontend.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/graph/replicant.xml b/common/graph/replicant.xml
index 1b956e30d..246d4aa8d 100644
--- a/common/graph/replicant.xml
+++ b/common/graph/replicant.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/ansible-backend.xml b/common/nodes/ansible-backend.xml
index 9a5e15cac..c91138215 100644
--- a/common/nodes/ansible-backend.xml
+++ b/common/nodes/ansible-backend.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/ansible-base.xml b/common/nodes/ansible-base.xml
index 6f87f17c4..05be4f23f 100644
--- a/common/nodes/ansible-base.xml
+++ b/common/nodes/ansible-base.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/ansible-server.xml b/common/nodes/ansible-server.xml
index e7e308fc7..6f0b3063f 100644
--- a/common/nodes/ansible-server.xml
+++ b/common/nodes/ansible-server.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/aws-client.xml b/common/nodes/aws-client.xml
index 617e4cdcc..9f5da78ff 100644
--- a/common/nodes/aws-client.xml
+++ b/common/nodes/aws-client.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/aws-server.xml b/common/nodes/aws-server.xml
index 9e1388b33..b5d5d1093 100644
--- a/common/nodes/aws-server.xml
+++ b/common/nodes/aws-server.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/aws-ssh-key.xml b/common/nodes/aws-ssh-key.xml
index 9d3aa8ff8..ff4af6d39 100644
--- a/common/nodes/aws-ssh-key.xml
+++ b/common/nodes/aws-ssh-key.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/barnacle.xml b/common/nodes/barnacle.xml
index 0a6549dbe..c2fa45603 100644
--- a/common/nodes/barnacle.xml
+++ b/common/nodes/barnacle.xml
@@ -6,7 +6,7 @@
- Copyright (c) 2006 - 2017 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/builder.xml b/common/nodes/builder.xml
index 1e895c320..e574b6640 100644
--- a/common/nodes/builder.xml
+++ b/common/nodes/builder.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/database-data-init.xml b/common/nodes/database-data-init.xml
index 2bbb7e939..de96a030f 100644
--- a/common/nodes/database-data-init.xml
+++ b/common/nodes/database-data-init.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
@@ -150,6 +150,9 @@ with open('/tmp/site.json', 'w') as file:
],
"software": {
"box": [
+ {
+ "name": "frontend",
+ },
{
"name": "default"
}
@@ -158,6 +161,7 @@ with open('/tmp/site.json', 'w') as file:
"appliance": [
{
"name": "frontend",
+ "box": "frontend",
"public": false,
"attr": [
{ "name": "node", "value": "server" },
diff --git a/common/nodes/database-data.xml b/common/nodes/database-data.xml
index c8ae32a15..af00acad0 100644
--- a/common/nodes/database-data.xml
+++ b/common/nodes/database-data.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/database-migration.xml b/common/nodes/database-migration.xml
index 85f4b80dc..d43b87d6a 100644
--- a/common/nodes/database-migration.xml
+++ b/common/nodes/database-migration.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/database-schema.xml b/common/nodes/database-schema.xml
index cb1835b08..60045564d 100644
--- a/common/nodes/database-schema.xml
+++ b/common/nodes/database-schema.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/database.xml b/common/nodes/database.xml
index da8797ccb..ed409ffac 100644
--- a/common/nodes/database.xml
+++ b/common/nodes/database.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/dns-server.xml b/common/nodes/dns-server.xml
index 51b8f71ad..263ef607d 100644
--- a/common/nodes/dns-server.xml
+++ b/common/nodes/dns-server.xml
@@ -7,7 +7,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/docker-server.xml b/common/nodes/docker-server.xml
index 1b3afef0a..b25bebb64 100644
--- a/common/nodes/docker-server.xml
+++ b/common/nodes/docker-server.xml
@@ -1,6 +1,9 @@
+ Copyright (c) 2006 - 2019 Teradata
+ All rights reserved. Stacki(r) v5.x stacki.com
+ https://github.com/Teradata/stacki/blob/master/LICENSE.txt
stack-docker
diff --git a/common/nodes/foundation-python.xml b/common/nodes/foundation-python.xml
index fdb751fa0..7bab506bb 100644
--- a/common/nodes/foundation-python.xml
+++ b/common/nodes/foundation-python.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/hash-client.xml b/common/nodes/hash-client.xml
index d9fe3b97e..64dba92a1 100644
--- a/common/nodes/hash-client.xml
+++ b/common/nodes/hash-client.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/ldconfig.xml b/common/nodes/ldconfig.xml
index 274d36a99..8f198b8e4 100644
--- a/common/nodes/ldconfig.xml
+++ b/common/nodes/ldconfig.xml
@@ -5,7 +5,7 @@ Fix LDConfig for all hosts
-Copyright (c) 2006 - 2018 Teradata
+Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/mq-base.xml b/common/nodes/mq-base.xml
index 2a61ab18c..08d7b09a5 100644
--- a/common/nodes/mq-base.xml
+++ b/common/nodes/mq-base.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/mq-client.xml b/common/nodes/mq-client.xml
index 793b69168..a83a7a77a 100644
--- a/common/nodes/mq-client.xml
+++ b/common/nodes/mq-client.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/mq-server.xml b/common/nodes/mq-server.xml
index ea63f5261..7b767586e 100644
--- a/common/nodes/mq-server.xml
+++ b/common/nodes/mq-server.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/node-certs.xml b/common/nodes/node-certs.xml
index f09457cd3..789aac99f 100644
--- a/common/nodes/node-certs.xml
+++ b/common/nodes/node-certs.xml
@@ -6,7 +6,7 @@ If additional keys are listed in the authorized_keys attribute, copy those as we
-Copyright (c) 2006 - 2018 Teradata
+Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/node.xml b/common/nodes/node.xml
index cc676a09f..0850a2f4c 100644
--- a/common/nodes/node.xml
+++ b/common/nodes/node.xml
@@ -6,7 +6,7 @@ and get DHCP/NIS state from the frontend.
-Copyright (c) 2006 - 2018 Teradata
+Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/peerdone.xml b/common/nodes/peerdone.xml
index b5b174934..8b6183637 100644
--- a/common/nodes/peerdone.xml
+++ b/common/nodes/peerdone.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/replicant.xml b/common/nodes/replicant.xml
index 1b0c408e1..e9a333ce5 100644
--- a/common/nodes/replicant.xml
+++ b/common/nodes/replicant.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/routes-server.xml b/common/nodes/routes-server.xml
index bc9a054d2..9056d0cc0 100644
--- a/common/nodes/routes-server.xml
+++ b/common/nodes/routes-server.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/ssh-base.xml b/common/nodes/ssh-base.xml
index 9de84fb11..ed47f1194 100644
--- a/common/nodes/ssh-base.xml
+++ b/common/nodes/ssh-base.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/ssl-base.xml b/common/nodes/ssl-base.xml
index beafb4058..c28e9dd8d 100644
--- a/common/nodes/ssl-base.xml
+++ b/common/nodes/ssl-base.xml
@@ -1,7 +1,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/nodes/time-base.xml b/common/nodes/time-base.xml
index a0bca426f..1b9c2a13c 100644
--- a/common/nodes/time-base.xml
+++ b/common/nodes/time-base.xml
@@ -5,7 +5,7 @@
- Copyright (c) 2006 - 2018 Teradata
+ Copyright (c) 2006 - 2019 Teradata
All rights reserved. Stacki(r) v5.x stacki.com
https://github.com/Teradata/stacki/blob/master/LICENSE.txt
diff --git a/common/src/Makefile b/common/src/Makefile
index 95f5491ea..caa044dae 100644
--- a/common/src/Makefile
+++ b/common/src/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/Makefile b/common/src/foundation/Makefile
index ae7a4fe7c..dab02f99b 100644
--- a/common/src/foundation/Makefile
+++ b/common/src/foundation/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/MegaCLI/Makefile b/common/src/foundation/MegaCLI/Makefile
index 20161edcf..235f71eda 100644
--- a/common/src/foundation/MegaCLI/Makefile
+++ b/common/src/foundation/MegaCLI/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/StorCLI/Makefile b/common/src/foundation/StorCLI/Makefile
index 1b3c6e19d..45f752482 100644
--- a/common/src/foundation/StorCLI/Makefile
+++ b/common/src/foundation/StorCLI/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/comps/Makefile b/common/src/foundation/comps/Makefile
index 63cd25cb9..f84aef78c 100644
--- a/common/src/foundation/comps/Makefile
+++ b/common/src/foundation/comps/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/fb-tftpd/Makefile b/common/src/foundation/fb-tftpd/Makefile
index 8793de27e..2f5ce13a2 100644
--- a/common/src/foundation/fb-tftpd/Makefile
+++ b/common/src/foundation/fb-tftpd/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/fio/Makefile b/common/src/foundation/fio/Makefile
index 2939e958c..883a6934d 100644
--- a/common/src/foundation/fio/Makefile
+++ b/common/src/foundation/fio/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/fio/extras/fio.py b/common/src/foundation/fio/extras/fio.py
index e467f36c2..2c48af2d2 100644
--- a/common/src/foundation/fio/extras/fio.py
+++ b/common/src/foundation/fio/extras/fio.py
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/iperf/Makefile b/common/src/foundation/iperf/Makefile
index 5a2456bcf..3cb5e195f 100644
--- a/common/src/foundation/iperf/Makefile
+++ b/common/src/foundation/iperf/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/iperf/files/iperf3.py b/common/src/foundation/iperf/files/iperf3.py
index 12987c8cf..d6e755d6c 100644
--- a/common/src/foundation/iperf/files/iperf3.py
+++ b/common/src/foundation/iperf/files/iperf3.py
@@ -1,7 +1,7 @@
#!/opt/stack/bin/python3
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/newt/Makefile b/common/src/foundation/newt/Makefile
index eafed3dac..201fe27af 100644
--- a/common/src/foundation/newt/Makefile
+++ b/common/src/foundation/newt/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/python-packages/Makefile b/common/src/foundation/python-packages/Makefile
index 893fe2db9..1c3cf2d7d 100644
--- a/common/src/foundation/python-packages/Makefile
+++ b/common/src/foundation/python-packages/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/python/Makefile b/common/src/foundation/python/Makefile
index 7cf6d8c53..4edcb4299 100644
--- a/common/src/foundation/python/Makefile
+++ b/common/src/foundation/python/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/rcs/Makefile b/common/src/foundation/rcs/Makefile
index 528411717..b3bde8af4 100644
--- a/common/src/foundation/rcs/Makefile
+++ b/common/src/foundation/rcs/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/redis/Makefile b/common/src/foundation/redis/Makefile
index 96fe82f00..0995486a3 100644
--- a/common/src/foundation/redis/Makefile
+++ b/common/src/foundation/redis/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/redis/redis-server.init b/common/src/foundation/redis/redis-server.init
index 4d44dac76..5357a4b8f 100644
--- a/common/src/foundation/redis/redis-server.init
+++ b/common/src/foundation/redis/redis-server.init
@@ -6,7 +6,7 @@
# pidfile: /var/run/redis-server.pid
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/sc-im/Makefile b/common/src/foundation/sc-im/Makefile
index 53047a0d0..ec9fea296 100644
--- a/common/src/foundation/sc-im/Makefile
+++ b/common/src/foundation/sc-im/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/stream/Makefile b/common/src/foundation/stream/Makefile
index ff6130d2c..c404d73c8 100644
--- a/common/src/foundation/stream/Makefile
+++ b/common/src/foundation/stream/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/stream/extras/stream.py b/common/src/foundation/stream/extras/stream.py
index ac95016ed..95f1b6e3f 100644
--- a/common/src/foundation/stream/extras/stream.py
+++ b/common/src/foundation/stream/extras/stream.py
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/foundation/zeromq/Makefile b/common/src/foundation/zeromq/Makefile
index 092b7c9ff..7049686f5 100644
--- a/common/src/foundation/zeromq/Makefile
+++ b/common/src/foundation/zeromq/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/Makefile b/common/src/stack/Makefile
index 43b2738eb..96b2997ea 100644
--- a/common/src/stack/Makefile
+++ b/common/src/stack/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/admin/Makefile b/common/src/stack/admin/Makefile
index 259fc434c..3a9664499 100644
--- a/common/src/stack/admin/Makefile
+++ b/common/src/stack/admin/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/aws-client/Makefile b/common/src/stack/aws-client/Makefile
index 193c6aea5..f7d17c911 100644
--- a/common/src/stack/aws-client/Makefile
+++ b/common/src/stack/aws-client/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/aws-client/aws-client-register.py b/common/src/stack/aws-client/aws-client-register.py
index 2acadf726..e33bbbaf8 100644
--- a/common/src/stack/aws-client/aws-client-register.py
+++ b/common/src/stack/aws-client/aws-client-register.py
@@ -7,7 +7,7 @@
# dependencies added to the installation AMI.
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/aws-server/Makefile b/common/src/stack/aws-server/Makefile
index ba84db25f..92821f86f 100644
--- a/common/src/stack/aws-server/Makefile
+++ b/common/src/stack/aws-server/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/aws-server/aws-server-init.py b/common/src/stack/aws-server/aws-server-init.py
index ca190ede3..a69994079 100644
--- a/common/src/stack/aws-server/aws-server-init.py
+++ b/common/src/stack/aws-server/aws-server-init.py
@@ -1,7 +1,7 @@
#! /opt/stack/bin/python3
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/aws-server/register.py b/common/src/stack/aws-server/register.py
index 861da772b..d6bfcc084 100644
--- a/common/src/stack/aws-server/register.py
+++ b/common/src/stack/aws-server/register.py
@@ -1,7 +1,7 @@
#! /opt/stack/bin/python3
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/barnacle/Makefile b/common/src/stack/barnacle/Makefile
index 5d8f57f59..b6414a22d 100644
--- a/common/src/stack/barnacle/Makefile
+++ b/common/src/stack/barnacle/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/barnacle/aws-barnacle-prep-image.sh b/common/src/stack/barnacle/aws-barnacle-prep-image.sh
index 3a1a6d9af..d864dafce 100644
--- a/common/src/stack/barnacle/aws-barnacle-prep-image.sh
+++ b/common/src/stack/barnacle/aws-barnacle-prep-image.sh
@@ -8,7 +8,7 @@
# can then create a new image (AMI) from the stopped instance.
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/barnacle/aws-barnacle.sh b/common/src/stack/barnacle/aws-barnacle.sh
index 9d9038e99..003d4e52f 100644
--- a/common/src/stack/barnacle/aws-barnacle.sh
+++ b/common/src/stack/barnacle/aws-barnacle.sh
@@ -1,7 +1,7 @@
#! /bin/bash
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/Makefile b/common/src/stack/build/Makefile
index bc473d3d3..91062c658 100644
--- a/common/src/stack/build/Makefile
+++ b/common/src/stack/build/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/bin/gen-order b/common/src/stack/build/build/bin/gen-order
index c0b167f92..9e5eb2e5f 100755
--- a/common/src/stack/build/build/bin/gen-order
+++ b/common/src/stack/build/build/bin/gen-order
@@ -1,7 +1,7 @@
#! /usr/bin/python
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/bin/os b/common/src/stack/build/build/bin/os
index 734766149..0a28422ec 100755
--- a/common/src/stack/build/build/bin/os
+++ b/common/src/stack/build/build/bin/os
@@ -1,7 +1,7 @@
#! /bin/sh
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/bin/os-release b/common/src/stack/build/build/bin/os-release
index 16f801951..fd8d3f6f7 100755
--- a/common/src/stack/build/build/bin/os-release
+++ b/common/src/stack/build/build/bin/os-release
@@ -1,7 +1,7 @@
#! /bin/sh
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/bin/package-install b/common/src/stack/build/build/bin/package-install
index 17b25fd6e..496e05ccf 100755
--- a/common/src/stack/build/build/bin/package-install
+++ b/common/src/stack/build/build/bin/package-install
@@ -1,7 +1,7 @@
#!/bin/bash
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/bin/pip2src b/common/src/stack/build/build/bin/pip2src
index a260ab668..66b321beb 100755
--- a/common/src/stack/build/build/bin/pip2src
+++ b/common/src/stack/build/build/bin/pip2src
@@ -2,7 +2,7 @@
# -*- python -*-
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/CCCommon.mk b/common/src/stack/build/build/etc/CCCommon.mk
index a92d2ac43..132b75007 100644
--- a/common/src/stack/build/build/etc/CCCommon.mk
+++ b/common/src/stack/build/build/etc/CCCommon.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/CCRules.mk b/common/src/stack/build/build/etc/CCRules.mk
index c675198e4..cd0a02baf 100644
--- a/common/src/stack/build/build/etc/CCRules.mk
+++ b/common/src/stack/build/build/etc/CCRules.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/Rules-redhat.mk b/common/src/stack/build/build/etc/Rules-redhat.mk
index c31edd379..0a239eacf 100644
--- a/common/src/stack/build/build/etc/Rules-redhat.mk
+++ b/common/src/stack/build/build/etc/Rules-redhat.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/Rules-sles.mk b/common/src/stack/build/build/etc/Rules-sles.mk
index 6d655eabd..f3e3ffa5e 100644
--- a/common/src/stack/build/build/etc/Rules-sles.mk
+++ b/common/src/stack/build/build/etc/Rules-sles.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/Rules.mk b/common/src/stack/build/build/etc/Rules.mk
index 4116f714c..52a7a091e 100644
--- a/common/src/stack/build/build/etc/Rules.mk
+++ b/common/src/stack/build/build/etc/Rules.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/create-package.mk b/common/src/stack/build/build/etc/create-package.mk
index 82ee882b3..899aa7ca0 100644
--- a/common/src/stack/build/build/etc/create-package.mk
+++ b/common/src/stack/build/build/etc/create-package.mk
@@ -3,7 +3,7 @@
# directory into an RPM copied into the contrib area.
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/python.mk b/common/src/stack/build/build/etc/python.mk
index df004d14c..129e9b580 100644
--- a/common/src/stack/build/build/etc/python.mk
+++ b/common/src/stack/build/build/etc/python.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/etc/stack-version.mk b/common/src/stack/build/build/etc/stack-version.mk
index 4935d97cf..adab8316f 100644
--- a/common/src/stack/build/build/etc/stack-version.mk
+++ b/common/src/stack/build/build/etc/stack-version.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/src/pallet/bin/gen-release-notes.py b/common/src/stack/build/build/src/pallet/bin/gen-release-notes.py
index 082ca8736..5ac5092d0 100755
--- a/common/src/stack/build/build/src/pallet/bin/gen-release-notes.py
+++ b/common/src/stack/build/build/src/pallet/bin/gen-release-notes.py
@@ -1,6 +1,9 @@
#! /opt/stack/bin/python3
#
# @copyright@
+# Copyright (c) 2006 - 2019 Teradata
+# All rights reserved. Stacki(r) v5.x stacki.com
+# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
import sys
diff --git a/common/src/stack/build/build/src/pallet/bin/get3rdparty.py b/common/src/stack/build/build/src/pallet/bin/get3rdparty.py
index 114533a63..772f33fbe 100755
--- a/common/src/stack/build/build/src/pallet/bin/get3rdparty.py
+++ b/common/src/stack/build/build/src/pallet/bin/get3rdparty.py
@@ -1,7 +1,7 @@
#!/usr/bin/python
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
@@ -66,6 +66,7 @@ def download_url(source, target, curl_args):
curl_cmd.extend(curl_args)
curl_cmd.extend(['-sSo%s' % target, source])
print('download %s\n\t%s' % (source, target))
+ success = False
while retry:
p = subprocess.Popen(curl_cmd,
stdout=subprocess.PIPE,
@@ -79,24 +80,29 @@ def download_url(source, target, curl_args):
else:
if o.strip() == '200':
retry = 0
+ success = True
else:
retry = retry - 1
print("Error: Cannot download. HTTP STATUS: %s" % o)
os.unlink(target)
time.sleep(1)
+ if not success:
+ print("Failed to fetch {}".format(source))
+ sys.exit(-1)
+
def get_auth_info(authfile, url):
curl_args = []
if not os.path.exists(authfile):
- sys.stderr.write("Cannot find auth file %s for %s\n" %
+ sys.stderr.write("Cannot find auth file %s for %s\n" %
(authfile, url))
auth = None
with open(authfile, 'r') as a:
auth = json.load(a)
if not auth:
- sys.stderr.write("Cannot read auth file %s for %s\n" %
+ sys.stderr.write("Cannot read auth file %s for %s\n" %
(authfile, url))
if auth['type'].lower() == 'basic':
diff --git a/common/src/stack/build/build/src/pallet/bin/manifest-check.py b/common/src/stack/build/build/src/pallet/bin/manifest-check.py
index 5941274aa..45c06a94a 100755
--- a/common/src/stack/build/build/src/pallet/bin/manifest-check.py
+++ b/common/src/stack/build/build/src/pallet/bin/manifest-check.py
@@ -4,7 +4,7 @@
# when 'make roll' is run
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
@@ -17,6 +17,7 @@
import os
import sys
+from pathlib import Path
import stack.util
from stack.file import RPMFile
@@ -37,14 +38,11 @@
except:
release = None
-builtfiles = []
-for arch in [ 'noarch', 'i386', 'x86_64', 'armv7hl' ]:
- try:
- with os.scandir(os.path.join(buildpath, 'RPMS', arch)) as d:
- for pkg in d:
- builtfiles.append(RPMFile(pkg.path))
- except FileNotFoundError:
- pass
+# Gather all .rpm files under the RPMS folder in the buildpath.
+# If the path doesn't exist, or no .rpm files exist, glob will return an empty list.
+builtfiles = [
+ RPMFile(str(pkg)) for pkg in Path(buildpath).joinpath("RPMS").resolve().glob("**/*.rpm")
+]
manifests = [ ]
search = [ 'common', '.', buildpath ]
@@ -90,7 +88,7 @@
if not found:
print('Cannot find any manifest files')
- sys.exit(0)
+ sys.exit(1)
built = []
notmanifest = []
@@ -118,13 +116,13 @@
for pkg in manifest:
if pkg not in built:
print('\t%s' % pkg)
- exit_code += 1
+ exit_code = 2
if len(notmanifest) > 0:
print('\nERROR - the following packages were built but not in manifest:')
for pkg in notmanifest:
print('\t%s' % pkg)
- exit_code += 1
+ exit_code = 3
if exit_code == 0:
print('passed')
diff --git a/common/src/stack/build/build/src/pallet/doc/Makefile b/common/src/stack/build/build/src/pallet/doc/Makefile
index a89966bf5..25e4f2b19 100644
--- a/common/src/stack/build/build/src/pallet/doc/Makefile
+++ b/common/src/stack/build/build/src/pallet/doc/Makefile
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/src/pallet/etc/CCRolls.mk b/common/src/stack/build/build/src/pallet/etc/CCRolls.mk
index b9f1f4467..62e6530a6 100644
--- a/common/src/stack/build/build/src/pallet/etc/CCRolls.mk
+++ b/common/src/stack/build/build/src/pallet/etc/CCRolls.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/src/pallet/etc/Compat.mk b/common/src/stack/build/build/src/pallet/etc/Compat.mk
index b980bb2a6..7506228f5 100644
--- a/common/src/stack/build/build/src/pallet/etc/Compat.mk
+++ b/common/src/stack/build/build/src/pallet/etc/Compat.mk
@@ -2,7 +2,7 @@
# Make rules for Compat libraries from Rolls.
#
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/src/pallet/etc/Rolls.mk b/common/src/stack/build/build/src/pallet/etc/Rolls.mk
index fa3a7f101..fbf50d93e 100644
--- a/common/src/stack/build/build/src/pallet/etc/Rolls.mk
+++ b/common/src/stack/build/build/src/pallet/etc/Rolls.mk
@@ -1,5 +1,5 @@
# @copyright@
-# Copyright (c) 2006 - 2018 Teradata
+# Copyright (c) 2006 - 2019 Teradata
# All rights reserved. Stacki(r) v5.x stacki.com
# https://github.com/Teradata/stacki/blob/master/LICENSE.txt
# @copyright@
diff --git a/common/src/stack/build/build/src/pallet/etc/doc/rocksplus-copyright.sgml b/common/src/stack/build/build/src/pallet/etc/doc/rocksplus-copyright.sgml
index 6f36d15d6..754021217 100644
--- a/common/src/stack/build/build/src/pallet/etc/doc/rocksplus-copyright.sgml
+++ b/common/src/stack/build/build/src/pallet/etc/doc/rocksplus-copyright.sgml
@@ -1,6 +1,6 @@