Integrating with CircleCI
Run Seal in a CircleCI pipeline.
CircleCI integration is a shell pattern: install the CLI, run seal fix.
Before you start
A token stored as a CircleCI environment variable (project-level or context-level) named
SEAL_TOKEN.A Project ID for the activity.
The job
seal_fix:
docker:
- image: cimg/base:stable
environment:
SEAL_PROJECT: my-project-id
steps:
- checkout
- run:
command: |
curl -fsSL https://github.com/seal-community/cli/releases/download/latest/seal-linux-amd64-latest.zip -o seal.zip
unzip seal.zip && chmod +x seal
./seal fix --mode allReplace --mode all with --mode remote or --mode local per your deployment method. The job should run after dependencies are installed and before they are packaged.
SEAL_TOKEN is read by the CLI automatically from the environment. Custom images need curl and unzip available.
Related
Last updated