Skip to content

Instantly share code, notes, and snippets.

@Anthonyhawkins
Created June 8, 2021 17:32
Show Gist options
  • Save Anthonyhawkins/453a5d741d7718f256beac2908ae6529 to your computer and use it in GitHub Desktop.
Save Anthonyhawkins/453a5d741d7718f256beac2908ae6529 to your computer and use it in GitHub Desktop.
- name: update-org-users # Unique per job
plan:
- get: config-repo
passed: [create-orgs] # Different per each job
trigger: true
- get: cf-mgmt
- get: time-trigger # used for a few jobs, but not every job.
trigger: true
- task: update-org-users # unique per job
config:
image: cf-mgmt
platform: linux
inputs:
- name: config-repo
params:
SYSTEM_DOMAIN: ((system_domain))
USER_ID: ((user_id))
PASSWORD: ((password))
CONFIG_DIR: ((config_dir))
CLIENT_SECRET: ((client_secret))
LOG_LEVEL: ((log_level))
CF_MGMT_COMMAND: update-org-users # Unique per job
run:
path: config-repo/ci/tasks/cf-mgmt.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment