Skip to content

Instantly share code, notes, and snippets.

@dkelosky
Last active February 12, 2019 12:21
Show Gist options
  • Save dkelosky/33960454108b27db68d96c063ddbf61f to your computer and use it in GitHub Desktop.
Save dkelosky/33960454108b27db68d96c063ddbf61f to your computer and use it in GitHub Desktop.
HLASM Drone
kind: pipeline
name: template
steps:
- name: build-and-test
image: dkelosky/zowe-cli
environment:
USERNAME:
from_secret: MF_USER
PASSWORD:
from_secret: MF_PASSWORD
commands:
- zowe profiles create zosmf default --user $USERNAME --password $PASSWORD --host somewhere.com --rejectUnauthorized=false
- "echo 'export default {' > config/local.ts"
- "echo ' settings: {' >> config/local.ts"
- "echo ' hlq: \"KELDA16.TEMP\",' >> config/local.ts"
- "echo ' account: \"105300000\",' >> config/local.ts"
- "echo ' },' >> config/local.ts"
- "echo '}' >> config/local.ts"
- npm install
- "npm run build:scripts"
- npm run allocate
- npm run upload
- npm run test
- npm run delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment