Maikel
945cb84127
Merge pull request #10683 from filipefurtad0/update-the-build-env-to-ubuntu-2204
...
Updates build environment to Ubuntu 22.04
2023-04-24 15:27:05 +10:00
Gaetan Craig-Riou
135bc7e2f8
Removing env variable $runs_on
...
Seting "env" under "jobs" doesn't work it gets picked up as a job. I moved
runs_on to the top level env. but I couldn't fine a way to get it to work.
I tried all syntax I could think of: $runs_on, ${{ runs_on }} env.runs_on,
${{ env.runs_on }} and their capitalized versions.
2023-04-21 15:14:20 +10:00
filipefurtad0
7d51979c06
Updates build environment to Ubuntu 22.04
...
Creates environment variable to set OS version
2023-04-12 09:19:14 +02:00
David Cook
bf9f47a000
Show commit in CI
...
actions/checkout@v3 actually creates a merge commit into master, to ensure you're testing the latest as close to master as possible.
That's all well and good, but quite confusing when you see errors in CI that aren't present in the actual PR branch. Hopefully this will be a clue when such confusions arise.
2023-04-11 15:22:19 +10:00
David Cook
af5e44e3f3
Use .node-version in CI
...
This ensures that all our automated tests are using the same version.
I'm not sure it matters what version Prettier runs on, but thought it should be the same.
This is a down-grade, but it's better to match the version in production. The next step will be to upgrade again for production.
2023-02-07 21:25:20 +11:00
filipefurtad0
900ff6d053
Enables queue mode for system/admin and system/consumer
2022-12-08 20:50:44 +00:00
filipefurtad0
4d605c7060
Splits admin and consumer system tests
...
Disables queue mode for system tests
2022-12-08 20:50:44 +00:00
filipefurtad0
2e5f0d302f
Removes unecessary syntax
2022-11-30 09:05:19 +01:00
filipefurtad0
a4b6c05d58
Removes the number of nodes for system specs
2022-11-27 16:49:23 +01:00
filipefurtad0
d351bf9a9a
Adds Dir.glob syntax to include subdirectories
2022-11-24 12:56:17 +01:00
filipefurtad0
b447e4052c
Removes empty spaces to comply to Dir.glob syntax
2022-11-24 12:07:16 +01:00
filipefurtad0
29196375f5
Adds separate API key for engine tests
2022-11-24 11:47:59 +01:00
filipefurtad0
10d1d2066e
Merges separate knapsack_pro build files into one
...
Renames jobs
Includes jest and karma tests in build file
Renames jest karma job
Moves build setup into build.yml file
Changes job names
Re-distributes nodes according to run-time
2022-11-21 15:04:15 +01:00
filipefurtad0
236abe485a
Splits test-the-rest specs
2022-11-21 10:02:14 +00:00
filipefurtad0
b5da120805
Splits engines
...
Keeps test-the-rest specs running without Knapsack
2022-11-21 10:02:14 +00:00
filipefurtad0
da5976d85d
Splits model specs
2022-11-21 10:02:14 +00:00
filipefurtad0
9e1047288f
Runs all the test-the-rest specs
2022-11-21 10:02:14 +00:00
filipefurtad0
e62eca93c1
Simplifies settings
2022-11-21 10:02:14 +00:00
filipefurtad0
dbd5186dfa
Enables slow file pattern to run on system specs
2022-11-21 10:02:14 +00:00
filipefurtad0
ccfb83d2cd
Splits build into 50 jobs
2022-11-21 10:02:14 +00:00
filipefurtad0
d6aa0168b2
Creates fork disabling on forks
...
Changes run job to use bash file
2022-11-21 10:02:14 +00:00
filipefurtad0
2a8ef5a45e
Updates build.yml to run the build the first time with knapsack_pro
2022-11-21 10:02:14 +00:00
filipefurtad0
50e9819a2a
Fixes build.yml to replace rake task syntax
2022-11-16 09:56:51 +00:00
filipefurtad0
2fd8ffa413
Excludes build triggers using /** syntax for branch pushes
2022-10-27 11:00:39 +01:00
filipefurtad0
f72e040a4d
Adds ignore tag for pull_request dependabot branches
2022-10-26 13:58:28 +01:00
Jean-Baptiste Bellet
e58add6af0
Use the latest version of actions/upload-artifact
2022-10-25 15:00:14 +02:00
Jean-Baptiste Bellet
892a020bcc
Setup redis on build
2022-10-24 17:01:12 +02:00
Jean-Baptiste Bellet
7ffd4669be
Change node version to use the latest LTS
...
We probably need to modify our `ofn-install` build to also use the latest LTS
2022-10-20 10:20:09 +02:00
Jean-Baptiste Bellet
2fcbe437f2
Upgrade "actions/setup-node" to non-deprecated version
2022-10-19 11:31:47 +02:00
Jean-Baptiste Bellet
642938afe0
Upgrade "actions/checkout" to non-deprecated version
2022-10-19 11:28:31 +02:00
Maikel Linke
87274bccc6
Remove retries from test runs
...
If a spec is flaky, we need to fix it. Retry is just hiding problems for
a while and is adding to execution time.
2022-10-10 14:09:18 +11:00
filipefurtad0
ba8162c1d0
Splits consumer specs into two parallel runs
2022-09-15 17:34:01 +01:00
filipefurtad0
bf1fc736b9
Removes _spec.rb ending from admin specs on build.yml
2022-09-15 17:32:48 +01:00
Maikel
dd2e77a244
Merge pull request #9557 from jibees/9555-update-the-build-env
...
Update the build env. from ubuntu-18.04 to ubuntu-20.04
2022-09-07 13:43:42 +10:00
Jean-Baptiste Bellet
24fc941b4c
Update the build env. from ubuntu-18.04 to ubuntu-20.04
2022-09-06 10:28:26 +02:00
filipefurtad0
be021f4697
Removes spec/features from the build-run 🎉
2022-08-17 23:25:02 +01:00
neilnaveen
5c1bdc7698
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com >
2022-06-16 01:08:27 +00:00
filipefurtad0
b25e0ed87b
Deletes spec/features/consumer folder
2021-12-20 15:13:57 +00:00
filipefurtad0
e0006a6dc4
Removes build line related to feature specs
2021-12-03 10:54:28 +00:00
Adrien Chauve
8585c68691
Remove occurences of application.yml.example
2021-12-01 18:39:26 +01:00
Matt-Yorkley
6635b59250
Split admin system tests into two groups
2021-11-11 14:49:03 +00:00
Matt-Yorkley
1ad1e51bb6
Break up system tests into two jobs
2021-10-29 12:00:45 +01:00
Maikel
40aac6a21b
Merge pull request #8386 from jibees/download-artifact
...
Archive failed tests screenshots
2021-10-27 14:03:49 +11:00
filipefurtad0
1ecf3bd78f
Updates workflow - don't call admin subderictories
2021-10-25 12:35:33 +01:00
Jean-Baptiste Bellet
665566c28c
Archive failed tests screenshots
2021-10-21 09:50:04 +02:00
Maikel Linke
61333a958e
Continue all jobs when one failed
...
It's nice to see the whole result to then work on all failures,
especially when there are flaky specs.
2021-10-19 09:15:51 +11:00
Maikel Linke
9ccb744ef3
Remove superfluous env parameter
...
It's already defined globally.
2021-10-19 09:15:51 +11:00
Maikel Linke
a4db3b675d
DRY actions config with matrix syntax
...
This uses the matrix syntax for all rspec calls. It is easier to
maintain than the previous list of GH Actions workflows.
The execution of the rspec rake task is still in its own job because it
doesn't fit in the same pattern. The JS tests are also executed in that
job.
2021-10-19 09:15:51 +11:00
Maikel Linke
d6c216840e
Use matrix to split jobs
...
This demonstrates how you can split the tests across multiple jobs
without repeating the job configuration. This has a lot of potential to
DRY our config.
2021-10-19 09:15:51 +11:00
Matt-Yorkley
ef02197bab
Remove Codecov upload tasks
2021-09-08 10:48:28 +01:00