summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-05-25 10:21:29 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-05-25 10:21:29 +0200
commitefed9b0a6c13847778689851b5c2a079187ba9a1 (patch)
treed1e8ef82e2787c1c51299f1b45f3bbba34fb767b
parente9ba4ab28cfb9efac3aee09aef7df58acc5825b0 (diff)
downloadrabbitmq-server-git-efed9b0a6c13847778689851b5c2a079187ba9a1.tar.gz
GitHub Actions: Regen workflows
-rw-r--r--.github/workflows/test-erlang-otp-21.3.yaml4954
-rw-r--r--.github/workflows/test-erlang-otp-22.3.yaml4954
2 files changed, 2526 insertions, 7382 deletions
diff --git a/.github/workflows/test-erlang-otp-21.3.yaml b/.github/workflows/test-erlang-otp-21.3.yaml
index d8aa5ad81b..8d1a47c8a5 100644
--- a/.github/workflows/test-erlang-otp-21.3.yaml
+++ b/.github/workflows/test-erlang-otp-21.3.yaml
@@ -28,25 +28,26 @@ jobs:
branch_or_tag_name=${GITHUB_REF#refs/*/}
echo "::set-output name=branch_or_tag_name::$branch_or_tag_name"
make check-rabbitmq-components.mk base_rmq_ref=master current_rmq_ref=$branch_or_tag_name
- # https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows
- - name: CACHE DEPS
- uses: actions/cache@v1
- with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
- name: RESOLVE & COMPILE DEPS
run: |
make deps test-deps base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
echo "Capture versions of the RabbitMQ components used in this workflow..."
make rabbit-rabbitmq-deps.mk
- mv rabbit-rabbitmq-deps.mk deps/
echo "Remove directories not used in the subsequent jobs..."
rm -fr deps/*/{.git,test}
- name: UPLOAD DEPS VERSIONS
- uses: actions/upload-artifact@v2-preview
+ uses: actions/upload-artifact@v2
with:
name: rabbit-rabbitmq-deps.mk
- path: deps/rabbit-rabbitmq-deps.mk
+ path: rabbit-rabbitmq-deps.mk
+ - name: CREATE DEPS ARCHIVE
+ run: |
+ tar cf - deps | xz > deps.tar.xz
+ - name: UPLOAD DEPS ARCHIVE
+ uses: actions/upload-artifact@v2
+ with:
+ name: deps.tar.xz
+ path: deps.tar.xz
- name: CHECK CROSS REFERENCES
run: |
make xref base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
@@ -58,16 +59,11 @@ jobs:
uses: actions/cache@v1
with:
path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
+ key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev4
- name: PREPARE SECONDARY UMBRELLA COPIES
if: success() && 'oldest' == 'oldest'
run: |
- # ----------------------------------------------------------
- # CAUTION:
- # The same script must be copied to `03-CT_SUITE.yaml`. It is used to
- # recreate the umbrellas if the cache restore fails.
- # ----------------------------------------------------------
- set -x
+ set -ex
for version in v3.7.x v3.8.x; do
umbrella="umbrellas/$version"
if ! test -d "$umbrella" ||
@@ -95,10 +91,23 @@ jobs:
make -C "$umbrella" clean-3rd-party-repos
make -C "$umbrella" up
make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
+ rm -rf "$umbrella"/deps/rabbitmq_website
+ rm -rf "$umbrella"/deps/rabbitmq_prometheus/docker
+ rm -rf "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
fi
done
rm -fr umbrellas/master
+ - name: CREATE SECONDARY UMBRELLAS ARCHIVE
+ if: success() && 'oldest' == 'oldest'
+ run: |
+ set -ex
+ tar cf - umbrellas | xz > secondary-umbrellas.tar.xz
+ - name: UPLOAD SECONDARY UMBRELLAS ARCHIVE
+ if: success() && 'oldest' == 'oldest'
+ uses: actions/upload-artifact@v2
+ with:
+ name: secondary-umbrellas.tar.xz
+ path: secondary-umbrellas.tar.xz
# vim:sw=2:et:
dialyzer:
name: dialyzer
@@ -116,18 +125,16 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
+ - name: DOWNLOAD DEPS ARCHIVE
if: success() && 'oldest' == 'latest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
- - name: CACHE DIALYZER PLT
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
if: success() && 'oldest' == 'latest'
- uses: actions/cache@v1
- with:
- path: .rabbit.plt
- key: plt-rabbit-erlang-21.3-g${{ github.sha }}
+ run: |
+ tar Jxf deps.tar.xz
+ rm deps.tar.xz
- name: RUN DIALYZER
if: success() && 'oldest' == 'latest'
run: |
@@ -152,11 +159,14 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
+ rm deps.tar.xz
- name: RUN TESTS
run: |
! test -d ebin || touch ebin/*
@@ -183,11 +193,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -198,51 +210,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -284,11 +266,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -299,51 +283,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -385,11 +339,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -400,51 +356,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -486,11 +412,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -501,51 +429,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -587,11 +485,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -602,51 +502,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -688,11 +558,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -703,51 +575,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -789,11 +631,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -804,51 +648,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -890,11 +704,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -905,51 +721,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -991,11 +777,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1006,51 +794,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1092,11 +850,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1107,51 +867,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1193,11 +923,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1208,51 +940,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1294,11 +996,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1309,51 +1013,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1395,11 +1069,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1410,51 +1086,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1496,11 +1142,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1511,51 +1159,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1597,11 +1215,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1612,51 +1232,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1698,11 +1288,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1713,51 +1305,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1799,11 +1361,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1814,51 +1378,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1900,11 +1434,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1915,51 +1451,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2001,11 +1507,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2016,51 +1524,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2102,11 +1580,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2117,51 +1597,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2203,11 +1653,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2218,51 +1670,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2304,11 +1726,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2319,51 +1743,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2405,11 +1799,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2420,51 +1816,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2506,11 +1872,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2521,51 +1889,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2607,11 +1945,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2622,51 +1962,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2708,11 +2018,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2723,51 +2035,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2809,11 +2091,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2824,51 +2108,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2910,11 +2164,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2925,51 +2181,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3011,11 +2237,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3026,51 +2254,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3112,11 +2310,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3127,51 +2327,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3213,11 +2383,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3228,51 +2400,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3314,11 +2456,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3329,51 +2473,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3415,11 +2529,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3430,51 +2546,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3516,11 +2602,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3531,51 +2619,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3617,11 +2675,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3632,51 +2692,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3718,11 +2748,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3733,51 +2765,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3819,11 +2821,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3834,51 +2838,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3920,11 +2894,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3935,51 +2911,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4021,11 +2967,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4036,51 +2984,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4122,11 +3040,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4137,51 +3057,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4223,11 +3113,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4238,51 +3130,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4324,11 +3186,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4339,51 +3203,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4425,11 +3259,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4440,51 +3276,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4526,11 +3332,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4541,51 +3349,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4627,11 +3405,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4642,51 +3422,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4728,11 +3478,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4743,51 +3495,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4829,11 +3551,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4844,51 +3568,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4930,11 +3624,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4945,51 +3641,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5031,11 +3697,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5046,51 +3714,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5132,11 +3770,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5147,51 +3787,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5233,11 +3843,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5248,51 +3860,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5334,11 +3916,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5349,51 +3933,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5435,11 +3989,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5450,51 +4006,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5536,11 +4062,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5551,51 +4079,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5637,11 +4135,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5652,51 +4152,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5738,11 +4208,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5753,51 +4225,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5839,11 +4281,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5854,51 +4298,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5940,11 +4354,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5955,51 +4371,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6041,11 +4427,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6056,51 +4444,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6142,11 +4500,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6157,51 +4517,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6243,11 +4573,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6258,51 +4590,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6344,11 +4646,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6359,51 +4663,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6445,11 +4719,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6460,51 +4736,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6546,11 +4792,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6561,51 +4809,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6647,11 +4865,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6662,51 +4882,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6748,11 +4938,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6763,51 +4955,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6849,11 +5011,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6864,51 +5028,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6950,11 +5084,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6965,51 +5101,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7051,11 +5157,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7066,51 +5174,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7152,11 +5230,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7167,51 +5247,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7253,11 +5303,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7268,51 +5320,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7354,11 +5376,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7369,51 +5393,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7455,11 +5449,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7470,51 +5466,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7556,11 +5522,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7571,51 +5539,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7657,11 +5595,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7672,51 +5612,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7758,11 +5668,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7773,51 +5685,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7859,11 +5741,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7874,51 +5758,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7960,11 +5814,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7975,51 +5831,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8061,11 +5887,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8076,51 +5904,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8162,11 +5960,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8177,51 +5977,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8263,11 +6033,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8278,51 +6050,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8364,11 +6106,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8379,51 +6123,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8465,11 +6179,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8480,51 +6196,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8566,11 +6252,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8581,51 +6269,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8667,11 +6325,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8682,51 +6342,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8768,11 +6398,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8783,51 +6415,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8869,11 +6471,13 @@ jobs:
otp-version: 21.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8884,51 +6488,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-21.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'oldest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'oldest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -9048,14 +6622,12 @@ jobs:
- ct-vhost
runs-on: ubuntu-18.04
steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - if: github.ref == 'refs/heads/master'
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-21.3_git-${{ github.sha }}_deps
+ name: rabbit-rabbitmq-deps.mk
- name: FORMAT GIT REF
+ if: github.ref == 'refs/heads/master'
# https://github.community/t5/GitHub-Actions/How-can-I-set-an-expression-as-an-environment-variable-at/m-p/41804/highlight/true#M4751
id: ref
run: |
@@ -9069,6 +6641,6 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
- FILE: deps/rabbit-rabbitmq-deps.mk
+ FILE: rabbit-rabbitmq-deps.mk
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
S3_KEY: rabbitmq-server/${{ steps.ref.outputs.branch_or_tag_name }}/${{ github.run_id }}/otp-21.3/rabbit-rabbitmq-deps.mk
diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml
index 7e3fffb291..3aca279ccf 100644
--- a/.github/workflows/test-erlang-otp-22.3.yaml
+++ b/.github/workflows/test-erlang-otp-22.3.yaml
@@ -28,25 +28,26 @@ jobs:
branch_or_tag_name=${GITHUB_REF#refs/*/}
echo "::set-output name=branch_or_tag_name::$branch_or_tag_name"
make check-rabbitmq-components.mk base_rmq_ref=master current_rmq_ref=$branch_or_tag_name
- # https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows
- - name: CACHE DEPS
- uses: actions/cache@v1
- with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
- name: RESOLVE & COMPILE DEPS
run: |
make deps test-deps base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
echo "Capture versions of the RabbitMQ components used in this workflow..."
make rabbit-rabbitmq-deps.mk
- mv rabbit-rabbitmq-deps.mk deps/
echo "Remove directories not used in the subsequent jobs..."
rm -fr deps/*/{.git,test}
- name: UPLOAD DEPS VERSIONS
- uses: actions/upload-artifact@v2-preview
+ uses: actions/upload-artifact@v2
with:
name: rabbit-rabbitmq-deps.mk
- path: deps/rabbit-rabbitmq-deps.mk
+ path: rabbit-rabbitmq-deps.mk
+ - name: CREATE DEPS ARCHIVE
+ run: |
+ tar cf - deps | xz > deps.tar.xz
+ - name: UPLOAD DEPS ARCHIVE
+ uses: actions/upload-artifact@v2
+ with:
+ name: deps.tar.xz
+ path: deps.tar.xz
- name: CHECK CROSS REFERENCES
run: |
make xref base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
@@ -58,16 +59,11 @@ jobs:
uses: actions/cache@v1
with:
path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
+ key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev4
- name: PREPARE SECONDARY UMBRELLA COPIES
if: success() && 'latest' == 'oldest'
run: |
- # ----------------------------------------------------------
- # CAUTION:
- # The same script must be copied to `03-CT_SUITE.yaml`. It is used to
- # recreate the umbrellas if the cache restore fails.
- # ----------------------------------------------------------
- set -x
+ set -ex
for version in v3.7.x v3.8.x; do
umbrella="umbrellas/$version"
if ! test -d "$umbrella" ||
@@ -95,10 +91,23 @@ jobs:
make -C "$umbrella" clean-3rd-party-repos
make -C "$umbrella" up
make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
+ rm -rf "$umbrella"/deps/rabbitmq_website
+ rm -rf "$umbrella"/deps/rabbitmq_prometheus/docker
+ rm -rf "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
fi
done
rm -fr umbrellas/master
+ - name: CREATE SECONDARY UMBRELLAS ARCHIVE
+ if: success() && 'latest' == 'oldest'
+ run: |
+ set -ex
+ tar cf - umbrellas | xz > secondary-umbrellas.tar.xz
+ - name: UPLOAD SECONDARY UMBRELLAS ARCHIVE
+ if: success() && 'latest' == 'oldest'
+ uses: actions/upload-artifact@v2
+ with:
+ name: secondary-umbrellas.tar.xz
+ path: secondary-umbrellas.tar.xz
# vim:sw=2:et:
dialyzer:
name: dialyzer
@@ -116,18 +125,16 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
+ - name: DOWNLOAD DEPS ARCHIVE
if: success() && 'latest' == 'latest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
- - name: CACHE DIALYZER PLT
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
if: success() && 'latest' == 'latest'
- uses: actions/cache@v1
- with:
- path: .rabbit.plt
- key: plt-rabbit-erlang-22.3-g${{ github.sha }}
+ run: |
+ tar Jxf deps.tar.xz
+ rm deps.tar.xz
- name: RUN DIALYZER
if: success() && 'latest' == 'latest'
run: |
@@ -152,11 +159,14 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
+ rm deps.tar.xz
- name: RUN TESTS
run: |
! test -d ebin || touch ebin/*
@@ -183,11 +193,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -198,51 +210,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -284,11 +266,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -299,51 +283,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -385,11 +339,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -400,51 +356,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -486,11 +412,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -501,51 +429,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -587,11 +485,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -602,51 +502,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -688,11 +558,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -703,51 +575,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -789,11 +631,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -804,51 +648,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -890,11 +704,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -905,51 +721,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -991,11 +777,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1006,51 +794,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1092,11 +850,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1107,51 +867,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1193,11 +923,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1208,51 +940,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1294,11 +996,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1309,51 +1013,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1395,11 +1069,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1410,51 +1086,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1496,11 +1142,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1511,51 +1159,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1597,11 +1215,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1612,51 +1232,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1698,11 +1288,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1713,51 +1305,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1799,11 +1361,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1814,51 +1378,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -1900,11 +1434,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -1915,51 +1451,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2001,11 +1507,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2016,51 +1524,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2102,11 +1580,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2117,51 +1597,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2203,11 +1653,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2218,51 +1670,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2304,11 +1726,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2319,51 +1743,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2405,11 +1799,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2420,51 +1816,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2506,11 +1872,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2521,51 +1889,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2607,11 +1945,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2622,51 +1962,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2708,11 +2018,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2723,51 +2035,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2809,11 +2091,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2824,51 +2108,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -2910,11 +2164,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -2925,51 +2181,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3011,11 +2237,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3026,51 +2254,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3112,11 +2310,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3127,51 +2327,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3213,11 +2383,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3228,51 +2400,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3314,11 +2456,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3329,51 +2473,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3415,11 +2529,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3430,51 +2546,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3516,11 +2602,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3531,51 +2619,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3617,11 +2675,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3632,51 +2692,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3718,11 +2748,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3733,51 +2765,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3819,11 +2821,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3834,51 +2838,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -3920,11 +2894,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -3935,51 +2911,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4021,11 +2967,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4036,51 +2984,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4122,11 +3040,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4137,51 +3057,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4223,11 +3113,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4238,51 +3130,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4324,11 +3186,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4339,51 +3203,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4425,11 +3259,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4440,51 +3276,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4526,11 +3332,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4541,51 +3349,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4627,11 +3405,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4642,51 +3422,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4728,11 +3478,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4743,51 +3495,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4829,11 +3551,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4844,51 +3568,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -4930,11 +3624,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -4945,51 +3641,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5031,11 +3697,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5046,51 +3714,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5132,11 +3770,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5147,51 +3787,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5233,11 +3843,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5248,51 +3860,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5334,11 +3916,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5349,51 +3933,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5435,11 +3989,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5450,51 +4006,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5536,11 +4062,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5551,51 +4079,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5637,11 +4135,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5652,51 +4152,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5738,11 +4208,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5753,51 +4225,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5839,11 +4281,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5854,51 +4298,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -5940,11 +4354,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -5955,51 +4371,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6041,11 +4427,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6056,51 +4444,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6142,11 +4500,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6157,51 +4517,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6243,11 +4573,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6258,51 +4590,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6344,11 +4646,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6359,51 +4663,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6445,11 +4719,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6460,51 +4736,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6546,11 +4792,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6561,51 +4809,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6647,11 +4865,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6662,51 +4882,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6748,11 +4938,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6763,51 +4955,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6849,11 +5011,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6864,51 +5028,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -6950,11 +5084,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -6965,51 +5101,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7051,11 +5157,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7066,51 +5174,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7152,11 +5230,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7167,51 +5247,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7253,11 +5303,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7268,51 +5320,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7354,11 +5376,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7369,51 +5393,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7455,11 +5449,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7470,51 +5466,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7556,11 +5522,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7571,51 +5539,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7657,11 +5595,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7672,51 +5612,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7758,11 +5668,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7773,51 +5685,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7859,11 +5741,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7874,51 +5758,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -7960,11 +5814,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -7975,51 +5831,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8061,11 +5887,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8076,51 +5904,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8162,11 +5960,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8177,51 +5977,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8263,11 +6033,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8278,51 +6050,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8364,11 +6106,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8379,51 +6123,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8465,11 +6179,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8480,51 +6196,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8566,11 +6252,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8581,51 +6269,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8667,11 +6325,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8682,51 +6342,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8768,11 +6398,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8783,51 +6415,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -8869,11 +6471,13 @@ jobs:
otp-version: 22.3
# https://github.com/elixir-lang/elixir/releases
elixir-version: 1.8.0
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - name: DOWNLOAD DEPS ARCHIVE
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: deps.tar.xz
+ - name: UNPACK DEPS ARCHIVE
+ run: |
+ tar Jxf deps.tar.xz
- name: RUN TESTS
run: |
branch_or_tag_name=${GITHUB_REF#refs/*/}
@@ -8884,51 +6488,21 @@ jobs:
FULL= \
FAIL_FAST=1 \
SKIP_AS_ERROR=1
- - name: CACHE SECONDARY UMBRELLAS
+ - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
+ uses: actions/download-artifact@v2
with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.x-v3.8.x-erlang-22.3-rev3
- - name: VERIFY SECONDARY UMBRELLA COPIES (in case of cache restore failure)
+ name: secondary-umbrellas.tar.xz
+ - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
if: success() && 'latest' == 'oldest'
run: |
- set -x
- for version in v3.7.x v3.8.x; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
-
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
-
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -fr "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
+ set -ex
+ tar Jxf secondary-umbrellas.tar.xz
+ rm secondary-umbrellas.tar.xz
- name: RUN TESTS [mixed-versions]
if: success() && 'latest' == 'oldest'
run: |
- set -x
+ set -ex
branch_or_tag_name=${GITHUB_REF#refs/*/}
for umbrella in umbrellas/*; do
test -d "$umbrella"
@@ -9048,14 +6622,12 @@ jobs:
- ct-vhost
runs-on: ubuntu-18.04
steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- - name: CACHE DEPS
- uses: actions/cache@v1
+ - if: github.ref == 'refs/heads/master'
+ uses: actions/download-artifact@v2
with:
- path: deps
- key: otp-22.3_git-${{ github.sha }}_deps
+ name: rabbit-rabbitmq-deps.mk
- name: FORMAT GIT REF
+ if: github.ref == 'refs/heads/master'
# https://github.community/t5/GitHub-Actions/How-can-I-set-an-expression-as-an-environment-variable-at/m-p/41804/highlight/true#M4751
id: ref
run: |
@@ -9069,6 +6641,6 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
- FILE: deps/rabbit-rabbitmq-deps.mk
+ FILE: rabbit-rabbitmq-deps.mk
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
S3_KEY: rabbitmq-server/${{ steps.ref.outputs.branch_or_tag_name }}/${{ github.run_id }}/otp-22.3/rabbit-rabbitmq-deps.mk