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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowAllUsersToListAccounts", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:ListAccountAliases", | |
"iam:ListUsers", | |
"iam:GetAccountPasswordPolicy", |
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
version: '2' | |
services: | |
db: | |
image: postgres | |
volumes: | |
- postgres-volume:/var/lib/postgresql/data | |
web: | |
build: . | |
command: rails s -b 0.0.0.0 -p 3000 | |
volumes: |
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 | |
bundle exec rake db:migrate | |
if [[ $? != 0 ]]; then | |
echo | |
echo "== Failed to migrate. Running setup first." | |
echo | |
bundle exec rake db:setup | |
fi |
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
docker-compose run web rails console |
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
version: '2' | |
services: | |
db: | |
image: postgres | |
volumes: | |
- postgres-volume:/var/lib/postgresql/data | |
web: | |
build: . | |
command: rails s -b 0.0.0.0 -p 3000 | |
volumes: |
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
Started by user Krzysztof Sz | |
Replayed #2 | |
Connecting to https://api.github.com using szromek/****** (GitHub Access Token) | |
Obtained Jenkinsfile from 72c4220aecd9f288d019f6129daf6a3b38b3d864 | |
[Pipeline] node | |
Running on Jenkins in /var/lib/jenkins/workspace/l-ui-webpack-example_master-IXSLD4CQSVAM2DRFHYHOYUANEHJ73R5PUGW4BMYVT5WPGB6ZZKEQ | |
[Pipeline] { | |
[Pipeline] stage | |
[Pipeline] { (Declarative: Checkout SCM) | |
[Pipeline] checkout |
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
<!--- Copy & paste card title in the Title field above (SJ-XXX Card name) --> | |
<!--- Before you open a PR: ---> | |
<!--- !!! stick to maximum 8 Pull Requests open !!! ---> | |
<!--- !!! make a code review at least once a day (before standup?) !!! ---> | |
## Description | |
<!--- Describe your changes in detail --> | |
## Motivation and Context |
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
dependencies: | |
post: | |
- bin/automated_code_review | |
checkout: | |
post: | |
- git fetch origin --depth=1000000 |
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
group :test do | |
gem 'pronto' | |
gem 'pronto-brakeman', require: false | |
gem 'pronto-fasterer', require: false | |
gem 'pronto-rubocop', require: false | |
gem 'pronto-scss', require: false | |
gem 'brakeman', require: false | |
gem 'fasterer', require: false | |
gem 'rubocop', require: false | |
gem 'scss_lint', require: false |
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
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'json' | |
github_access_token = ENV['PRONTO_GITHUB_ACCESS_TOKEN'] || '' # Env set manualy on Circle CI to access token with proper rights | |
pull_request_url = ENV['CI_PULL_REQUEST'] || '' # Env set automaticaly by Circle CI | |
pull_request_id = pull_request_url.split('/').last # Example: 'https://github.com/rails/rails/pull/20554' | |
repo_owner = 'repo_owner' | |
repo_name = 'repo_name' |