-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstep.yml
72 lines (62 loc) · 2.3 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# A couple of useful guides & docs:
#
# - Main Bitrise CLI docs: https://github.com/bitrise-io/bitrise/tree/master/_docs
# - Step Development Guideline: https://github.com/bitrise-io/bitrise/blob/master/_docs/step-development-guideline.md
# - Bitrise.yml format spec: https://github.com/bitrise-io/bitrise/blob/master/_docs/bitrise-yml-format-spec.md
# - Bitrise docs: http://devcenter.bitrise.io/
# - Bitrise CLI guides: http://devcenter.bitrise.io/bitrise-cli/
title: |-
macosvpn
summary: |
Connect to a VPN using macosvpn
description: |
Connects to a VPN using macosvpn and some simple configurations.
website: https://github.com/zubiecar/bitrise-step-macosvpn
source_code_url: https://github.com/zubiecar/bitrise-step-macosvpn
support_url: https://github.com/zubiecar/bitrise-step-macosvpn/issues
type_tags:
- utility
# These properties define whether a Step is run in a given Workflow or not.
# You can find more information about this in the documentation here:
# https://devcenter.bitrise.io/en/steps-and-workflows/developing-your-own-bitrise-step/developing-a-new-step.html#setting-conditions-for-running-the-step
#
# is_always_run: false
# is_skippable: false
run_if: "{{getenv \"MACOSVPN_CONFIGURED\" | ne \"yes\"}}"
# Use the `deps` property to declare dependencies that you can fetch from an OS dependency manager.
# You can find more information about this in the documentation here:
# https://devcenter.bitrise.io/en/steps-and-workflows/developing-your-own-bitrise-step/developing-a-new-step.html#submodules-and-step-dependencies
#
deps:
brew:
- name: macosvpn
toolkit:
bash:
entry_file: step.sh
inputs:
- vpn_endpoint: "$VPN_ENDPOINT"
opts:
title: "VPN Endpoint"
summary: The host/IP of the VPN
is_required: true
- vpn_user_name: "$VPN_USERNAME"
opts:
title: "VPN Username"
summary: Your VPN username
is_required: true
- vpn_password: "$VPN_PASSWORD"
opts:
title: "VPN Password"
summary: Your VPN password
is_required: true
- vpn_shared_secret: "$VPN_SHARED_SECRET"
opts:
title: "VPN Shared Secret"
summary: Your VPN shared secret
is_required: true
outputs:
- MACOSVPN_CONFIGURED:
opts:
title: VPN connection success flag
summary: Variable that will be set to "yes" when VPN successfully connects.