Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Syncing custom rules to Fugue via Travis CI and CircleCI
# Travis CI configuration file for syncing custom rules to Fugue
arch: amd64
os: linux
dist: xenial
env:
global:
- FUGUE_VERSION=0.18.0
before_script:
- wget -O fugue https://github.com/fugue/fugue-client/releases/download/v${FUGUE_VERSION}/fugue-linux-amd64
- chmod +x fugue
- sudo mv fugue /usr/local/bin
script:
- fugue sync rules my-custom-rules
branches:
only:
- main
# CircleCI configuration file for syncing custom rules to Fugue
version: 2.1
jobs:
build:
docker:
- image: cimg/python:3.7.10
steps:
- checkout # check out the code in the project directory
- run: |
wget -O fugue https://github.com/fugue/fugue-client/releases/download/v0.18.0/fugue-linux-amd64
chmod +x fugue
sudo mv fugue /usr/local/bin
- run: |
fugue sync rules my-custom-rules
workflows:
version: 2.1
install_and_sync:
jobs:
- build:
filters:
branches:
only: main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment