Skip to content

Commit

Permalink
Enable containerd-snapshotter
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkleeman committed Dec 4, 2024
1 parent 0951df2 commit 7966d49
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,30 @@ on:
branches:
- main
schedule:
- cron: '0 */6 * * *' # Every 6 hours
- cron: "0 */6 * * *" # Every 6 hours
workflow_dispatch:
inputs:
restateCommit:
description: 'restate commit'
description: "restate commit"
required: false
default: ''
default: ""
type: string
restateImage:
description: 'restate image, superseded by restate commit'
description: "restate image, superseded by restate commit"
required: false
default: 'ghcr.io/restatedev/restate:main'
default: "ghcr.io/restatedev/restate:main"
type: string
workflow_call:
inputs:
restateCommit:
description: 'restate commit'
description: "restate commit"
required: false
default: ''
default: ""
type: string
restateImage:
description: 'restate image, superseded by restate commit'
description: "restate image, superseded by restate commit"
required: false
default: 'ghcr.io/restatedev/restate:main'
default: "ghcr.io/restatedev/restate:main"
type: string

jobs:
Expand All @@ -40,7 +40,7 @@ jobs:
name: "Features integration test (sdk-test-suite version ${{ matrix.sdk-test-suite }})"
strategy:
matrix:
sdk-test-suite: [ "2.1" ]
sdk-test-suite: ["2.1"]
permissions:
contents: read
issues: read
Expand All @@ -53,6 +53,17 @@ jobs:
with:
repository: restatedev/sdk-go

# support importing oci-format restate.tar
- name: Set up Docker containerd snapshotter
uses: crazy-max/ghaction-setup-docker@v3
with:
daemon-config: |
{
"features": {
"containerd-snapshotter": true
}
}
### Download the Restate container image, if needed
# Setup restate snapshot if necessary
# Due to https://github.com/actions/upload-artifact/issues/53
Expand Down Expand Up @@ -85,8 +96,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
distribution: "temurin"
java-version: "17"
- name: Setup ko
uses: ko-build/[email protected]
with:
Expand Down

0 comments on commit 7966d49

Please sign in to comment.