diff --git a/.github/workflows/pass-complete-release.yml b/.github/workflows/pass-complete-release.yml index 121dc61..92357ba 100644 --- a/.github/workflows/pass-complete-release.yml +++ b/.github/workflows/pass-complete-release.yml @@ -211,36 +211,36 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.JAVA_RELEASE_PAT }} - - name: Set Snapshot/commit ~ Java Repositories - run: | - (cd main && mvn versions:set -B -ntp -DallowSnapshots=true -DnewVersion=$NEXT && git commit -am "Update version to $NEXT") - (cd combined && mvn versions:set -B -ntp -DallowSnapshots=true -DnewVersion=$NEXT) - (cd combined/pass-core && git commit -am "Update version to $NEXT") - (cd combined/pass-support && git commit -am "Update version to $NEXT") - - - name: Release Snapshot Java modules - working-directory: combined - run: | - mvn -B -V -ntp -P release clean deploy -DskipTests -DskipITs - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - - - name: Push Snapshot Docker images to GHCR ~ Java Repositories - run: | - docker push ghcr.io/eclipse-pass/pass-core-main:$NEXT - docker push ghcr.io/eclipse-pass/deposit-services-core:$NEXT - docker push ghcr.io/eclipse-pass/pass-notification-service:$NEXT - docker push ghcr.io/eclipse-pass/jhu-grant-loader:$NEXT - docker push ghcr.io/eclipse-pass/pass-journal-loader:$NEXT - docker push ghcr.io/eclipse-pass/pass-nihms-loader:$NEXT - - - name: Push the Snapshot commits ~ Java Repositories - run: | - (cd main && git push origin) - (cd combined/pass-core && git push origin) - (cd combined/pass-support && git push origin) +# - name: Set Snapshot/commit ~ Java Repositories +# run: | +# (cd main && mvn versions:set -B -ntp -DallowSnapshots=true -DnewVersion=$NEXT && git commit -am "Update version to $NEXT") +# (cd combined && mvn versions:set -B -ntp -DallowSnapshots=true -DnewVersion=$NEXT) +# (cd combined/pass-core && git commit -am "Update version to $NEXT") +# (cd combined/pass-support && git commit -am "Update version to $NEXT") +# +# - name: Release Snapshot Java modules +# working-directory: combined +# run: | +# mvn -B -V -ntp -P release clean deploy -DskipTests -DskipITs +# env: +# MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} +# MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} +# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} +# +# - name: Push Snapshot Docker images to GHCR ~ Java Repositories +# run: | +# docker push ghcr.io/eclipse-pass/pass-core-main:$NEXT +# docker push ghcr.io/eclipse-pass/deposit-services-core:$NEXT +# docker push ghcr.io/eclipse-pass/pass-notification-service:$NEXT +# docker push ghcr.io/eclipse-pass/jhu-grant-loader:$NEXT +# docker push ghcr.io/eclipse-pass/pass-journal-loader:$NEXT +# docker push ghcr.io/eclipse-pass/pass-nihms-loader:$NEXT +# +# - name: Push the Snapshot commits ~ Java Repositories +# run: | +# (cd main && git push origin) +# (cd combined/pass-core && git push origin) +# (cd combined/pass-support && git push origin) - name: Set Snapshot/commit ~ pass-ui uses: ./main/.github/actions/yarn-version @@ -274,20 +274,20 @@ jobs: - name: Push the Snapshot commits ~ pass-acceptance-testing run: cd combined/pass-acceptance-testing && git push origin - - name: Set Snapshot/commit ~ pass-docker - run: | - cd combined/pass-docker - sed -i "/^PASS_VERSION/s/.*/PASS_VERSION=$NEXT/" .env - git commit -am "Update version to $NEXT" - - - name: Build Snapshot pass-docker images - working-directory: combined/pass-docker - run: docker compose -f docker-compose.yml -f eclipse-pass.local.yml build idp ldap - - - name: Push Snapshot Docker images to GHCR ~ pass-docker - run: | - docker push ghcr.io/eclipse-pass/demo-ldap:$NEXT - docker push ghcr.io/eclipse-pass/idp:$NEXT - - - name: Push the Snapshot commits ~ pass-docker - run: cd combined/pass-docker && git push origin +# - name: Set Snapshot/commit ~ pass-docker +# run: | +# cd combined/pass-docker +# sed -i "/^PASS_VERSION/s/.*/PASS_VERSION=$NEXT/" .env +# git commit -am "Update version to $NEXT" +# +# - name: Build Snapshot pass-docker images +# working-directory: combined/pass-docker +# run: docker compose -f docker-compose.yml -f eclipse-pass.local.yml build idp ldap +# +# - name: Push Snapshot Docker images to GHCR ~ pass-docker +# run: | +# docker push ghcr.io/eclipse-pass/demo-ldap:$NEXT +# docker push ghcr.io/eclipse-pass/idp:$NEXT +# +# - name: Push the Snapshot commits ~ pass-docker +# run: cd combined/pass-docker && git push origin