-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #287 from wearefuturegov/feature/rails-6-container…
…isation #1 Feature/rails 6 containerisation
- Loading branch information
Showing
34 changed files
with
155,994 additions
and
360 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
Procfile | ||
makefile | ||
|
||
# git | ||
.git | ||
.gitattributes | ||
.gitignore | ||
.github | ||
|
||
# docker | ||
docker-compose.yml | ||
docker-compose.* | ||
Dockerfile | ||
.dockerignore | ||
# environment/ | ||
|
||
# environment and secretsss | ||
.env | ||
# Comment out this rule if you are OK with secrets being uploaded to the repo | ||
config/initializers/secret_token.rb | ||
config/master.key | ||
|
||
# Only include if you have production secrets in this file, which is no longer a Rails default | ||
config/secrets.yml | ||
/lib/seeds/* | ||
|
||
# Ignore uploaded files in development | ||
/storage/* | ||
!/storage/.keep | ||
|
||
# Common | ||
README.md | ||
CHANGELOG.md | ||
|
||
# logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
/log/* | ||
!/log/.keep | ||
|
||
# tmp | ||
/tmp/* | ||
!/tmp/.keep | ||
*.swp | ||
*~ | ||
.DS_Store | ||
|
||
# Dependencies and dependency managers | ||
node_modules/ | ||
# Ignore yarn files | ||
/yarn-error.log | ||
yarn-debug.log* | ||
.yarn-integrity | ||
/bundle/ | ||
/.bundle | ||
/vendor/bundle | ||
# these should all be checked in to normalize the environment: | ||
# Gemfile.lock, .ruby-version, .ruby-gemset | ||
|
||
# ides | ||
.idea | ||
.vscode | ||
|
||
# ruby | ||
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: | ||
.rvmrc | ||
*.gem | ||
/.config | ||
/InstalledFiles | ||
/pkg/ | ||
/spec/reports/ | ||
/spec/examples.txt | ||
/test/tmp/ | ||
/test/version_tmp/ | ||
/tmp/ | ||
|
||
# Ignore Byebug command history file. | ||
.byebug_history | ||
|
||
# rails | ||
*.rbc | ||
capybara-*.html | ||
.rspec | ||
/db/*.sqlite3 | ||
/db/*.sqlite3-journal | ||
/public/system | ||
/coverage/ | ||
/spec/tmp | ||
rerun.txt | ||
pickle-email-*.html | ||
|
||
# Ignore precompiled javascript packs | ||
/public/packs | ||
/public/packs-test | ||
/public/assets |
This file was deleted.
Oops, something went wrong.
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,28 @@ | ||
name: Deploy Images to GHCR | ||
|
||
# temporarily run on push for this branch | ||
on: [push] | ||
on: | ||
push: | ||
branches: | ||
- feature/develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
push-store-image: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout GitHub Action" | ||
uses: actions/checkout@main | ||
|
||
- name: "Login to GitHub Container Registry" | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{github.actor}} | ||
password: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: "Build Inventory Image" | ||
run: | | ||
docker build . --tag ghcr.io/wearefuturegov/outpost:latest | ||
docker push ghcr.io/wearefuturegov/outpost:latest |
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 |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
|
||
name: Run tests | ||
|
||
env: | ||
RAILS_ENV: test | ||
NODE_ENV: development | ||
|
||
on: [push] | ||
|
||
jobs: | ||
|
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 |
---|---|---|
|
@@ -36,5 +36,7 @@ yarn-debug.log* | |
/coverage | ||
|
||
.DS_Store | ||
yarn.lock | ||
.vscode | ||
.vscode | ||
.env* | ||
|
||
/config/credentials/production.key |
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 +1 @@ | ||
lts/* | ||
16.13.1 |
Oops, something went wrong.