Sha256: d45e10d317d86d2b5a54b577e959abf9736578c48296f7f86996af3a8b056166
Contents?: true
Size: 1.59 KB
Versions: 4
Compression:
Stored size: 1.59 KB
Contents
version: v1.0 name: Betterlog pipeline agent: machine: type: e1-standard-2 os_image: ubuntu2004 blocks: - name: Caching task: prologue: commands: - checkout jobs: - name: cache bundle commands: - 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 - name: "Unit tests" task: env_vars: - name: RAILS_ENV value: test prologue: commands: - checkout # Setup ruby - 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) - bundle install jobs: - name: RSpec Unit Tests commands: - bundle exec rake - name: Building Docker Image task: secrets: - name: GCP prologue: commands: - gcloud auth activate-service-account --key-file=.secrets/gcp.json - gcloud auth configure-docker -q eu.gcr.io - checkout jobs: - name: Building and pushing commands: - make build - test "$SEMAPHORE_GIT_BRANCH" = "master" && make push-latest || true
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
betterlog-0.20.3 | .semaphore/semaphore.yml |
betterlog-0.20.2 | .semaphore/semaphore.yml |
betterlog-0.20.1 | .semaphore/semaphore.yml |
betterlog-0.20.0 | .semaphore/semaphore.yml |