Skip to content

Commit

Permalink
Comment snaps temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoet-jh committed May 13, 2024
1 parent b2788c7 commit c309aa8
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .github/workflows/pass-complete-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit c309aa8

Please sign in to comment.