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

ci: fix test-installation #611

Merged
merged 5 commits into from
Apr 18, 2023
Merged

Conversation

texastony
Copy link
Contributor

@texastony texastony commented Apr 17, 2023

Issue #, if available: CI broken due to:

  • Pushing to CodeArtifact always fails due to already existing version
  • Test Installation Ubuntu Latest always fails due to GitHub removing .NET 3.1.x
  • Purge always fails as it was aiming at the wrong package

Description of changes:

  • Make the Unique Version a concatenation of Major.Minor.Patch-GitSha-YYYY-MM-DD.
    It will always succeed at least once a day
  • Push with Skip Duplicate. Even if a version match occurs, testing with the published
    artifact will execute.
    This is very important as the purge will not run unless the tests succeed.
  • Use actions/setup-dotnet@v3 to setup DotNet.
  • Correct the package name in Purge

Squash/merge commit message, if applicable:
ci: restore test-installation workflow

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@texastony texastony requested a review from a team as a code owner April 17, 2023 19:53
@texastony texastony marked this pull request as draft April 17, 2023 19:53
@texastony texastony marked this pull request as ready for review April 17, 2023 21:09
@texastony
Copy link
Contributor Author

For the first time ever, a successful purge from CA:

{
    "successfulVersions": {
        "3.1.0-ba2c5fe-2023-04-17": {
            "revision": "NpsLj3gd0Min3k3xHRWNKZnVeEu/s37jr5SycxpvSAU=",
            "status": "Deleted"
        }
    },
    "failedVersions": {}
}

@texastony
Copy link
Contributor Author

I am so annoyed that the verification keeps timing out.
It is not relevant to this PR as no Dafny code nor dependencies were changed.

@texastony texastony merged commit ac81733 into mainline Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants