StackStorm v1.6 / future tasks
- Proper schema and data migration framework with versioning for upgrades
- Operational support API endpoints and related code
- REST API v2
- Upgrade to MongoDB 3.x + upgrade to latest version of mongoengine and pymongo
| Unpacking scalyr-agent-2 (2.1.40.pre41.31) over (2.1.40.pre41.30) ... | |
| dpkg: warning: unable to delete old directory '/var/opt/scalyr-agent-2': Directory not empty | |
| dpkg: warning: unable to delete old directory '/var/opt': Directory not empty | |
| dpkg: warning: unable to delete old directory '/opt/scalyr-agent-2/etc': Directory not empty | |
| dpkg: warning: unable to delete old directory '/opt/scalyr-agent-2': Directory not empty | |
| Setting up scalyr-agent-2 (2.1.40.pre41.31) ... | |
| . Trying to switch the Python interpreter for the Scalyr Agent. | |
| . Searching for python in PATH "/usr/sbin:/usr/bin:/sbin:/bin": | |
| - command python not found. | |
| . Searching for python2 in PATH "/usr/sbin:/usr/bin:/sbin:/bin": |
| curl --tlsv1.2 --tls-max 1.2 --cacert /usr/share/scalyr-agent-2/certs/ca_certs.crt https://app.us1.dataset.com |
| def setUp(self): | |
| super(TestCollectionNoConnect, self).setUp() | |
| if sys.version_info[0] == 2: | |
| self._original_encoding = sys.getdefaultencoding() | |
| def tearDown(self): | |
| super(TestCollectionNoConnect, self).tearDown() | |
| if sys.version_info[0] == 2: |
| --- | |
| name: "write_eventbridge_data_to_file" | |
| pack: "default" | |
| description: "Test rule which writes AWS EventBridge event data to file." | |
| enabled: true | |
| trigger: | |
| type: "core.st2.webhook" | |
| parameters: | |
| url: "eventbridge" |
| vagrant@local$ st2 run test_content_version.python_runner_print_version | |
| id: 5ad0ce8b0640fd27f7b97845 | |
| status: succeeded | |
| parameters: None | |
| result: | |
| exit_code: 0 | |
| result: v0.4.0 | |
| stderr: '' | |
| stdout: 'v0.4.0 |
| import sys | |
| from st2actions.runners.pythonrunner import Action | |
| class MyEchoAction(Action): | |
| def run(self, message): | |
| print(message) | |
| if message == 'working' | |
| # If value "working" is passed for parameter "message", action status will |
| version: '2.0' | |
| examples.mistral-yaql-st2kv-user-scope: | |
| vars: | |
| polo: unspecified | |
| tasks: | |
| task1: | |
| action: std.noop | |
| publish: | |
| polo: <% st2kv('marco') %> |
| version: '2.0' | |
| examples.mistral-yaql-st2kv-system-scope: | |
| vars: | |
| foobar: unspecified | |
| tasks: | |
| task1: | |
| action: std.noop | |
| publish: | |
| foobar: <% st2kv('system.foobar') %> |
StackStorm v1.6 / future tasks
| mv /opt/stackstorm/packs/libcloud/config.yaml /opt/stackstorm/configs/libcloud.yaml |