Container build and run of semver workflow
Install Node 18 and Node 20 (assumes nvm)
nvm install 18 && nvm exec 18 bash -c 'export NODE_ENV=development && corepack enable'
nvm install 20 && nvm exec 20 bash -c 'export NODE_ENV=development && corepack enable'
It is important you have run the above with corepack enable for the node versions used
git clone https://github.com/pranavgaikwad/semver-ansible.git
cd pf-tools-builder
build the image
podman build --no-cache \
--build-arg PF_REACT_TO=v6.4.1 \
--build-arg PF_REACT_FROM=v5.3.3 \
--build-arg PF_DEP_FROM=v5.3.0 \
--build-arg PF_DEP_TO=v6.4.0 \
--build-arg TO_NODE_VERSION=20 \
--build-arg FROM_NODE_VERSION=18 \
--build-arg FROM_INSTALL_CMD="corepack yarn install" \
-f Containerfile \
-t pf-tools-from533-$(date +%Y%m%d) .
Checkout app to run against
export IMAGE="pf-tools-from533-20260504:latest"
export GCP_PROJECT_ID="$ANTHROPIC_VERTEX_PROJECT_ID"
export GCP_LOCATION="$CLOUD_ML_REGION"
time ./run_container.sh --migrate patternfly6-migration-bench --image ${IMAGE} 2>&1 | tee run_container_pf_tools_from_$(date +%Y%m%d).log