Skip to content

Fix broken 404 outgoing links #217

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

Merged
merged 3 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Here you can find Semaphore CI 2.0 config for projects using:

`knapsack_pro` gem supports environment variables provided by Semaphore CI 2.0 to run your tests. You will have to define a few things in `.semaphore/semaphore.yml` config file.

- You need to set `KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC`. If you don't want to commit secrets in yml file then you can <a href="https://docs.semaphoreci.com/article/66-environment-variables-and-secrets" target="_blank" rel="nofollow">follow this guide</a>.
- You need to set `KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC`. If you don't want to commit secrets in yml file then you can <a href="https://docs.semaphoreci.com/using-semaphore/secrets" target="_blank" rel="nofollow">follow this guide</a>.
- You should create as many parallel jobs as you need with `parallelism` property. If your test suite is long you should use more parallel jobs.

Below you can find full Semaphore CI 2.0 config for Rails project.
Expand Down Expand Up @@ -135,7 +135,7 @@ blocks:

`@knapsack-pro/cypress` supports environment variables provided by Semaphore CI 2.0 to run your tests. You will have to define a few things in `.semaphore/semaphore.yml` config file.

- You need to set `KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS`. If you don't want to commit secrets in yml file then you can <a href="https://docs.semaphoreci.com/article/66-environment-variables-and-secrets" target="_blank" rel="nofollow">follow this guide</a>.
- You need to set `KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS`. If you don't want to commit secrets in yml file then you can <a href="https://docs.semaphoreci.com/using-semaphore/secrets" target="_blank" rel="nofollow">follow this guide</a>.
- You should create as many parallel jobs as you need with `parallelism` property. If your test suite is long you should use more parallel jobs.

Below you can find example part of Semaphore CI 2.0 config.
Expand Down Expand Up @@ -164,7 +164,7 @@ blocks:

`@knapsack-pro/jest` supports environment variables provided by Semaphore CI 2.0 to run your tests. You will have to define a few things in `.semaphore/semaphore.yml` config file.

- You need to set `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST`. If you don't want to commit secrets in yml file then you can <a href="https://docs.semaphoreci.com/article/66-environment-variables-and-secrets" target="_blank" rel="nofollow">follow this guide</a>.
- You need to set `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST`. If you don't want to commit secrets in yml file then you can <a href="https://docs.semaphoreci.com/using-semaphore/secrets" target="_blank" rel="nofollow">follow this guide</a>.
- You should create as many parallel jobs as you need with `parallelism` property. If your test suite is long you should use more parallel jobs.

Below you can find example part of Semaphore CI 2.0 config.
Expand Down
10 changes: 0 additions & 10 deletions _posts/2021-02-25-best-heroku-add-ons-for-ruby-on-rails-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,6 @@ Rollbar.configure do |config|
end
{% endhighlight %}

### Logentries

[Logentries](https://elements.heroku.com/addons/logentries) - collects your logs from Heroku standard output so that you can browse them later on. If you need to find info about an issue that happened a few days ago in your logs then Logentries might be helpful.

Of course, you could use [Heroku Command Line Interface](https://devcenter.heroku.com/articles/heroku-cli) and run `heroku logs -n 10000 --app my-heroku-app` command in terminal to browse logs for the last 10,000 lines but this method has limitations. You can't go that much in past logs or easily filter logs as in Logentries.

Logentries has a 5 GB and 7 days retention period in a free plan. This is enough for small Rails apps.

A nice feature I like in Logentries is an option to save the query and later on quickly browse logs by it. You can also display charts based on logs. Maybe you want to see how often a particular worker in Sidekiq has been called? You could visualize it.

### Redis Cloud

If you use Redis in your Ruby on Rails app then [Redis Cloud](https://elements.heroku.com/addons/rediscloud) is your add-on. It has a free plan and paid plans are more affordable than other add-ons have.
Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/cypress/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ blocks:
# highlight-end
```

Remember to set up `KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS` as a [secret](https://docs.semaphoreci.com/article/66-environment-variables-and-secrets).
Remember to set up `KNAPSACK_PRO_TEST_SUITE_TOKEN_CYPRESS` as a [secret](https://docs.semaphoreci.com/using-semaphore/secrets).

</ShowIfSearchParamAndValue>

Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/jest/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ blocks:
# highlight-end
```

Remember to set up `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST` as a [secret](https://docs.semaphoreci.com/article/66-environment-variables-and-secrets).
Remember to set up `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST` as a [secret](https://docs.semaphoreci.com/using-semaphore/secrets).

</ShowIfSearchParamAndValue>

Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/knapsack_pro-ruby/guide/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ blocks:
# highlight-end
```

Remember to set up `KNAPSACK_PRO_TEST_SUITE_TOKEN_*` as a [secret](https://docs.semaphoreci.com/article/66-environment-variables-and-secrets).
Remember to set up `KNAPSACK_PRO_TEST_SUITE_TOKEN_*` as a [secret](https://docs.semaphoreci.com/using-semaphore/secrets).

</ShowIfSearchParamAndValue>

Expand Down