-
Notifications
You must be signed in to change notification settings - Fork 189
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
Showing
7 changed files
with
45 additions
and
13 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# stop local dockerized development environment and clean build files | ||
|
||
set -x | ||
set +e | ||
|
||
docker compose down | ||
|
||
sudo rm ./Gemfile.lock | ||
sudo rm -rf ./tmp |
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
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
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
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 |
---|---|---|
|
@@ -6,4 +6,3 @@ Rake::TestTask.new do |t| | |
t.test_files = FileList['test/**/*_test.rb'] | ||
t.verbose = true | ||
end | ||
|
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 |
---|---|---|
@@ -1,10 +1,21 @@ | ||
#!/usr/bin/env bash | ||
# grants circlci docker uid and gid required write permissions to project file system | ||
|
||
set -x | ||
|
||
sudo groupadd -g 3434 circleci_tinytds | ||
sudo usermod -a -G circleci_tinytds $USER | ||
sudo useradd circleci_tinytds -u 3434 -g 3434 | ||
sudo usermod -a -G circleci_tinytds circleci_tinytds | ||
sudo chgrp -R circleci_tinytds . | ||
if $(dpkg --compare-versions $ruby_version lt 3.1) | ||
then | ||
sudo groupadd -g 3434 circleci_tinytds30 | ||
sudo useradd circleci_tinytds30 -u 3434 -g 3434 | ||
sudo usermod -a -G circleci_tinytds30 circleci_tinytds30 | ||
sudo usermod -a -G circleci_tinytds30 $USER | ||
sudo chgrp -R circleci_tinytds30 . | ||
else | ||
sudo groupadd -g 1002 circleci_tinytds31 | ||
sudo useradd circleci_tinytds31 -u 1001 -g 1002 | ||
sudo usermod -a -G circleci_tinytds31 circleci_tinytds31 | ||
sudo usermod -a -G circleci_tinytds31 $USER | ||
sudo chgrp -R circleci_tinytds31 . | ||
fi | ||
|
||
sudo chmod -R g+rwx . |