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
locals { | |
// AWS Configuration | |
aws_region = "us-east-1" | |
availability_zone = "us-east-1a" | |
subnet_id = "subnet-" | |
// Team Information | |
team_name = "" | |
team_email = "" | |
pipeline_repo = "" |
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
22:50:25 22:50:25 41) Admin Tools - Auction Location Management auction location management workflow allows to update country | |
22:50:25 22:50:25 Failure/Error: expect(page).to have_select(:auction_location_country, selected: 'Canada') | |
22:50:25 22:50:25 | |
22:50:25 22:50:25 ArgumentError: | |
22:50:25 22:50:25 wrong number of arguments (given 2, expected 0..1) | |
22:50:25 22:50:25 # /home/jenkins/.tappy-test-bundle-cache/ruby/3.3.0/gems/capybara-3.40.0/lib/capybara/node/matchers.rb:520:in `has_select?' | |
22:50:25 22:50:25 # /home/jenkins/.tappy-test-bundle-cache/ruby/3.3.0/gems/capybara-3.40.0/lib/capybara/session.rb:774:in `has_select?' | |
22:50:25 22:50:25 # ./spec/requests/admin_auction_location_spec.rb:90:in `block (4 levels) in <main>' |
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
FROM ruby:3.2 | |
RUN gem install "bundler:~>2" --no-document && \ | |
gem update --system && \ | |
gem cleanup | |
# NodeJS (https://github.com/nodejs/docker-node/blob/main/14/bullseye/Dockerfile) | |
ARG NODE_VERSION=18.14.0 | |
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ |
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
# Puma can serve each request in a thread from an internal thread pool. | |
# The `threads` method setting takes two numbers: a minimum and maximum. | |
# Any libraries that use thread pools should be configured to match | |
# the maximum value specified for Puma. Default is set to 5 threads for minimum | |
# and maximum; this matches the default thread size of Active Record. | |
# | |
max_threads_count = ENV.fetch("RAILS_MAX_THREADS", 5) | |
min_threads_count = ENV.fetch("RAILS_MIN_THREADS", max_threads_count) | |
threads min_threads_count, max_threads_count |
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
client_max_body_size 500M; | |
server_names_hash_bucket_size 128; | |
upstream backend { | |
server unix:///var/run/puma/my_app.sock ; | |
} | |
server { | |
listen 80; |
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
1) Admin manages users Admin views existing users | |
Got 1 failure and 1 other error: | |
1.1) Got 2 failures from failure aggregation block "javascript errrors". | |
# ./spec/rails_helper.rb:101:in `block (2 levels) in <top (required)>' | |
1.1.1) Failure/Error: expect(error.level).not_to eq('SEVERE'), error.message | |
http://127.0.0.1:50697/img/logo-xx.png - Failed to load resource: the server responded with a status of 500 (Internal Server Error) | |
# ./spec/rails_helper.rb:103:in `block (4 levels) in <top (required)>' | |
# ./spec/rails_helper.rb:102:in `each' |
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
jest config | |
module.exports = { | |
moduleFileExtensions: ['ts', 'js'], | |
resetMocks: true, | |
restoreMocks: true, | |
testEnvironment: 'node', | |
testRegex: '\\.test\\.(ts|tsx)$', | |
transform: { | |
'^.+\\.ts?$': 'babel-jest' |
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
public class BofaRunnerNV { | |
public static void main(String[] args) { | |
bankAccountNV b1 = new bankAccountNV("Alexander Hamilton", 4287); | |
bankAccountNV b2 = new bankAccountNV("Elizabeth Skylar", 7849); | |
bankAccountNV b3 = new bankAccountNV("Aaron Burr", 6427); | |
bankAccountNV b4 = new bankAccountNV("Angelica Skylar", 2178); | |
bankAccountNV b5 = new bankAccountNV("Thomas Jefferson", 9872); | |
System.out.println(b1); | |
bankAccountNV [] arr = {b1, b2, b3, b4, b5}; | |
BofaNV bf = new BofaNV(arr); |
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
public class BofaRunnerNV { | |
public static void main(String[] args) { | |
bankAccountNV b1 = new bankAccountNV("Alexander Hamilton", 4287); | |
bankAccountNV b2 = new bankAccountNV("Elizabeth Skylar", 7849); | |
bankAccountNV b3 = new bankAccountNV("Aaron Burr", 6427); | |
bankAccountNV b4 = new bankAccountNV("Angelica Skylar", 2178); | |
bankAccountNV b5 = new bankAccountNV("Thomas Jefferson", 9872); | |
System.out.println(b1); | |
bankAccountNV [] arr = {b1, b2, b3, b4, b5}; | |
BofaNV bf = new BofaNV(arr); |
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
" Ex: acp "My commit message" | |
function acp (){ | |
git add -A && git commit -m "$1" && git push | |
} | |
"Ex: gco -b my_new_branch | |
" gco master | |
alias gco="git checkout" |
NewerOlder