Hide setup print statements
This commit is contained in:
parent
13eff45084
commit
bcf14c87ab
1 changed files with 10 additions and 9 deletions
|
@ -10,6 +10,7 @@ before_script:
|
|||
- service apache2 start
|
||||
fuzzrunner:
|
||||
script:
|
||||
# NOTE: Several outputs are supressed for logfile size limitations
|
||||
# Update apt source file
|
||||
# Image is based on Debian9; no longer hosted at deb.debian.org, still available at archive.debian.org
|
||||
- sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list
|
||||
|
@ -17,26 +18,26 @@ fuzzrunner:
|
|||
- sed -i '/security/d' /etc/apt/sources.list
|
||||
- sed -i '/stretch-updates/d' /etc/apt/sources.list
|
||||
# Pull down latest updates
|
||||
- apt update
|
||||
- apt update &> /dev/null
|
||||
# Install git and Ruby environment manager
|
||||
- apt install -y git rbenv
|
||||
- apt install -y git rbenv &> /dev/null
|
||||
# Install ruby-build plugin, allowing build-from-source install of latest version
|
||||
- git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
|
||||
- git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build &> /dev/null
|
||||
# Install version 3.3.5
|
||||
- rbenv install 3.3.5
|
||||
- rbenv install 3.3.5 &> /dev/null
|
||||
# Set version 3.3.5 as default
|
||||
- rbenv global 3.3.5
|
||||
# Ensure that 3.3.5 is available
|
||||
- eval "$(rbenv init -)"
|
||||
- eval "$(rbenv init -)" &> /dev/null
|
||||
# Install necessary libraries for this project
|
||||
- bundle install
|
||||
- bundle install &> /dev/null
|
||||
# Update system's Ruby libraries using Ruby v3.3.5
|
||||
- gem update
|
||||
- gem update &> /dev/null
|
||||
# Clean up pre-installed out of date libraries
|
||||
- gem pristine --all
|
||||
- gem pristine --all &> /dev/null
|
||||
# Manually install slop gem to user (????)
|
||||
# No idea why this is necessary, or why this works when bundle install should do the same thing
|
||||
- gem install slop
|
||||
- gem install slop &> /dev/null
|
||||
# Run project
|
||||
- ruby lib/fuzzer.rb discover http://localhost/ --custom-auth=dvwa
|
||||
- ruby lib/fuzzer.rb discover http://127.0.0.1/fuzzer-tests
|
||||
|
|
Loading…
Add table
Reference in a new issue