-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
960cdda
commit a1f3947
Showing
1 changed file
with
0 additions
and
25 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -57,31 +57,6 @@ blocks: | |
secrets: | ||
- name: environmental_variables | ||
|
||
- name: "Registration engine security" | ||
task: | ||
prologue: | ||
commands: | ||
- sem-version ruby 3.2.1 | ||
- checkout | ||
- cat /home/semaphore/semaphore_ssh_config >> /home/semaphore/.ssh/config | ||
- chmod 0600 /home/semaphore/.ssh/semaphore-github-obra | ||
- git clone [email protected]:scottwillson/obra-local.git local | ||
- chmod 0600 /home/semaphore/.ssh/semaphore-github-registration-engine | ||
- rm -rf registration_engine | ||
- git clone [email protected]:scottwillson/registration_engine.git | ||
- sudo apt-get install -y libmysqlclient-dev | ||
- cache restore gems-$SEMAPHORE_GIT_BRANCH-$(checksum Gemfile.lock),gems-$SEMAPHORE_GIT_BRANCH-,gems-main- | ||
- bundle config set frozen false | ||
- bundle config set deployment 'true' | ||
- bundle config set path 'vendor/bundle' | ||
- bundle config set without 'production,staging' | ||
- bundle install -j 4 | ||
jobs: | ||
- name: Brakeman | ||
commands: | ||
- bundle exec brakeman | ||
- bundle exec bundle-audit | ||
|
||
- name: "OBRA unit tests" | ||
task: | ||
prologue: | ||
|