This file contains hidden or 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
# support/feature_macros.rb | |
module FeaturesMacros | |
def signin_admin | |
DatabaseCleaner.clean | |
@user ||= FactoryGirl.create(:user) | |
visit '/sign_in' | |
within("#new_user") do | |
fill_in 'user[email]', :with => user.email |
This file contains hidden or 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
#!/bin/bash | |
# <UDF name="REPO_URL" label="Github repo URL" default="" example="https://github.com/YOUR_USERNAME/REPO_NAME" /> | |
# <UDF name="TOKEN" label="Github repo token" default="" example="Shown to you when you start adding your runner (under repo / settings / actions / runners)" /> | |
yum -y install zip unzip wget curl | |
cd /root/ | |
mkdir actions-runner && cd actions-runner |