aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-07-21 22:47:10 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-07-21 22:47:10 +0200
commit6640f200d8e735665dcab8b8ed6c71c7256f02d1 (patch)
treed7bcbfe5bf395df4597f1fe537af47831618b728
parentee1ae1fbcbf5571544900023d627c59dd949bd81 (diff)
downloadoperum-6640f200d8e735665dcab8b8ed6c71c7256f02d1.tar.gz
operum-6640f200d8e735665dcab8b8ed6c71c7256f02d1.zip
Remove .github directory
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--.github/ISSUE_TEMPLATE/custom.md27
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md10
-rw-r--r--.github/workflows/ci.yml89
3 files changed, 0 insertions, 126 deletions
diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md
deleted file mode 100644
index fd66e04..0000000
--- a/.github/ISSUE_TEMPLATE/custom.md
+++ /dev/null
@@ -1,27 +0,0 @@
----
-name: Custom issue template
-about: General issues, both bugs and features.
-title: ''
-labels: ''
-assignees: mssola
----
-
-### Description
-
-Check out the [contribution guidelines](../CONTRIBUTING.md) file for some considerations before submitting a new issue.
-
-### Steps to reproduce
-
-1. First I did this...
-2. Then that...
-3. And this happened!
-
-- **Expected behavior**: I expected this to happen!
-- **Actual behavior**: But this happened...
-
-Providing logs would also be useful.
-
-### Deployment information
-
-- **Deployment method**: how have you deployed this application? If possible, could you paste your configuration? (don't forget to strip passwords or other sensitive data!)
-- Commit SHA.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index 7e5026e..0000000
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,10 +0,0 @@
-Provide a general description of the changes in your pull request. If this pull request fixes a known issue, please tag it as well (e.g.: `Fixes #1`).
-
-Before submitting a PR make sure the following things have been done (and denote this by checking the relevant checkboxes):
-
-- [ ] The commits are consistent with the [contribution guidelines](../CONTRIBUTING.md).
-- [ ] `bundle exec rails test`, `bundle exec rails test:system` and `bundle exec rubocop` are passing.
-- [ ] You've updated the [changelog](../CHANGELOG.md) (if adding/changing user-visible functionality).
-- [ ] You've updated the [readme](../README.md) (if adding/changing user-visible functionality).
-
-Thanks for contributing to this project!
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
deleted file mode 100644
index 2a00e81..0000000
--- a/.github/workflows/ci.yml
+++ /dev/null
@@ -1,89 +0,0 @@
-name: CI
-
-on:
- push:
- branches: [main]
- pull_request:
- branches: [main]
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- bundler-cache: true
-
- - name: Run linting
- run: |
- bundle exec rubocop --parallel
-
- - name: Run security checks
- run: |
- bundle exec bundler-audit --update
- bundle exec brakeman -q -w2
-
- test:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
-
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- bundler-cache: true
-
- - name: Setup database
- env:
- RAILS_ENV: "test"
- run: |
- bin/rails db:setup
-
- - name: Check autoloading (zeitwerk)
- env:
- RAILS_ENV: "test"
- run: |
- bin/rails zeitwerk:check
-
- - name: Run tests
- env:
- RAILS_ENV: "test"
- run: |
- bin/rails test
- bin/rails test:system
-
- deploy:
- runs-on: ubuntu-latest
- needs: [lint, test]
- if: github.event_name == 'push'
- steps:
- - uses: actions/checkout@v4
-
- - name: Build production Docker image
- run: |
- docker build --tag ${{ secrets.REGISTRY_HOST }}/${{ secrets.REGISTRY_USERNAME }}/operum:main .
-
- - name: Push Docker image
- run: |
- # The login is done with the default docker password storage, which is
- # not the safest around, but it will be removed by a subsequent logout
- # later on.
- docker login -u "${{ secrets.REGISTRY_USERNAME }}" -p "${{ secrets.REGISTRY_PASSWORD }}" ${{ secrets.REGISTRY_HOST }}
- docker push ${{ secrets.REGISTRY_HOST }}/${{ secrets.REGISTRY_USERNAME }}/operum:main
- docker logout ${{ secrets.REGISTRY_HOST }}
-
- # The server provides a small script named `infra-restart` which will do
- # the right thing to pull the new image of the desired service and re-run
- # it.
- - name: executing remote ssh commands using password
- uses: appleboy/ssh-action@v1.0.3
- with:
- host: ${{ secrets.REMOTE_HOST }}
- username: ${{ secrets.REMOTE_USERNAME }}
- password: ${{ secrets.REMOTE_PASSPHRASE }}
- key: ${{ secrets.PRIVATE_KEY }}
- passphrase: ${{ secrets.REMOTE_PASSPHRASE }}
- script: infra-restart operum