-
Notifications
You must be signed in to change notification settings - Fork 224
Conversation
@shargon Need your double check. |
funny, it passed test on my branch as well https://github.com/Liaojinghui/neo-node/actions/runs/4243191118/jobs/7375617322 |
Can someone restart this GitHub Action? 🙏 |
Absolutely strange. My branch (from where I'm performing the PR): It passes. |
It complains about a Someone with more dotnet knowledge can check this, please?!?! 🙏 Check the build error here: https://github.com/neo-project/neo-node/actions/runs/4227689982/jobs/7382971225 |
Let's do in two PR,@gsmachado . |
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.
Maybe dotnet env is missing
- name: Setup .NET Core uses:
actions/setup-dotnet@v1
with: dotnet-version: ${{ env.DOTNET_VERSION }}
No, this is unrelated, 100% sure. No need for dotnet version within the GitHub Action environment since the docker image (see the file here) contains the correct dotnet version and tooling coming from Microsoft (as a docker image). |
The most strange thing: there were 2 attempts. Both failed with DIFFERENT errors. Attempt 1: Attempt 2: However, BOTH attempts failed when building a docker image for |
c1a4751
Alright! Fixed. 👍 @vncoelho, @Liaojinghui, @shargon, @superboyiii: can any of you approve & merge? 😸 From now on, if devs commit code and docker image doesn't build, the whole CI/CD will (intentionally) miserably fail. 👀 |
Maybe just add the new task at the end of the current file,@gsmachado |
@vncoelho try to go to GitHub on your desktop/browser and merge. And not on your mobile phone. 😄 |
I'd rather prefer to keep things separate, as they should be. 😸 Do you see the same error on the browser (desktop) version of GitHub? |
Let me try on the browser later. |
Can someone merge? |
It was github mobile problem I was having. |
@vncoelho awesome, thanks! |
As mentioned here, I believe that once again the
Dockerfile
was simply ignored after the upgrade from dotnet 6 to 7.It already happened more than once: developers change code but they simply forget to update other parts of the repo that do not fail on the build time. There are some Neo projects relying on this
Dockerfile
, especially for tests.This PR makes the whole GitHub Action workflow fail if anything is merged and something with
Dockerfile
image is not right (e.g., wrong dotnet version, or anything like that).The next step would be to enhance to check if the Docker image at least starts with the node.. but that's a bit more work and I haven't included it in this PR. One thing at a time. 😄