Skip to content

Commit 7b44e86

Browse files
committed
Add Concourse Caching
1 parent 841ecb2 commit 7b44e86

13 files changed

+31
-7
lines changed

ci/auto-merge.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -e
17+
set -e -u
1818

1919
pushd upstream
2020
COMMIT=$(git rev-parse HEAD)

ci/package-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -e
17+
set -e -u
1818

19+
export GEM_HOME=$PWD/gems
1920
export LANG=en_US.UTF-8
2021
export LANGUAGE=en_US.UTF-8
2122
export LC_ALL=en_US.UTF-8

ci/package-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ image_resource:
2323
inputs:
2424
- name: java-buildpack
2525

26+
caches:
27+
- path: gems
28+
2629
run:
2730
path: java-buildpack/ci/package-test.sh

ci/unit-test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -e
17+
set -e -u
1818

19+
export GEM_HOME=$PWD/gems
1920
export LANG=en_US.UTF-8
2021
export LANGUAGE=en_US.UTF-8
2122
export LC_ALL=en_US.UTF-8

ci/unit-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ image_resource:
2323
inputs:
2424
- name: java-buildpack
2525

26+
caches:
27+
- path: gems
28+
2629
run:
2730
path: java-buildpack/ci/unit-test.sh
2831

ci/versions-markdown.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -e
17+
set -e -u
1818

19+
export GEM_HOME=$PWD/gems
1920
export LANG=en_US.UTF-8
2021
export LANGUAGE=en_US.UTF-8
2122
export LC_ALL=en_US.UTF-8

ci/versions-markdown.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ image_resource:
2323
inputs:
2424
- name: java-buildpack
2525

26+
caches:
27+
- path: gems
28+
2629
run:
2730
path: java-buildpack/ci/versions-markdown.sh

ci/versions-pivotal-network.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -e
17+
set -e -u
1818

19+
export GEM_HOME=$PWD/gems
1920
export LANG=en_US.UTF-8
2021
export LANGUAGE=en_US.UTF-8
2122
export LC_ALL=en_US.UTF-8

ci/versions-pivotal-network.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@ image_resource:
2323
inputs:
2424
- name: java-buildpack
2525

26+
caches:
27+
- path: gems
28+
2629
run:
2730
path: java-buildpack/ci/versions-pivotal-network.sh

ci/versions-yaml.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -e
17+
set -e -u
1818

19+
export GEM_HOME=$PWD/gems
1920
export LANG=en_US.UTF-8
2021
export LANGUAGE=en_US.UTF-8
2122
export LC_ALL=en_US.UTF-8

0 commit comments

Comments
 (0)