forked from Madek/madek-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bundle: Upgrade selenium-webdriver, upgrade CI config
- Loading branch information
Showing
21 changed files
with
383 additions
and
266 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
set -u | ||
BUNLDE_VERSION_DIGEST=`git hash-object 'Gemfile.lock'` | ||
BUNDLE_CACHE_STAMP_FILE="/tmp/MADEK_BUNDLED_${BUNLDE_VERSION_DIGEST}_${RBENV_VERSION}" | ||
if [ -e "$BUNDLE_CACHE_STAMP_FILE" ]; then | ||
echo "BUNDLE_CACHE_STAMP_FILE ${BUNDLE_CACHE_STAMP_FILE} exists, doing nothing" | ||
else | ||
echo "bundling..." | ||
bundle | ||
echo "bundled $(date)" >> "$BUNDLE_CACHE_STAMP_FILE" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
jobs: | ||
|
||
_cider-ci_include: | ||
- cider-ci/jobs/all_tests.yml | ||
- cider-ci/jobs/feature-tests.yml | ||
- cider-ci/jobs/unit-tests.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -exu | ||
|
||
# check if your tree still contains the current commit from master | ||
git rev-list --children HEAD | grep -q "$(git rev-parse origin/HEAD)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -exu | ||
|
||
# starting point of linear history: <https://github.com/Madek/madek-webapp/commit/cc569ffc2e7b2504e548649f4b0739dfeaad8f89> | ||
START_POINT="cc569ffc2e7b2504e548649f4b0739dfeaad8f89" | ||
|
||
# expect no merges between start and now | ||
test -z $(git rev-list --merges $START_POINT..HEAD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
set -exu | ||
|
||
# like `check-if-branch-current`, but for all the submodules, recursive. | ||
|
||
# make sure all submodules are checked out | ||
# WARNING: test is false-positive without this: | ||
git submodule update --init --recursive | ||
|
||
# <git ✨> | ||
# the lowercase variables come from git | ||
# lines explained in order: | ||
# - go to superproject (for this level of recursion) | ||
# - get current commit from remote master | ||
# - get current commit of submodule in current commit from remote master | ||
# - go to the submodule | ||
# - check that the current submodule commit is still contained in tree | ||
git submodule foreach --recursive '\ | ||
cd "${toplevel}" \ | ||
&& SUPER_HASH="$(git rev-parse origin/HEAD)" \ | ||
&& SUB_HASH=$(git rev-parse ${SUPER_HASH}:${path}) \ | ||
&& cd "${path}" \ | ||
&& git rev-list --children HEAD | grep -q "^${SUB_HASH}"' | ||
# </git ✨> |
Oops, something went wrong.