Skip to content

Commit

Permalink
Renamed 1Password to 1Password7 and added 1Password8 jamf-upload recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbpirie committed Nov 6, 2023
1 parent ad65a89 commit 6f0b79e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Description: |
Downloads the current release version of 1Password and builds a package,
Downloads the current release version of 1Password 7 and builds a package,
then uploads the package to Jamf Pro.
JSS_URL, API_USERNAME, and API_PASSWORD, and for non-cloud instances
SMB_URL, SMB_USERNAME and SMB_PASSWORD, are expected to be populated
in your AutoPkg preferences, override Input variables, or by
command-line keys.
Identifier: com.github.davidbpirie.jamf-upload.1Password
MinimumVersion: '2.3'
Identifier: com.github.davidbpirie.jamf-upload.1Password7
MinimumVersion: 2.3.0
ParentRecipe: io.github.hjuutilainen.pkg.1Password

Input:
NAME: 1Password
NAME: 1Password7
JAMF_CATEGORY: Productivity
JAMF_PKG_NAME: '%NAME%'
JAMF_PKG_INFO: '1Password is a password manager that goes beyond simple password storage by integrating directly with your web browser to automatically log you into websites, enter credit card information, fill registration forms, and easily generate strong passwords.'
Expand Down
40 changes: 40 additions & 0 deletions AgileBits/1Password8.jamf-upload.recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Description: |
Downloads the current release version of 1Password 8 and copies the
downloaded package, then uploads the package to Jamf Pro.
JSS_URL, API_USERNAME, and API_PASSWORD, and for non-cloud instances
SMB_URL, SMB_USERNAME and SMB_PASSWORD, are expected to be populated
in your AutoPkg preferences, override Input variables, or by
command-line keys.
Identifier: com.github.davidbpirie.jamf-upload.1Password8
MinimumVersion: 2.3.0
ParentRecipe: io.github.hjuutilainen.pkg.1Password8

Input:
NAME: 1Password8
JAMF_CATEGORY: Productivity
JAMF_PKG_NAME: '%NAME%'
JAMF_PKG_INFO: '1Password is a password manager that goes beyond simple password storage by integrating directly with your web browser to automatically log you into websites, enter credit card information, fill registration forms, and easily generate strong passwords.'
JAMF_PKG_NOTES: 'Generated and uploaded by AutoPkg'
JAMF_PKG_PRIORITY: '10'
JAMF_PKG_REBOOT_REQUIRED: 'False'
JAMF_PKG_OS_REQUIREMENTS: ''
JAMF_PKG_REQUIRED_PROCESSOR: None
JAMF_PKG_SEND_NOTIFICATION: 'False'
JAMF_PKG_REPLACE: 'False'
JAMF_PKG_REPLACE_METADATA: 'False'

Process:
- Processor: com.github.grahampugh.jamf-upload.processors/JamfPackageUploader
Arguments:
pkg_name: '%JAMF_PKG_NAME%-%version%.pkg'
pkg_category: '%JAMF_CATEGORY%'
pkg_info: '%JAMF_PKG_INFO%'
pkg_notes: '%JAMF_PKG_NOTES%'
pkg_priority: '%JAMF_PKG_PRIORITY%'
reboot_required: '%JAMF_PKG_REBOOT_REQUIRED%'
os_requirements: '%JAMF_PKG_OS_REQUIREMENTS%'
required_processor: '%JAMF_PKG_REQUIRED_PROCESSOR%'
send_notification: '%JAMF_PKG_SEND_NOTIFICATION%'
replace_pkg: '%JAMF_PKG_REPLACE%'
replace_pkg_metadata: '%JAMF_PKG_REPLACE_METADATA%'

0 comments on commit 6f0b79e

Please sign in to comment.