Skip to content

Instantly share code, notes, and snippets.

@becki-at-luminal
Created March 24, 2022 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save becki-at-luminal/706b1e766ba3f7e7540f4b6b87d4e6c8 to your computer and use it in GitHub Desktop.
Save becki-at-luminal/706b1e766ba3f7e7540f4b6b87d4e6c8 to your computer and use it in GitHub Desktop.
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