Browse Source

docker/docs improvements, bump version

tags/v1.5.10
Jonathan Cobb 4 years ago
parent
commit
4a7c7b3114
8 changed files with 16 additions and 16 deletions
  1. +8
    -8
      bin/build_dist
  2. +1
    -1
      bin/jenkins/test-redis
  3. +2
    -2
      bubble-server/pom.xml
  4. +1
    -1
      bubble-server/src/main/resources/META-INF/bubble/bubble.properties
  5. +1
    -1
      bubble-web
  6. +1
    -1
      docs/system-software.md
  7. +1
    -1
      pom.xml
  8. +1
    -1
      utils/pom.xml

+ 8
- 8
bin/build_dist View File

@@ -20,19 +20,19 @@ SCRIPT_DIR=$(cd $(dirname ${SCRIPT}) && pwd)

NO_BUILD="${1}"

BASE=$(cd $(dirname $0)/.. && pwd)
cd ${BASE}
BASE="$(cd "$(dirname "${0}")"/.. && pwd)"
cd "${BASE}" || die "Error changing to ${BASE} directory"

if [[ -z "${NO_BUILD}" || "${NO_BUILD}" != "no-build" ]] ; then
echo "Building bubble jar..."
${BASE}/bin/git_update_bubble.sh || die "Error building bubble jar file"
"${BASE}"/bin/git_update_bubble.sh || die "Error building bubble jar file"
else
echo "Not building bubble jar: no-build was set"
fi

DIST_BASE="${BASE}/dist"
rm -rf "${DIST_BASE}" || die "Error removing "${DIST_BASE}" directory"
mkdir -p "${DIST_BASE}" || die "Error creating "${DIST_BASE}" directory"
rm -rf "${DIST_BASE}" || die "Error removing ${DIST_BASE} directory"
mkdir -p "${DIST_BASE}" || die "Error creating ${DIST_BASE} directory"

JAR_DIR="${BASE}/bubble-server/target"
FULL_JAR="$(find "${JAR_DIR}" -type f -name "bubble-server-*-full.jar" | head -1)"
@@ -80,9 +80,9 @@ if [[ -n "${BUBBLE_DIST_HOME}" ]] ; then
if [[ ! -d "${BUBBLE_DIST_DIR}" ]] ; then
mkdir -p ${BUBBLE_DIST_DIR}
fi
cp "${ZIP}" "${BUBBLE_DIST}" && cat "${ZIP}" | sha256sum | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_DIST}.sha256" || die "Error copying bubble zip distribution ${ZIP} to dist or creating shasum"
cp "${JAR}" "${BUBBLE_JAR_DIST}" && cat "${JAR}" | sha256sum | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_JAR_DIST}.sha256" || die "Error copying bubble jar ${JAR} to dist or creating shasum"
cp "${FULL_JAR}" "${BUBBLE_FULL_JAR_DIST}" && cat "${FULL_JAR}" | sha256sum | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_FULL_JAR_DIST}.sha256" || die "Error copying full bubble jar ${FULL_JAR} to dist or creating shasum"
cp "${ZIP}" "${BUBBLE_DIST}" && cat "${ZIP}" | shasum -a 256 | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_DIST}.sha256" || die "Error copying bubble zip distribution ${ZIP} to dist or creating shasum"
cp "${JAR}" "${BUBBLE_JAR_DIST}" && cat "${JAR}" | shasum -a 256 | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_JAR_DIST}.sha256" || die "Error copying bubble jar ${JAR} to dist or creating shasum"
cp "${FULL_JAR}" "${BUBBLE_FULL_JAR_DIST}" && cat "${FULL_JAR}" | shasum -a 256 | cut -f1 -d' ' | tr -d '\n' > "${BUBBLE_FULL_JAR_DIST}.sha256" || die "Error copying full bubble jar ${FULL_JAR} to dist or creating shasum"
if [[ ${IS_DEV} -eq 0 ]] ; then
cd ${BUBBLE_DIST_TOP} && rm -f latest && ln -sf ${BUBBLE_VERSION} latest
echo "${BUBBLE_VERSION}" > latest.txt


+ 1
- 1
bin/jenkins/test-redis View File

@@ -15,7 +15,7 @@ function redis_port() {
if [[ -z "${BUBBLE_REDIS_PORT}" ]] ; then
# pick port based on hash of workspace name; there is a 1-in-4096 chance of collision
# if you get a collision, just define BUBBLE_REDIS_PORT in jenkins to be < 6800 or > 10895 in the job's build config
BUBBLE_REDIS_PORT=$(expr 6800 + $(echo $((16#$(echo -n ${WORKSPACE_NAME} | sha256sum | awk '{print $1}' | tail -c 4)))))
BUBBLE_REDIS_PORT=$(expr 6800 + $(echo $((16#$(echo -n ${WORKSPACE_NAME} | shasum -a 256 | awk '{print $1}' | tail -c 4)))))
fi
echo ${BUBBLE_REDIS_PORT}
}


+ 2
- 2
bubble-server/pom.xml View File

@@ -11,12 +11,12 @@
<groupId>bubble</groupId>
<artifactId>bubble</artifactId>
<!-- @@BUBBLE_VERSION@@ this comment must remain above the version tag so that _set_version can update it -->
<version>1.5.9</version>
<version>1.5.10</version>
</parent>

<artifactId>bubble-server</artifactId>
<!-- @@BUBBLE_VERSION@@ this comment must remain above the version tag so that _set_version can update it -->
<version>1.5.9</version>
<version>1.5.10</version>

<repositories>
<repository>


+ 1
- 1
bubble-server/src/main/resources/META-INF/bubble/bubble.properties View File

@@ -1,3 +1,3 @@
# Do not edit this file directly
# Use _set_version to update the Bubble version in all files
bubble.version=Adventure 1.5.9
bubble.version=Adventure 1.5.10

+ 1
- 1
bubble-web

@@ -1 +1 @@
Subproject commit 061267a01e8f0cf59ba25b3bd848d2999b119c93
Subproject commit 38eaeee454724452f59cf7f11724ec7f67d5884f

+ 1
- 1
docs/system-software.md View File

@@ -41,7 +41,7 @@ The important things to install:
* Redis
* Python 3.8+
* Packer (try `bin/install_packer.sh` first, it might work fine)
* Required tools: curl, jq, uuid, sha256sum, openssl, ssh, scp, rsync, npm, webpack, zip, unzip
* Required tools: curl, jq, uuid, shasum, openssl, ssh, scp, rsync, npm, webpack, zip, unzip

Look at the `first_time_ubuntu.sh` script and ensure you've basically done all that it does,
including creating PostgreSQL users/databases.


+ 1
- 1
pom.xml View File

@@ -14,7 +14,7 @@
<groupId>bubble</groupId>
<artifactId>bubble</artifactId>
<!-- @@BUBBLE_VERSION@@ this comment must remain above the version tag so that _set_version can update it -->
<version>1.5.9</version>
<version>1.5.10</version>
<packaging>pom</packaging>

<licenses>


+ 1
- 1
utils/pom.xml View File

@@ -10,7 +10,7 @@ This code is available under the GNU Affero General Public License, version 3: h
<groupId>bubble</groupId>
<artifactId>utils</artifactId>
<!-- @@BUBBLE_VERSION@@ this comment must remain above the version tag so that _set_version can update it -->
<version>1.5.9</version>
<version>1.5.10</version>
<packaging>pom</packaging>

<licenses>


Loading…
Cancel
Save