Skip to content

Commit

Permalink
Merge pull request #41 from zowe/users/jstruga/update-v3
Browse files Browse the repository at this point in the history
Update v3 with new actions
  • Loading branch information
1000TurquoisePogs authored Jan 18, 2024
2 parents 3b4272c + 2305407 commit bd6bfb1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build sample-iframe-app workflow
on:
push:
branches:
- v2.x/staging
- v2.x/rc
- v2.x/main
- v3.x/staging
- v3.x/rc
- v3.x/main
pull_request:
types: [opened, reopened, synchronize]

Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
JF_ARTIFACTORY_1: ${{ secrets.JF_ARTIFACTORY_TOKEN }}

- name: '[Prep 5] prepare workflow'
uses: zowe-actions/zlux-builds/plugins/prepare-workflow@v2.x/main
uses: zowe-actions/zlux-builds/plugins/prepare-workflow@v3.x/main
with:
github-user: ${{ secrets.ZOWE_ROBOT_USER }}
github-password: ${{ secrets.ZOWE_ROBOT_TOKEN }}
Expand All @@ -156,29 +156,29 @@ jobs:
plugin-version: ${{ github.event.inputs.BUILD_VERSION }}

- name: '[Prep 6] build'
uses: zowe-actions/zlux-builds/plugins/zlux-plugins@v2.x/main
uses: zowe-actions/zlux-builds/plugins/zlux-plugins@v3.x/main
with:
build-zss: false

- name: '[Prep 7] packaging'
uses: zowe-actions/zlux-builds/plugins/make-pax@v2.x/main
uses: zowe-actions/zlux-builds/plugins/make-pax@v3.x/main
with:
pax-ssh-username: ${{ secrets.SSH_MARIST_USERNAME }}
pax-ssh-password: ${{ secrets.SSH_MARIST_RACF_PASSWORD }}
pax-name: sample-iframe-app

- name: '[Prep 8] deploy '
uses: zowe-actions/zlux-builds/plugins/deploy-pax@v2.x/main
uses: zowe-actions/zlux-builds/plugins/deploy-pax@v3.x/main

- name: '[Prep 9] Bump Staging Version '
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/bump-version@v2.x/main
uses: zowe-actions/zlux-builds/plugins/bump-version@v3.x/main
env:
GITHUB_TOKEN: ${{ secrets.ZOWE_ROBOT_TOKEN }}

- name: '[Prep 10] NodeJS project setup'
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/npm-setup@v2.x/main
uses: zowe-actions/zlux-builds/plugins/npm-setup@v3.x/main
with:
package-name: 'org.zowe.zlux-iframe-file-tree'
install-registry-url: ${{ env.DEFAULT_NPM_PRIVATE_INSTALL_REGISTRY }}
Expand All @@ -191,4 +191,4 @@ jobs:

- name: '[Prep 11] Publish NPM Package '
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }}
uses: zowe-actions/zlux-builds/plugins/npm-publish@v2.x/main
uses: zowe-actions/zlux-builds/plugins/npm-publish@v3.x/main
2 changes: 1 addition & 1 deletion build/component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iframe-sample",
"version": "2.11.0",
"version": "3.0.0",
"description": "Sample app Showcasing Iframe Adapter",
"main": "iframe-sample.pax",
"homepgae": "https://zowe.org",
Expand Down
2 changes: 1 addition & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: iframe-sample
id: org.zowe.zlux.sample.iframe
# Without the v
version: 2.13.0
version: 3.0.0
# Human readable component name
title: IFrame Sample
# Human readable component description
Expand Down
2 changes: 1 addition & 1 deletion pluginDefinition.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"identifier": "org.zowe.zlux.sample.iframe",
"apiVersion": "2.0.0",
"pluginVersion": "2.13.0",
"pluginVersion": "3.0.0",
"license": "EPL-2.0",
"author": "Zowe",
"homepage": "https://github.com/zowe/sample-iframe-app",
Expand Down

0 comments on commit bd6bfb1

Please sign in to comment.