Skip to content

Releases: guardian/actions-riff-raff

v2.2.0

02 Dec 16:31
f2b0e16
Compare
Choose a tag to compare

Small release to record the build tool (itself) so that Riffraff can use it. See also:

guardian/riff-raff#937
guardian/service-catalogue#91

v2.1.0

01 Dec 13:08
49c3b20
Compare
Choose a tag to compare

This release improves the error reporting when contentDirectories is empty or otherwise invalid.

v2.0.1

25 Nov 13:47
d8a0117
Compare
Choose a tag to compare

2.0.1 (2022-11-25)

  • Display build number in summary and support offsetting of Riff Raff Build number (#20)

v2.0.0

28 Sep 12:30
bbee95d
Compare
Choose a tag to compare

2.0.0 (2022-09-28)

  • feat!: Replace sources with contentDirectories (#18), closes #13

BREAKING CHANGES

sources within riff-raff.yaml (either via the config or configPath input) is no longer supported. Configure the files to upload via the contentDirectories input, where contentDirectories is a mapping of package name -> artifact files.

Before (v1)

- uses: guardian/actions-riff-raff@v1
  with:
    app: my-application
    config: |
      stacks:
        - deploy
      regions:
        - eu-west-1
      allowedStages:
        - CODE
        - PROD
      deployments:
        static-site-assets:
          type: aws-s3
          sources:
            - static-site/dist # upload the `dist` directory
          parameters:
            bucket: aws-some-bucket
            cacheControl: private
            publicReadAcl: false
        api:
          type: autoscaling
          sources:
            - target/application.jar
          parameters:
            bucketSsmLookup: true

After (v2)

- uses: guardian/actions-riff-raff@v2 # Note the version change
  with:
    app: my-application
    config: |
      stacks:
        - deploy
      regions:
        - eu-west-1
      allowedStages:
        - CODE
        - PROD
      deployments:
        static-site-assets: # <-- this is a package name
          type: aws-s3
          parameters:
            bucket: aws-some-bucket
            cacheControl: private
            publicReadAcl: false
        api: # <-- this is another package name
          type: autoscaling
          parameters:
            bucketSsmLookup: true
    contentDirectories: |
      static-site-assets:
        - static-site/dist
      api:
        - target/application.jar

v1

28 Mar 12:26
9f2e2f8
Compare
Choose a tag to compare
v1 Pre-release
Pre-release

This is the v1 release catchall tag. We recommend pinning your workflow files to this tag so that you automatically get bug/security fixes from releases in the 1.* series.

See the README.md for usage.

Feedback welcome - just ping me ([email protected]) or raise an issue in the repo.

Thanks :)

v1.1.5

07 Sep 11:22
706de15
Compare
Choose a tag to compare

Fixes a builder number bug from 1.14.

For more details, see: #16.

v1.1.4

06 Sep 07:10
d2f3134
Compare
Choose a tag to compare

1.1.4 (2022-09-06)

Bug Fixes

  • Support riff-raff.yaml files without top-level stacks (#14)

v1.1.3

31 Aug 09:49
0726271
Compare
Choose a tag to compare

Fix possible race condition in RR deploys.

v1.1.2

19 Aug 09:37
Compare
Choose a tag to compare

Some bug fixes:

  • souces can now be undefined for deployments
  • dryRun now is truthy when =true rather than just when non-empty

Fix when run in multiple steps for a single workflow

02 Aug 15:27
38b3cdd
Compare
Choose a tag to compare