.semaphore/semaphore.yml in betterlog-0.19.0 vs .semaphore/semaphore.yml in betterlog-0.20.0

- old
+ new

@@ -1,22 +1,22 @@ version: v1.0 name: Betterlog pipeline agent: machine: type: e1-standard-2 - os_image: ubuntu1804 + os_image: ubuntu2004 blocks: - name: Caching task: prologue: commands: - checkout jobs: - name: cache bundle commands: - - sem-version ruby 2.7.2 + - sem-version ruby $(awk '/^ruby/ { print $2 }' .tool-versions) - cache restore gems-$SEMAPHORE_GIT_BRANCH,gems-master - bundle config set path 'vendor/bundle' - bundle config jobs $(getconf _NPROCESSORS_ONLN) - bundle install - cache store gems-$SEMAPHORE_GIT_BRANCH vendor/bundle @@ -29,11 +29,11 @@ prologue: commands: - checkout # Setup ruby - - sem-version ruby 2.7.2 + - sem-version ruby $(awk '/^ruby/ { print $2 }' .tool-versions) # Setup gems - cache restore gems-$SEMAPHORE_GIT_BRANCH,gems-master - bundle config set path 'vendor/bundle' - bundle config jobs $(getconf _NPROCESSORS_ONLN) @@ -58,6 +58,6 @@ jobs: - name: Building and pushing commands: - make build - - test "$SEMAPHORE_GIT_BRANCH" = "master" && make push-latest + - test "$SEMAPHORE_GIT_BRANCH" = "master" && make push-latest || true