Skip to content

Commit

Permalink
Fix v3 PTF Build (#4111)
Browse files Browse the repository at this point in the history
* found some lingering azwe002 references

Signed-off-by: MarkAckert <[email protected]>

* update cli package to v3

Signed-off-by: MarkAckert <[email protected]>

* remove v2 holddata in playbook and replace it with no-op

Signed-off-by: MarkAckert <[email protected]>

* dropped the PGM

Signed-off-by: MarkAckert <[email protected]>

* update cli version in tests

Signed-off-by: MarkAckert <[email protected]>

* fix the cli match string

Signed-off-by: MarkAckert <[email protected]>

---------

Signed-off-by: MarkAckert <[email protected]>
  • Loading branch information
MarkAckert authored Dec 18, 2024
1 parent bb648cc commit bd788d6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ jobs:
- name: '[PSWI 0] PSWI pre-build check for existing smpe'
if: env.INPUTS_BUILD_PSWI == 'true' && github.event.inputs.PSWI_SMPE_ARTIFACTORY_PATH != '' && github.event.inputs.PSWI_SMPE_AZWE_ARTIFACTORY_PATH != ''
run: |
jfrog rt dl ${{github.event.inputs.PSWI_SMPE_AZWE_ARTIFACTORY_PATH}}/AZWE002*.zip --flat=true .pax/AZWE002.zip
jfrog rt dl ${{github.event.inputs.PSWI_SMPE_AZWE_ARTIFACTORY_PATH}}/AZWE003*.zip --flat=true .pax/AZWE003.zip
jfrog rt dl ${{github.event.inputs.PSWI_SMPE_ARTIFACTORY_PATH}}/zowe-smpe-*.zip --flat=true .pax/zowe-smpe.zip
- name: '[SMPE Pax 4] Build PSWI'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ env:
SANITY_TEST_PATH: tests/sanity
DEFAULT_ZOWE_PAX_ARTIFACTORY_PATTERN: libs-snapshot-local/org/zowe/*zowe*{branch-name}*.pax
DEFAULT_ZOWE_SMPE_ARTIFACTORY_PATTERN: libs-snapshot-local/org/zowe/*zowe-smpe*{branch-name}*.zip
DEFAULT_ZOWE_CLI_ARTIFACTORY_PATTERN: PLACE_HOLDER/org/zowe/cli/zowe-cli-package/*zowe-cli-package-2*.zip
DEFAULT_ZOWE_CLI_ARTIFACTORY_PATTERN: PLACE_HOLDER/org/zowe/cli/zowe-cli-package/*zowe-cli-package-3*.zip
DEFAULT_ZOWE_EXT_ARTIFACTORY_PATTERN: libs-snapshot-local/org/zowe/{ext-name}/{ext-version}/{ext-name}-*.pax

# below block can be overwritten, adjusted by DevOps only
Expand Down
2 changes: 1 addition & 1 deletion playbooks/install-fmid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

# ============================================================================
# if zowe_build_remote is set, we copy the FMID from zowe_fmids_dir_remote to our work folder
# the value of zowe_build_remote should be FMID like AZWE002
# the value of zowe_build_remote should be FMID like AZWE003
- name: Copy Zowe FMID files from {{ zowe_fmids_dir_remote }}/{{ zowe_build_remote }} if it has value
when: zowe_build_remote is defined
import_role:
Expand Down
29 changes: 5 additions & 24 deletions playbooks/roles/ptf/templates/HOLDDATA.jcl.j2
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
//SZWELOAD JOB
// EXPORT SYMLIST=(TZON,TRGT)
// SET TRGT={{ zowe_smpe_hlq_tzone }}
// SET SMPE={{ zowe_smpe_hlq_csi }}
// SET TZON=TZONE
//UCLIN EXEC PGM=GIMSMP,REGION=0M,COND=(4,LT)
//SZWELOAD DD SPACE=(TRK,(30,15,15)),
// UNIT=SYSALLDA,
// DISP=(MOD,CATLG),
// DSNTYPE=LIBRARY,
// RECFM=U,
// LRECL=0,
// BLKSIZE=32760,
// DSN=&TRGT..SZWELOAD
//SMPCSI DD DISP=OLD,DSN={{ smpe_csi }}
//SMPCNTL DD *,SYMBOLS=JCLONLY
SET BDY(&TZON).
UCLIN.
ADD DDDEF (SZWELOAD)
DATASET(&TRGT..SZWELOAD)
UNIT(SYSALLDA)
WAITFORDSN
SHR .
ENDUCL.
//HOLDDATA JOB
//* This job can be customized if holddata actions are added to Zowe PTFs
//* For example, adding a new load module to an SMP/e-managed dataset.
//DUMMY EXEC PGM=IEFBR14
//*
2 changes: 1 addition & 1 deletion tests/installation/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as path from 'path';
// const debug = Debug('zowe-install-test:constants');

// the FMID we will use to test PTF
export const ZOWE_FMID = 'AZWE002';
export const ZOWE_FMID = 'AZWE003';

// where ansible playbooks located
export const ANSIBLE_ROOT_DIR: string = path.resolve(__dirname, '../../../playbooks');
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/test/cli/test-01-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ describe('cli version', function() {
expect(result).to.have.property('stderr');

expect(result.stderr).to.be.empty;
expect(result.stdout).to.match(/^7\./);
expect(result.stdout).to.match(/^CLI Version: 8\./);
});
});

0 comments on commit bd788d6

Please sign in to comment.