Skip to content

Instantly share code, notes, and snippets.

View Flamefork's full-sized avatar

Ilia Ablamonov Flamefork

View GitHub Profile
@acmcelwee
acmcelwee / circle-lock.sh
Last active April 9, 2020 16:01
Workflows-friendly adaptation of CircleCI's build locking https://github.com/bellkev/circle-lock-test
#!/usr/bin/env bash
set -o xtrace -o errexit -o pipefail -o nounset
########################################################################################
# CircleCI's current recommendation for roughly serializing a subset
# of build commands for a given branch
#
# circle discussion thread - https://discuss.circleci.com/t/serializing-deployments/153
# Code from - https://github.com/bellkev/circle-lock-test