Skip to content
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

Merged
merged 12 commits into from
Apr 19, 2023
Merged

Conversation

F-WRunTime
Copy link
Member

Step 1 to update distributionManagement in Pom for first release.

@F-WRunTime F-WRunTime requested a review from dwightguth April 13, 2023 23:18
@rv-jenkins rv-jenkins changed the base branch from master to develop April 13, 2023 23:18
@F-WRunTime F-WRunTime requested a review from a team as a code owner April 14, 2023 18:11
@F-WRunTime F-WRunTime requested a review from ehildenb April 14, 2023 18:11
@F-WRunTime F-WRunTime requested a review from ehildenb April 15, 2023 03:19
@F-WRunTime
Copy link
Member Author

An error in using submodules; recursive in actions/checkout@v3 fails here

A simple workaround is to run the explicit git command.

Copy link
Collaborator

@dwightguth dwightguth left a 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
@F-WRunTime F-WRunTime requested a review from dwightguth April 18, 2023 03:40
@F-WRunTime
Copy link
Member Author

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
Copy link
Member

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?

Copy link
Member

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?

Copy link
Collaborator

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.

@rv-jenkins rv-jenkins merged commit cf26966 into develop Apr 19, 2023
@rv-jenkins rv-jenkins deleted the feature/mvn-migration branch April 19, 2023 21:02
ehildenb added a commit that referenced this pull request Apr 26, 2023
dwightguth pushed a commit that referenced this pull request Apr 27, 2023
* 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.
Baltoli pushed a commit that referenced this pull request Nov 1, 2023
…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>
@Baltoli Baltoli mentioned this pull request Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants