-
Notifications
You must be signed in to change notification settings - Fork 25
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 #397 from nimblehq/release/5.4.0
Release 5.4.0
- Loading branch information
Showing
21 changed files
with
106 additions
and
49 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,6 +1,6 @@ | ||
# Team | ||
# @malparty is the Team Lead and the others are team members | ||
* @rosle @andyduong1920 @bterone @byhbt @carryall @hanam1ni @hoangmirs @junan @Lahphim @longnd @malparty @tyrro | ||
* @rosle @andyduong1920 @bterone @byhbt @carryall @hanam1ni @hoangmirs @longnd @malparty @tyrro @sanG-github | ||
|
||
# Engineering Leads | ||
CODEOWNERS @nimblehq/engineering-leads |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
https://github.com/nimblehq/rails-templates/issues/?? | ||
close # | ||
|
||
## What happened 👀 | ||
|
||
|
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 |
---|---|---|
|
@@ -44,3 +44,9 @@ RSpec/ContextWording: | |
Prefixes: | ||
- when | ||
- given | ||
|
||
RSpec/NestedGroups: | ||
Max: 5 | ||
|
||
RSpec/MultipleExpectations: | ||
Max: 10 |
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,4 +1,4 @@ | ||
# frozen_string_literal: true | ||
|
||
run 'yarn add bootstrap@5.1.3' | ||
run 'yarn add bootstrap@5.2.3' | ||
run 'yarn add @popperjs/[email protected]' |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ DOCKER_IMAGE=<%= DOCKER_IMAGE %> | |
BRANCH_TAG=latest | ||
PORT=80 | ||
CI=false | ||
TEST_RETRY=true | ||
TEST_RETRY=0 |
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 |
---|---|---|
|
@@ -18,6 +18,9 @@ env: | |
# Set the default docker-compose file | ||
COMPOSE_FILE: docker-compose.test.yml | ||
|
||
# Set the default CI value despite the Github Action default value | ||
CI: true | ||
|
||
jobs: | ||
build: | ||
name: Build Docker image | ||
|
@@ -31,10 +34,10 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- name: Set env BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@1 | ||
|
||
- name: Login to Docker registry | ||
uses: docker/login-action@v1.6.0 | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ env.DOCKER_REGISTRY_HOST }} | ||
username: ${{ env.DOCKER_REGISTRY_USERNAME }} | ||
|
@@ -50,18 +53,43 @@ jobs: | |
- name: Push Docker image | ||
run: docker-compose push test | ||
|
||
linting: | ||
name: Linting | ||
runs-on: ubuntu-latest | ||
needs: build | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set env BRANCH_TAG | ||
uses: nimblehq/[email protected] | ||
|
||
- name: Login to Docker registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ env.DOCKER_REGISTRY_HOST }} | ||
username: ${{ env.DOCKER_REGISTRY_USERNAME }} | ||
password: ${{ env.DOCKER_REGISTRY_TOKEN }} | ||
|
||
- name: Pull Docker image | ||
run: docker-compose pull test || true | ||
|
||
- name: Run codebase test | ||
run: docker-compose run test bundle exec rspec spec/codebase/codebase_spec.rb --format progress | ||
|
||
unit_tests: | ||
name: Unit tests | ||
runs-on: ubuntu-latest | ||
needs: build | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set env BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@1 | ||
|
||
- name: Login to Docker registry | ||
uses: docker/login-action@v1.6.0 | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ env.DOCKER_REGISTRY_HOST }} | ||
username: ${{ env.DOCKER_REGISTRY_USERNAME }} | ||
|
@@ -71,7 +99,7 @@ jobs: | |
run: docker-compose pull test || true | ||
|
||
- name: Run unit tests | ||
run: docker-compose run test bundle exec rspec --exclude-pattern "spec/systems/**/*_spec.rb" --profile --format progress | ||
run: docker-compose run test bundle exec rspec --exclude-pattern "spec/systems/**/*_spec.rb, spec/codebase/codebase_spec.rb" --profile --format progress | ||
|
||
- name: Upload tests coverage artifact | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -83,14 +111,17 @@ jobs: | |
name: System tests | ||
runs-on: ubuntu-latest | ||
needs: build | ||
timeout-minutes: 15 | ||
env: | ||
TEST_RETRY: 2 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set env BRANCH_TAG | ||
uses: nimblehq/branch-tag-action@v1.2 | ||
uses: nimblehq/branch-tag-action@1 | ||
|
||
- name: Login to Docker registry | ||
uses: docker/login-action@v1.6.0 | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ env.DOCKER_REGISTRY_HOST }} | ||
username: ${{ env.DOCKER_REGISTRY_USERNAME }} | ||
|
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
Oops, something went wrong.