Skip to content

Releases: ricardo-ch/ricardo-orbs

v9.4.0

08 May 14:07
1de6679
Compare
Choose a tag to compare

What's Changed

Full Changelog: v9.3.0...v9.4.0

v9.3.0

08 May 14:06
2e258c5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v9.2.0...v9.3.0

update js_jest_runner_job

30 Oct 10:37
3da2cbc
Compare
Choose a tag to compare

The --skipProject of the base script wasn't working correctly with typescript v5 making the whole jest pipeline fail

With this new minor version we can modify the script bind to this job withe the pre_test parameter

Usage:

 - ric-orb/js_jest_runner_job:
          name: quality_gate_jest_isomorphic
          script: ci:jest:isomorphic
>>>       pre_test: yarn ts-node --transpileOnly ./testing/ci.displayTestList.ts 
          globPattern: src/app/**/*.test.{jsx,tsx,js,ts}
          # resource_class: large means 4 vCPUs and 8GB ram
          # This is why we set --maxWorkers=3 (number of CPU minus 1 for the main thread)
          resource_class: large
          jest_options: --maxWorkers=3
          parallelism: 2
          requires:
            - setup

Jobs with js executor accepts `node_version` parameter

12 Oct 09:38
2d1e32e
Compare
Choose a tag to compare

All jobs with js executor now accepts node_version optional parameter.

breaking change

The default value for js executor is now lts

Adding a working_directory parameter to the main jobs for Java deployments

22 Sep 16:29
116075d
Compare
Choose a tag to compare

This allows to expose the working_directory option from CircleCI for some jobs. We will add it to other jobs as needed.

build_push_image: Remove default Dockerfiles by language

09 Aug 11:28
0006345
Compare
Choose a tag to compare

This removes the functionality introduced in v7.6.0 as isopod is taking that responsibility, and the current way the build_push_image is set up will not allow it to work properly.

npm publish from build folder

07 Aug 13:10
95eb38e
Compare
Choose a tag to compare

⚠️ Breaking changes ⚠️

Only affects node apps.

  • publishing npm modules is now done from ./build folder
  • publishable app need to have ci:prepublish script which copy package.json to ./build folder

build_push_image: Add default Dockerfiles by language

19 Jun 10:40
b26b3dd
Compare
Choose a tag to compare

With this addition, we can have "templates" of Dockerfiles for different languages, that will be fetched and used by CircleCI so they don't need to be present in the apps' repositories.
This makes sense because in 99% of the cases all our apps are using a fixed Dockerfile that we just copy around. So this should ease the rollout of newer versions of the Dockerfile.
Of course, it is still possible to provide a Dockerfile in the original app repo, if one exists that one will be used.

NOTE: if you want to use a Dockerfile from a template, you also need to remove the Dockerfile from your repository and add Dockerfile to the repo's .gitignore, to prevent Isopod from throwing a "working directory not clean" error.

CodeQL step: improving parameters

16 Jun 15:53
087f651
Compare
Choose a tag to compare

This release improves the codeql job by adding a memory_usage parameter for giving more memory to the process in case of big projects.

CodeQL fixes & improvements

12 Jun 12:47
f4839ba
Compare
Choose a tag to compare

This fixes a bug where it was assumed a bin directory exists in the home directory of the user. This is the case for any of the provided CircleCI docker images, but not for most other ones.

We now always provide a configuration file for CodeQL. The default one is now part of this repository.