Skip to content

Commit

Permalink
Zowe Suite v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zowe-robot authored Apr 13, 2022
2 parents 2846b3a + b16b119 commit 0ee1b61
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: '[Prep 2] Setup Node'
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16

- name: '[Prep 3] Setup jFrog CLI'
uses: jfrog/setup-jfrog-cli@v2
Expand Down
68 changes: 68 additions & 0 deletions .github/workflows/rc-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Release Core
on:
workflow_dispatch:
inputs:
ZOWE_VERSION:
description: 'Please enter the Zowe version you want to build'
required: true

jobs:
check-permission:
runs-on: ubuntu-latest
steps:
# this action will fail the whole workflow if permission check fails
- name: check permission
uses: zowe-actions/shared-actions/permission-check@main
with:
user: ${{ github.actor }}
github-repo: ${{ github.repository }}
github-token: ${{ secrets.GITHUB_TOKEN }}

build:
runs-on: ubuntu-latest
needs: check-permission
steps:

- name: '[Prep 1] Cache node modules'
uses: actions/cache@v2
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: |
~/.npm
~/.nvm/.cache
~/.nvm/versions
key: ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-cache-node-modules-
- name: '[Prep 2] Setup Node'
uses: actions/setup-node@v2
with:
node-version: 16

- name: '[Prep 3] Setup jFrog CLI'
uses: jfrog/setup-jfrog-cli@v2
env:
JF_ARTIFACTORY_1: ${{ secrets.JF_ARTIFACTORY_TOKEN }}

- name: '[Prep 4] prepare workflow'
uses: zowe-actions/zlux-builds/core/[email protected]/rc
with:
github-user: ${{ secrets.ZOWE_ROBOT_USER }}
github-password: ${{ secrets.ZOWE_ROBOT_TOKEN }}
github-email: ${{ secrets.ZOWE_ROBOT_EMAIL }}
github-branch: ${{ github.event.inputs.BRANCH_NAME }}
zowe-version: ${{ github.event.inputs.ZOWE_VERSION }}

- name: '[Prep 5] build'
uses: zowe-actions/zlux-builds/core/[email protected]/rc

- name: '[Prep 6] packaging'
uses: zowe-actions/zlux-builds/core/[email protected]/rc
with:
pax-ssh-username: ${{ secrets.SSH_MARIST_USERNAME }}
pax-ssh-password: ${{ secrets.SSH_MARIST_RACF_PASSWORD }}
pax-name: zlux-core

- name: '[Prep 7] deploy'
uses: zowe-actions/zlux-builds/core/[email protected]/rc
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Contributing
============

Contributions are encouraged from anyone! Every little bit helps, and credit will always be given.
Please see the contributing guidelines in [the zlux repository](https://github.com/zowe/zlux/blob/master/CONTRIBUTING.md)

0 comments on commit 0ee1b61

Please sign in to comment.