-
Notifications
You must be signed in to change notification settings - Fork 13
Test2 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Test2 #5
Changes from all commits
7121cb6
f3b1f45
a8b7048
b2abdf0
9321e9c
55b491c
a388480
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: Build | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
|
|
||
| jobs: | ||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
| - uses: sonarsource/sonarqube-scan-action@master | ||
| env: | ||
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
| SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | ||
| # If you wish to fail your job when the Quality Gate is red, uncomment the | ||
| # following lines. This would typically be used to fail a deployment. | ||
| # - uses: sonarsource/sonarqube-quality-gate-action@master | ||
| # timeout-minutes: 5 | ||
| # env: | ||
| # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| --- | ||
| - hosts: rails | ||
| remote_user: ubuntu | ||
| become: yes | ||
| tasks: | ||
| - name: Update all packages to the latest version | ||
| apt: | ||
| upgrade: dist | ||
| - name: Add deploy user | ||
| user: | ||
| name: ubuntu | ||
| shell: /bin/bash | ||
| # - name: Add SSH key to server for deploy user | ||
| # authorized_key: | ||
| # user: deploy | ||
| # key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJwoq7YlVfGFAYlwPSAV4tFINsExdlhfDN/wNOL2r8r4OKDwNRjUHH0DunaMgm+zGezmjnPXypNk7uu8Vpji2CPoLuvmu6Dvc3u0fmhbPxOmUCP7bPD65MhbAl/yjiEyP31HK0LBPOix29ihXXbVGHy5rGNpqDmYH0g+7gHoS5lbegp04p+HV+N/L2oXvPJcrQTpNb6+GTof93pCaCMh31GKIflUnFnzkYETlJBZ1Jtqpf68lWIbSad3Bvho3tjSa2ISRKEmUz9EpMM+9JSBxSkuxlXkqAE94Vy16dpOvg4azFkTcrMjZ6Oiq++j4ZKizpC+VuemuNAa3OIX7jzgal heidar@cloud" | ||
| - name: Install Ruby dependencies | ||
| apt: | ||
| name: "{{ item }}" | ||
| with_items: | ||
| - gcc | ||
| - autoconf | ||
| - bison | ||
| - build-essential | ||
| - libssl-dev | ||
| - libyaml-dev | ||
| - libreadline6-dev | ||
| - zlib1g-dev | ||
| - libncurses5-dev | ||
| - libffi-dev | ||
| - libgdbm3 | ||
| - libgdbm-dev | ||
| - sqlite3 | ||
| - libsqlite3-dev | ||
| - nodejs |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,8 @@ def show | |
| # GET /items/new | ||
| def new | ||
| @item = Item.new | ||
| @item = Item.new | ||
| @item = Item.new | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Layout/IndentationConsistency: Inconsistent indentation detected. |
||
| end | ||
|
|
||
| # GET /items/1/edit | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| class ApplicationMailer < ActionMailer::Base | ||
| default from: "from@example.com" | ||
| default from: "from@example.com" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Layout/IndentationWidth: Use 2 (not 4) spaces for indentation. |
||
| layout "mailer" | ||
| end | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| sonar.projectKey=kolosek_basic-app_AYaOpVsIMgR-17T6TcOZ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Layout/IndentationConsistency: Inconsistent indentation detected.