diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28e2dcbd..56265896 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -174,15 +174,11 @@ jobs: run: | curl http://localhost:52773/registry/packages/-/all | jq curl http://localhost:52773/registry/packages/zpm/ | jq - ASSET_NAME='zpm-0.7.4.xml' - ASSET_URL=`wget --header "Authorization: token ${GITHUB_TOKEN}" -qO- https://api.github.com/repos/intersystems/ipm/releases | jq -r ".[].assets[] | select(.name == \"${ASSET_NAME}\") | .browser_download_url"` - wget $ASSET_URL -O /tmp/zpm.xml CONTAINER=$(docker run --network zpm --rm -d ${{ steps.image.outputs.name }} ${{ steps.image.outputs.flags }}) - docker cp /tmp/zpm.xml $CONTAINER:/home/irisowner/zpm.xml docker cp tests/migration/v0.7-to-v0.9/. $CONTAINER:/tmp/test-package/ sleep 5; docker exec $CONTAINER /usr/irissys/dev/Cloud/ICM/waitISC.sh docker exec -i $CONTAINER iris session iris -UUSER << EOF - set sc = ##class(%SYSTEM.OBJ).Load("/home/irisowner/zpm.xml", "ck") + s version="0.7.4" s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/"_version_"/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c") zpm "list":1 zpm "install dsw":1 zpm "repo -r -name registry -url ""http://registry:52773/registry/"" -username admin -password SYS":1