Created
March 24, 2022 12:22
-
-
Save becki-at-luminal/706b1e766ba3f7e7540f4b6b87d4e6c8 to your computer and use it in GitHub Desktop.
Syncing custom rules to Fugue via Travis CI and CircleCI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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