-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pt.1 change to push location for mvn packages #3338
Conversation
…onManagement repository on release builds, defaults to do not upload anything
…o action 'token', to provide secret WHEN deploying only
…packaging, and MacOS Packaging
An error in using submodules; recursive in actions/checkout@v3 fails here A simple workaround is to run the explicit git command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are there two different calls to mvn deploy in this workflow? As far as I can tell, one is Linux and the other is MacOS, but I don't believe maven actually deploys anything that is platform-specific, so you ought to need to do it only once during the actual final creation of the release.
Removing redundant mvn publish
Set batch mode
Updated to remove mvn push in Mac build steps |
@@ -106,6 +118,9 @@ jobs: | |||
docker exec -t k-package-docker-test-jammy-${GITHUB_SHA} bash -c 'cd ~ && kompile test.k --backend llvm' | |||
docker exec -t k-package-docker-test-jammy-${GITHUB_SHA} bash -c 'cd ~ && kompile test.k --backend haskell' | |||
docker image push ${DOCKERHUB_REPO}:${version_tag} | |||
docker cp ~/.m2/settings.xml k-package-docker-test-jammy-${GITHUB_SHA}:~/.m2/settings.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand tihs docker cp ...
command? Are we copying a file from the host into the docker image? Why? Shouldn't everything happen inside the docker container?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even more confusing, why is this coming from the host machines home directory, rather than some specific file in teh K repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file contains secrets like the maven username and password, so it gets initialized by the CI and it's getting copied into the docker image where it's being used.
* Revert "Fix can't find mvn (#3366)" This reverts commit 28a7577. * Revert "Working around for cp unable to resolve incontainer tilden expession (#3362)" This reverts commit d9e4b92. * Revert "Fixing missing directory in temp container for m2 settings.xml (#3351)" This reverts commit c744ade. * Revert "Pt.1 change to push location for mvn packages (#3338)" This reverts commit cf26966.
…3059) * !!! (31415a0b) haskell-backend/src/main/native/haskell-backend: 31415a0b6 - Remove AcceptsMultipleResults (#3366) * !!! (9a0e2c29) haskell-backend/src/main/native/haskell-backend: 9a0e2c299 - Update dependency: deps/k_release (#3361) * !!! (ac889cea) haskell-backend/src/main/native/haskell-backend: ac889cea8 - Monomorphization of Simplifier, leg #2 (#3346) * !!! (e4bf0795) haskell-backend/src/main/native/haskell-backend: e4bf07956 - Clean up some Template Haskell quoting (#3371) * !!! (40ec7d6f) haskell-backend/src/main/native/haskell-backend: 40ec7d6fa - Minor cleanups in Kore.Unification.NewUnifier (#3367) * !!! (9b8df510) haskell-backend/src/main/native/haskell-backend: 9b8df510b - Df/caching termlike hashes (#3338) * !!! (5623b560) haskell-backend/src/main/native/haskell-backend: 5623b5603 - Monomorphization of Simplifier, leg #3 (#3375) * !!! (4e76bf2c) haskell-backend/src/main/native/haskell-backend: 4e76bf2ce - Remove some redundant instance constraints (#3370) * !!! (0d66d723) haskell-backend/src/main/native/haskell-backend: 0d66d7239 - Update dependency: deps/k_release (#3368) * !!! (9491e547) haskell-backend/src/main/native/haskell-backend: 9491e547a - Use source location in rewrite trace (#3382) * !!! (0bb5f8b3) haskell-backend/src/main/native/haskell-backend: 0bb5f8b31 - Update dependency: deps/k_release (#3385) * !!! (154ac3f3) haskell-backend/src/main/native/haskell-backend: 154ac3f33 - Kore Server: fix substitution result sort (#3386) * !!! (bdfc0fa4) haskell-backend/src/main/native/haskell-backend: bdfc0fa4b - Print build logs when building Nix flakes (#3389) * Sync flake inputs to submodules * set-symbolic-tests/inset-11-spec: update expected output * Sync flake inputs to submodules * Sync flake inputs to submodules Co-authored-by: Everett Hildenbrandt <everett.hildenbrandt@gmail.com> Co-authored-by: rv-jenkins <devops@runtimeverification.com>
Step 1 to update distributionManagement in Pom for first release.