Skip to content

Commit

Permalink
Zowe Suite v1.27.0-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
zowe-robot authored Jan 11, 2022
2 parents 7825448 + af6b39a commit 9913b09
Show file tree
Hide file tree
Showing 16 changed files with 1,136 additions and 10 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build and Test Workflow
on:
push:
branches:
- staging, master, rc
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
PERFORM_RELEASE:
description: '[Release] perform release'
required: false
default: 'false'


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:
github-token: ${{ secrets.GITHUB_TOKEN }}

build-test:
runs-on: ubuntu-latest
needs: check-permission
steps:
- name: '[Prep 1] Checkout'
uses: actions/checkout@v2
with:
submodules: true

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

- name: 'convert manifest'
run: |
COMMIT_HASH=$(git rev-parse --verify HEAD)
CURRENT_TIME=$(date +%s%3N)
ZSS_VERSION=$(cat version.txt)
if [ -z ${{ github.event.pull_request.number }} ]
then
CURRENT_BRANCH=${GITHUB_REF#refs/heads/}
else
CURRENT_BRANCH=PR-${{ github.event.pull_request.number }}
fi
sed -e "s|{{build\.branch}}|${CURRENT_BRANCH}|g" \
-e "s|{{build\.number}}|${{ github.run_number }}|g" \
-e "s|{{build\.commitHash}}|${COMMIT_HASH}|g" \
-e "s|{{build\.timestamp}}|${CURRENT_TIME}|g" \
-e "s|{{build\.version}}|${ZSS_VERSION}|g" \
manifest.template.yaml > manifest.yaml
echo "Current manifest.yaml is:"
cat manifest.yaml
- name: '[Prep 3] Prepare workflow'
uses: zowe-actions/shared-actions/prepare-workflow@main

- name: '[Packaging] Make pax'
uses: zowe-actions/shared-actions/make-pax@main
with:
pax-name: 'zss'
pax-options: '-x os390 -pp'
pax-ssh-username: ${{ secrets.SSH_MARIST_USERNAME }}
pax-ssh-password: ${{ secrets.SSH_MARIST_RACF_PASSWORD }}

- name: '[Publish] Publish'
uses: zowe-actions/shared-actions/publish@main
if: success()
with:
artifacts: |
.pax/zss.pax
perform-release: ${{ github.event.inputs.PERFORM_RELEASE }}

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the ZSS package will be documented in this file.

## Recent Changes

## `1.27.0`

- Enhancement: Get public key for JWT signature verification using APIML

## `1.26.0`

- Enhancement: Add support for continuations in the ZIS PARMLIB member
Expand Down
4 changes: 3 additions & 1 deletion build/build_zss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ZSS="../.."
COMMON="../../deps/zowe-common-c"
GSKDIR=/usr/lpp/gskssl
GSKINC="${GSKDIR}/include"
GSKLIB="${GSKDIR}/lib/GSKSSL.x"
GSKLIB="${GSKDIR}/lib/GSKSSL.x ${GSKDIR}/lib/GSKCMS31.x"


echo "********************************************************************************"
Expand Down Expand Up @@ -147,6 +147,8 @@ if c89 \
${ZSS}/c/rasService.c \
${ZSS}/c/userInfoService.c \
${ZSS}/c/passTicketService.c \
${ZSS}/c/jwk.c \
${ZSS}/c/safIdtService.c \
${GSKLIB} ;
then
extattr +p ${ZSS}/bin/zssServer
Expand Down
4 changes: 3 additions & 1 deletion build/build_zss64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ZSS="../.."
COMMON="../../deps/zowe-common-c"
GSKDIR=/usr/lpp/gskssl
GSKINC="${GSKDIR}/include"
GSKLIB="${GSKDIR}/lib/GSKSSL64.x"
GSKLIB="${GSKDIR}/lib/GSKSSL64.x ${GSKDIR}/lib/GSKCMS64.x"

echo "********************************************************************************"
echo "Building ZSS..."
Expand Down Expand Up @@ -122,6 +122,8 @@ if ! c89 \
${ZSS}/c/rasService.c \
${ZSS}/c/userInfoService.c \
${ZSS}/c/passTicketService.c \
${ZSS}/c/jwk.c \
${ZSS}/c/safIdtService.c \
${GSKLIB} ;
then
extattr +p ${ZSS}/bin/zssServer64
Expand Down
Loading

0 comments on commit 9913b09

Please sign in to comment.