Skip to content

Instantly share code, notes, and snippets.

@karthikeyan-mac
Created April 24, 2025 20:19
Show Gist options
  • Select an option

  • Save karthikeyan-mac/647fa6133c9631856b091c7803897fe6 to your computer and use it in GitHub Desktop.

Select an option

Save karthikeyan-mac/647fa6133c9631856b091c7803897fe6 to your computer and use it in GitHub Desktop.
# GitLab Runner config for Jamf Pro Notifications Alerter
# https://github.com/alectrona/jamf-pro-notifications-alerter
# .gitlab-ci.yml
stages:
- development
- production
development:
stage: development
script:
- chmod +x $CI_PROJECT_DIR/jamf-pro-notifications-alerter-Dev.sh
- $CI_PROJECT_DIR/jamf-pro-notifications-alerter-Dev.sh --url $DevURL
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "trigger"
production:
stage: production
script:
- chmod +x $CI_PROJECT_DIR/jamf-pro-notifications-alerter.sh
- $CI_PROJECT_DIR/jamf-pro-notifications-alerter.sh --url $ProdURL
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_PIPELINE_SOURCE == "trigger"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment