You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2019/11/06 15:23:37 UTC
[isis] branch v2 updated: ISIS-2158: moving CI related files to
scripts/ci
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/v2 by this push:
new fa9936e ISIS-2158: moving CI related files to scripts/ci
fa9936e is described below
commit fa9936e0eb1948e9e8da725f574a2e454f1a7f1f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Nov 6 16:23:11 2019 +0100
ISIS-2158: moving CI related files to scripts/ci
- adds scripts/ci/dry-run.sh for troubleshooting the ci pipeline
- forces Unix style NEWLINE on .sh files even on windows
- demo-app: replace docker-mixin with jib
---
.gitattributes | 2 +
.gitlab-ci.yml | 75 ++++------------------
core/pom.xml | 16 ++---
core/schema/pom.xml | 1 +
examples/apps/demo/.gitlab-ci.yml | 52 ---------------
examples/apps/demo/pom.xml | 39 +++++++----
.../src/main/resources/docker/tomcat/Dockerfile | 12 +++-
examples/pom.xml | 32 +++++----
scripts/{ => ci}/build-core.sh | 8 +--
scripts/ci/build-demo-app.sh | 35 ++++++++++
scripts/{ => ci}/build-example-apps.sh | 5 +-
scripts/{ => ci}/build-mixins.sh | 20 +++---
.gitlab-ci.yml => scripts/ci/core-gitlab-ci.yml | 30 +++------
scripts/ci/dry-run.sh | 29 +++++++++
scripts/clean-up-tags-local.sh | 2 +
scripts/clean-up-tags-remote.sh | 2 +
scripts/jira-release-notes.sh | 1 -
scripts/ls-tags-remote.sh | 2 +
scripts/promoterctag.sh | 2 +-
scripts/recreate-archetype.sh | 1 +
scripts/verify-isis-release.sh | 1 -
scripts/version-bump.sh | 1 +
scripts/version-reset.sh | 1 +
23 files changed, 178 insertions(+), 191 deletions(-)
diff --git a/.gitattributes b/.gitattributes
index 375375a..b119e80 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -50,3 +50,5 @@
*.rtf diff=astextplain
*.RTF diff=astextplain
+# Git will always convert line endings to `LF` on checkout. You should use this for files that must keep LF endings, even on Windows.
+*.sh text eol=lf
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a4ac0f..51de364 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,71 +1,18 @@
-#
-# This script:
-#
-# - builds snapshot of isis
-# - pushes to repo.incode.work
-# - pushes to repo.incode.cloud
-# - builds Docker image of simpleapp
-# - pushes to hub.docker.com
-#
-# It requires the following gitlab secret variables
-#
-# - GCPAPPENGINEREPO_USERNAME
-# - GCPAPPENGINEREPO_PASSWORD
-# - GCPAPPENGINEREPO_URL
-#
-# - DOCKER_REGISTRY_USERNAME # eg "apacheisiscommitters" (needs to be in the ORG_NAME)
-# - DOCKER_REGISTRY_EMAIL
-# - DOCKER_REGISTRY_PASSWORD
-# - DOCKER_REGISTRY_URL # eg "https://index.docker.io/v1/"
-#
-# NB: if deploying to docker hub, then the image is named apacheisis/$APPNAME,
-# where 'apacheisis' is an org that the user can write to
-#
-# Use $DOCKER_REGISTRY_USERNAME/$DOCKER_REGISTRY_PASSWORD credentials to upload
-#
+image: maven:3.6.2-jdk-11
-image: maven:3.5.3-jdk-8
-
-before_script:
- - export BASELINE=2.0.0-M2
- - export REVISION=$BASELINE.$(date +%Y%m%d)-$(date +%H%M)-$(echo $CI_COMMIT_SHA | cut -c1-8)
-
-services:
- - docker:dind
+stages:
+ - build-package-push
variables:
- GIT_SUBMODULE_STRATEGY: recursive
+ BASELINE: 2.0.0-M2
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
ORG_NAME: "apacheisis"
+
+include:
+ - local: scripts/ci/core-gitlab-ci.yml
-stages:
- - build-package-push
-
-build-package-push:
- stage: build-package-push
- script:
- - sh scripts/build-mixins.sh
- - sh scripts/build-core.sh
- - sh scripts/build-example-apps.sh
-
-#
-# Previously this script also uploaded to a Sonatype Nexus.
-# Here's the stuff that did it.
-#
-# It requires the following gitlab secret variables
-#
-# - NEXUS_USERNAME
-# - NEXUS_PASSWORD
-# - NEXUS_REPO_URL
-#
-# - cd core
-# - >
-# mvn -s .m2/settings.xml \
-# --batch-mode \
-# clean deploy \
-# -Drevision=$REVISION \
-# -Dnexus-deploy \
-# -Dnexus-deploy.repositoryUrl=$NEXUS_REPO_URL \
-# $CORE_ADDITIONAL_OPTS
-# - cd ..
\ No newline at end of file
+before_script:
+ - export PROJECT_ROOT_DIR=$CI_PROJECT_DIR
+ - export CI_SCRIPTS_DIR=$PROJECT_ROOT_DIR/scripts/ci
+ - export REVISION=$BASELINE.$(date +%Y%m%d)-$(date +%H%M)-$(echo $CI_COMMIT_SHA | cut -c1-8)
diff --git a/core/pom.xml b/core/pom.xml
index fce0302..cf21f1c 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -131,7 +131,7 @@
<com-sun-mail.version>1.5.2</com-sun-mail.version>
<jopt-simple.version>6.0-alpha-3</jopt-simple.version>
- <jackson.version>2.9.8</jackson.version>
+ <jackson.version>2.10.0</jackson.version>
<gson.version>2.7</gson.version>
<swagger-core.version>1.5.21</swagger-core.version>
@@ -376,13 +376,13 @@
<enabled>false</enabled>
</snapshots>
</repository>
- <repository>
- <id>Spring Milestones</id>
- <url>https://repo.spring.io/milestone/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
+<!-- <repository> -->
+<!-- <id>Spring Milestones</id> -->
+<!-- <url>https://repo.spring.io/milestone/</url> -->
+<!-- <snapshots> -->
+<!-- <enabled>false</enabled> -->
+<!-- </snapshots> -->
+<!-- </repository> -->
<repository>
<id>JBoss Public Release</id>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
diff --git a/core/schema/pom.xml b/core/schema/pom.xml
index 50d827d..e8a9dcc 100644
--- a/core/schema/pom.xml
+++ b/core/schema/pom.xml
@@ -102,6 +102,7 @@
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
+ <version>0.14.0</version>
<executions>
<execution>
<id>generate-chg-xsd</id>
diff --git a/examples/apps/demo/.gitlab-ci.yml b/examples/apps/demo/.gitlab-ci.yml
deleted file mode 100644
index 25d6dcd..0000000
--- a/examples/apps/demo/.gitlab-ci.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# requires the following gitlab secret variables
-# - DOCKER_REGISTRY_USERNAME # will be the owner of the uploaded Docker image
-# - DOCKER_REGISTRY_PASSWORD # corresponding password
-# - DOCKER_REGISTRY_EMAIL
-#
-
-image: maven:3.6.0-jdk-8
-
-before_script:
- - apt-get update && apt-get install -y libxml2-utils
- - export BASELINE=2.0.0-M2
- - export REVISION=$BASELINE.$(date +%Y%m%d)-$(date +%H%M)-$(echo $CI_COMMIT_SHA | cut -c1-8)
- - export METADATA=https://repo.incode.cloud/repository/maven/org/apache/isis/core/isis/maven-metadata.xml
- - export ISIS_VERSION=`curl -s GET $METADATA | xmllint --xpath 'string(//metadata/versioning/latest)' -`
- - printf '#!/bin/sh\necho "=== $FLAVOR ==="\necho "REVISION=$REVISION"\necho "ISIS_VERSION=$ISIS_VERSION"\n' > ./dump_env.sh
- - printf '#!/bin/sh\nmvn install -Dflavor=$FLAVOR -Dskip.git -Dskip.arch -DskipTests -Drevision=$REVISION -Disis.version=$ISIS_VERSION -Dmavenmixin-docker --batch-mode\n' > ./build.sh
- - printf '#!/bin/sh\nmvn -s .m2/settings.xml docker:push@push-image-latest -Drevision=$REVISION -Disis.version=$ISIS_VERSION -DskipTests -DskipTag -Dskip.isis-swagger -Dmavenmixin-docker -Ddocker-plugin.serverId=docker-registry\n' > ./push_latest.sh
- - printf '#!/bin/sh\nmvn -s .m2/settings.xml docker:push@push-image-tagged -Dflavor=$FLAVOR -Drevision=$REVISION -Disis.version=$ISIS_VERSION -DskipTests -Dskip.isis-swagger -Dmavenmixin-docker -Ddocker-plugin.serverId=docker-registry\n' > ./push_flavor.sh
-
-services:
- - docker:dind
-
-variables:
- DOCKER_HOST: tcp://docker:2375
- DOCKER_DRIVER: overlay2
- MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
- APP_NAME: isis-2-demo
-
-stages:
- - tomcat
-# - payara
-
-job tomcat:
- stage: tomcat
- script:
- - export FLAVOR=tomcat
- - sh dump_env.sh
- - cat build.sh
- - sh build.sh
- - cat push_latest.sh
- - sh push_latest.sh
- - cat push_flavor.sh
- - sh push_flavor.sh
-
-job payara:
- stage: payara
- script:
- - export FLAVOR=payara
- - sh dump_env.sh
- - sh build.sh
- - sh push_flavor.sh
diff --git a/examples/apps/demo/pom.xml b/examples/apps/demo/pom.xml
index 6a42a1b..c44d124 100644
--- a/examples/apps/demo/pom.xml
+++ b/examples/apps/demo/pom.xml
@@ -35,12 +35,6 @@
<!-- this can be overridden using -Dflavor=... -->
<flavor>payara</flavor>
- <docker-plugin.imageName>apacheisis/isis-2-demo</docker-plugin.imageName>
- <docker-plugin.imageTag>${flavor}</docker-plugin.imageTag>
- <docker-plugin.resource.include>${maven-war-plugin.warName}.war</docker-plugin.resource.include>
- <docker-plugin.serverId>docker-hub</docker-plugin.serverId>
- <docker-plugin.registryUrl>https://index.docker.io/v1/</docker-plugin.registryUrl>
-
</properties>
<dependencies>
@@ -76,7 +70,7 @@
</dependency>
<!-- ISIS EXTENSIONS -->
-
+
<dependency>
<groupId>org.apache.isis.extensions</groupId>
<artifactId>isis-extensions-incubator</artifactId>
@@ -195,6 +189,23 @@
<dependencies>
<!-- add flavor specific here -->
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.google.cloud.tools</groupId>
+ <artifactId>jib-maven-plugin</artifactId>
+ <configuration>
+ <to>
+ <image>docker.io/apacheisis/isis-2-demo</image>
+ <auth>
+ <username>${env.DOCKER_REGISTRY_USERNAME}</username>
+ <password>${env.DOCKER_REGISTRY_PASSWORD}</password>
+ </auth>
+ </to>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</profile>
<profile>
@@ -216,6 +227,16 @@
</profiles>
+ <!-- <repositories> -->
+ <!-- <repository> -->
+ <!-- <id>Apache Isis Snapshots</id> -->
+ <!-- <url>https://repo.incode.cloud/</url> -->
+ <!-- <snapshots> -->
+ <!-- <enabled>true</enabled> -->
+ <!-- </snapshots> -->
+ <!-- </repository> -->
+ <!-- </repositories> -->
+
<build>
<plugins>
@@ -238,10 +259,6 @@
<groupId>org.apache.isis.mixins</groupId>
<artifactId>isis-mixin-surefire</artifactId>
</mixin>
- <mixin>
- <groupId>org.apache.isis.mixins</groupId>
- <artifactId>isis-mixin-docker</artifactId>
- </mixin>
</mixins>
</configuration>
</plugin>
diff --git a/examples/apps/demo/src/main/resources/docker/tomcat/Dockerfile b/examples/apps/demo/src/main/resources/docker/tomcat/Dockerfile
index ea851f5..3d85aac 100644
--- a/examples/apps/demo/src/main/resources/docker/tomcat/Dockerfile
+++ b/examples/apps/demo/src/main/resources/docker/tomcat/Dockerfile
@@ -1,4 +1,10 @@
-FROM incodehq/tomcat
-RUN rm -rf ${DEPLOYMENT_DIR}/ROOT
-COPY ./*.war ${DEPLOYMENT_DIR}/ROOT.war
+FROM tomcat:9-jdk11-openjdk
+
+LABEL maintainer="ahuber@apache.org"
+
+ENV DEPLOY_DIR /usr/local/tomcat/webapps/
+
+RUN rm -rf ${DEPLOY_DIR}/ROOT
+COPY ./*.war ${DEPLOY_DIR}/ROOT.war
+
EXPOSE 8080
\ No newline at end of file
diff --git a/examples/pom.xml b/examples/pom.xml
index 10a9931..19a4dd8 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -186,14 +186,14 @@
</executions>
</plugin>
- <plugin>
- <groupId>com.spotify</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>1.2.0</version>
- <configuration>
- <dockerDirectory>src/main/resources/docker/${flavor}</dockerDirectory>
- </configuration>
- </plugin>
+ <!-- <plugin> -->
+ <!-- <groupId>com.spotify</groupId> -->
+ <!-- <artifactId>docker-maven-plugin</artifactId> -->
+ <!-- <version>1.2.0</version> -->
+ <!-- <configuration> -->
+ <!-- <dockerDirectory>src/main/resources/docker/${flavor}</dockerDirectory> -->
+ <!-- </configuration> -->
+ <!-- </plugin> -->
<plugin>
<!-- This is a duplicate of core's pom.xml entry -->
@@ -243,6 +243,16 @@
</plugin>
</plugins>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>com.google.cloud.tools</groupId>
+ <artifactId>jib-maven-plugin</artifactId>
+ <version>1.7.0</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
<dependencyManagement>
@@ -293,12 +303,6 @@
<version>${isis.version}</version>
<type>pom</type>
</dependency>
- <dependency>
- <groupId>org.apache.isis.mixins</groupId>
- <artifactId>isis-mixin-docker</artifactId>
- <version>${isis.version}</version>
- <type>pom</type>
- </dependency>
</dependencies>
</dependencyManagement>
diff --git a/scripts/build-core.sh b/scripts/ci/build-core.sh
similarity index 79%
rename from scripts/build-core.sh
rename to scripts/ci/build-core.sh
index f4a37e5..39f00e4 100644
--- a/scripts/build-core.sh
+++ b/scripts/ci/build-core.sh
@@ -13,11 +13,11 @@ echo ""
echo ""
echo ""
-cd ../core
+cd $PROJECT_ROOT_DIR/core
-mvn -s ../.m2/settings.xml \
+mvn -s $PROJECT_ROOT_DIR/.m2/settings.xml \
--batch-mode \
- clean deploy \
+ $MVN_STAGES \
-Dgcpappenginerepo-deploy \
-Dgcpappenginerepo-deploy.repositoryUrl=$GCPAPPENGINEREPO_URL \
-Drevision=$REVISION \
@@ -28,5 +28,5 @@ if [ $? -ne 0 ]; then
fi
-cd ..
+cd $PROJECT_ROOT_DIR
diff --git a/scripts/ci/build-demo-app.sh b/scripts/ci/build-demo-app.sh
new file mode 100644
index 0000000..a5f43d4
--- /dev/null
+++ b/scripts/ci/build-demo-app.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+#set -x
+#trap read debug
+set -e
+
+echo ""
+echo ""
+echo ""
+
+echo "\$REVISION = ${REVISION}"
+echo "\$GCPAPPENGINEREPO_URL = ${GCPAPPENGINEREPO_URL}"
+echo "\$ORG_NAME = ${ORG_NAME}"
+echo "\$DOCKER_REGISTRY_URL = ${DOCKER_REGISTRY_URL}"
+
+echo ""
+echo ""
+echo ""
+
+cd $PROJECT_ROOT_DIR/examples/apps/demo
+
+export APP_NAME=isis-2-demo
+export ISIS_VERSION=$REVISION
+#printf '#!/bin/sh\nset -e\nmvn install -Dflavor=$FLAVOR -Dskip.git -Dskip.arch -DskipTests -Drevision=$REVISION -Disis.version=$ISIS_VERSION -Dmavenmixin-docker --batch-mode\n' > ./build.sh
+#printf '#!/bin/sh\nset -e\nmvn -s $CI_BUILDS_DIR/examples/apps/demo/.m2/settings.xml docker:push@push-image-latest -Drevision=$REVISION -Disis.version=$ISIS_VERSION -DskipTests -DskipTag -Dskip.isis-swagger -Ddocker.registryUrl=$DOCKER_REGISTRY_URL\n' > ./push_latest.sh
+#printf '#!/bin/sh\nset -e\nmvn -s $CI_BUILDS_DIR/examples/apps/demo/.m2/settings.xml docker:push@push-image-tagged -Dflavor=$FLAVOR -Drevision=$REVISION -Disis.version=$ISIS_VERSION -DskipTests -Dskip.isis-swagger -Ddocker.registryUrl=$DOCKER_REGISTRY_URL\n' > ./push_flavor.sh
+
+export FLAVOR=tomcat
+mvn compile jib:build -Dflavor=$FLAVOR -Dskip.git -Dskip.arch -DskipTests -Drevision=$REVISION -Disis.version=$ISIS_VERSION --batch-mode
+
+#sh ./push_latest.sh
+#sh ./push_flavor.sh
+
+cd $PROJECT_ROOT_DIR
+
+
diff --git a/scripts/build-example-apps.sh b/scripts/ci/build-example-apps.sh
similarity index 97%
rename from scripts/build-example-apps.sh
rename to scripts/ci/build-example-apps.sh
index 4a1bd8d..f475612 100644
--- a/scripts/build-example-apps.sh
+++ b/scripts/ci/build-example-apps.sh
@@ -15,7 +15,7 @@ echo ""
echo ""
echo ""
-cd ../examples
+cd $PROJECT_ROOT_DIR/examples
mvn --batch-mode \
-Dexample-apps \
@@ -25,7 +25,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
-cd ..
+cd $PROJECT_ROOT_DIR
#export APP_NAME=helloworld
@@ -90,3 +90,4 @@ cd ..
#fi
#
#cd ../../..
+
diff --git a/scripts/build-mixins.sh b/scripts/ci/build-mixins.sh
similarity index 70%
rename from scripts/build-mixins.sh
rename to scripts/ci/build-mixins.sh
index e710e72..f8c3412 100644
--- a/scripts/build-mixins.sh
+++ b/scripts/ci/build-mixins.sh
@@ -14,7 +14,7 @@ echo ""
echo ""
-cd ../mixins
+cd $PROJECT_ROOT_DIR/mixins
# can't use flatten pom, so have to edit directly instead...
mvn versions:set -DnewVersion=$REVISION
@@ -22,9 +22,9 @@ if [ $? -ne 0 ]; then
exit 1
fi
-mvn -s ../.m2/settings.xml \
+mvn -s $PROJECT_ROOT_DIR/.m2/settings.xml \
--batch-mode \
- clean deploy \
+ $MVN_STAGES \
-Dgcpappenginerepo-deploy \
-Dgcpappenginerepo-deploy.repositoryUrl=$GCPAPPENGINEREPO_URL \
-Drevision=$REVISION \
@@ -37,11 +37,15 @@ if [ $? -ne 0 ]; then
exit 1
fi
-cd ..
+cd $PROJECT_ROOT_DIR
+
+if [ -z "$CI_DRY_RUN" ]; then
+
+ # revert the edits from earlier ...
+ git checkout $(git status --porcelain | awk '{ print $2 }')
+ if [ $? -ne 0 ]; then
+ exit 1
+ fi
-# revert the edits from earlier
-git checkout $(git status --porcelain | awk '{ print $2 }')
-if [ $? -ne 0 ]; then
- exit 1
fi
diff --git a/.gitlab-ci.yml b/scripts/ci/core-gitlab-ci.yml
similarity index 72%
copy from .gitlab-ci.yml
copy to scripts/ci/core-gitlab-ci.yml
index 0a4ac0f..f2710c2 100644
--- a/.gitlab-ci.yml
+++ b/scripts/ci/core-gitlab-ci.yml
@@ -24,30 +24,16 @@
# Use $DOCKER_REGISTRY_USERNAME/$DOCKER_REGISTRY_PASSWORD credentials to upload
#
-image: maven:3.5.3-jdk-8
-
-before_script:
- - export BASELINE=2.0.0-M2
- - export REVISION=$BASELINE.$(date +%Y%m%d)-$(date +%H%M)-$(echo $CI_COMMIT_SHA | cut -c1-8)
-
-services:
- - docker:dind
-
-variables:
- GIT_SUBMODULE_STRATEGY: recursive
- DOCKER_HOST: tcp://docker:2375
- DOCKER_DRIVER: overlay2
- ORG_NAME: "apacheisis"
-
-stages:
- - build-package-push
-
-build-package-push:
+build all:
stage: build-package-push
+ variables:
+ MVN_STAGES: deploy
script:
- - sh scripts/build-mixins.sh
- - sh scripts/build-core.sh
- - sh scripts/build-example-apps.sh
+ - sh $CI_SCRIPTS_DIR/build-mixins.sh
+ - sh $CI_SCRIPTS_DIR/build-core.sh
+ - sh $CI_SCRIPTS_DIR/build-demo-app.sh
+ - sh $CI_SCRIPTS_DIR/build-example-apps.sh
+
#
# Previously this script also uploaded to a Sonatype Nexus.
diff --git a/scripts/ci/dry-run.sh b/scripts/ci/dry-run.sh
new file mode 100644
index 0000000..cc2d61a
--- /dev/null
+++ b/scripts/ci/dry-run.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+#set -x
+#trap read debug
+set -e
+
+export BASELINE=2.0.0-M2
+export DOCKER_HOST=tcp://docker:2375
+export DOCKER_DRIVER=overlay2
+export ORG_NAME="apacheisis"
+export GCPAPPENGINEREPO_URL=https://repo.incode.work
+
+export REVISION=$BASELINE.$(date +%Y%m%d)
+
+export PROJECT_ROOT_DIR=$PWD
+export CI_SCRIPTS_DIR=$PROJECT_ROOT_DIR/scripts/ci
+export CI_DRY_RUN=true
+export MVN_STAGES="install"
+
+echo "================= DRY RUN =================="
+echo "\$REVISION = ${REVISION}"
+echo "\$CI_BUILDS_DIR = ${CI_BUILDS_DIR}"
+echo "=============================================="
+
+cd $PROJECT_ROOT_DIR
+
+#sh $CI_SCRIPTS_DIR/build-mixins.sh
+#sh $CI_SCRIPTS_DIR/build-core.sh
+#sh $CI_SCRIPTS_DIR/build-example-apps.sh
+sh $CI_SCRIPTS_DIR/build-demo-app.sh
diff --git a/scripts/clean-up-tags-local.sh b/scripts/clean-up-tags-local.sh
index ba816b1..a79d3ae 100644
--- a/scripts/clean-up-tags-local.sh
+++ b/scripts/clean-up-tags-local.sh
@@ -1,3 +1,5 @@
+# clean-up-tags-local
+
for a in `git tag --list | grep origin`
do
git tag -d $a
diff --git a/scripts/clean-up-tags-remote.sh b/scripts/clean-up-tags-remote.sh
index 56de326..e541411 100644
--- a/scripts/clean-up-tags-remote.sh
+++ b/scripts/clean-up-tags-remote.sh
@@ -1,3 +1,5 @@
+# clean-up-tags-remote
+
REMOTE=$1
TEXT=$2
diff --git a/scripts/jira-release-notes.sh b/scripts/jira-release-notes.sh
index 275de95..5f048eb 100644
--- a/scripts/jira-release-notes.sh
+++ b/scripts/jira-release-notes.sh
@@ -198,4 +198,3 @@ for type in "${types[@]}"; do
jira_by_type "$type"
done
-
diff --git a/scripts/ls-tags-remote.sh b/scripts/ls-tags-remote.sh
index c0405bd..b6e4ec0 100644
--- a/scripts/ls-tags-remote.sh
+++ b/scripts/ls-tags-remote.sh
@@ -1,3 +1,5 @@
+# ls-tags-remote
+
REMOTE=$1
if [ "$REMOTE" == "" ]
diff --git a/scripts/promoterctag.sh b/scripts/promoterctag.sh
index ef09705..e8ff296 100755
--- a/scripts/promoterctag.sh
+++ b/scripts/promoterctag.sh
@@ -4,7 +4,7 @@
#
# usage:
# promoterctag isis-1.2.0 RC1
-#
+
git tag -f $1 $1-$2
git tag -d $1-$2
git push origin :refs/tags/$1-$2
diff --git a/scripts/recreate-archetype.sh b/scripts/recreate-archetype.sh
index acca8cb..8c0caef 100755
--- a/scripts/recreate-archetype.sh
+++ b/scripts/recreate-archetype.sh
@@ -87,3 +87,4 @@ git commit -m "$JIRA: recreating $ISISCPN archetype"
echo "building the newly created archetype ..."
cd ../../archetype/$ISISCPN
mvn -Drevision=$ISISREL clean install
+
diff --git a/scripts/verify-isis-release.sh b/scripts/verify-isis-release.sh
index 37a55b5..4f4c7f7 100755
--- a/scripts/verify-isis-release.sh
+++ b/scripts/verify-isis-release.sh
@@ -15,7 +15,6 @@
# mvn 3.5.0+
#
-
_execmustpass(){
echo $@
$@
diff --git a/scripts/version-bump.sh b/scripts/version-bump.sh
index 9817f51..2ce38ff 100644
--- a/scripts/version-bump.sh
+++ b/scripts/version-bump.sh
@@ -17,3 +17,4 @@ sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" core/pom.xml
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" example/application/simpleapp/pom.xml
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" example/application/helloworld/pom.xml
git commit -am "${JIRA}: bumps revision property across all pom.xml's to ${REL}"
+
diff --git a/scripts/version-reset.sh b/scripts/version-reset.sh
index 2fa12e8..a5bdec0 100644
--- a/scripts/version-reset.sh
+++ b/scripts/version-reset.sh
@@ -17,3 +17,4 @@ sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" core/pom.xml
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" example/application/simpleapp/pom.xml
sed -i -E "s|<revision>[^<]+<|<revision>${REL}<|g" example/application/helloworld/pom.xml
git commit -am "${JIRA}: bumps revision property across all pom.xml's back to ${REL}"
+