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

Canary builds are not published #3073

Closed
kichristensen opened this issue Apr 10, 2024 · 4 comments · Fixed by #3084 or #3127
Closed

Canary builds are not published #3073

kichristensen opened this issue Apr 10, 2024 · 4 comments · Fixed by #3084 or #3127
Assignees
Labels
bug Oops, sorry!

Comments

@kichristensen
Copy link
Contributor

Describe the bug

The website, https://porter.sh/docs/getting-started/install-porter/#canary, describes how to download the canary build, but the canary build has not been uipdate for a very long time, https://github.com/getporter/porter/releases/tag/canary.

To Reproduce

Steps to reproduce the behavior:

  1. Install the canary release
  2. Run this porter command porter version
  3. See that version v1.0.0-73-g43fa0c5f is installed and that the mixin installation fails

Expected behavior

The canary release should be install correctly in the version produced by the main branch or the documentation should not mention how to download the canary build

Porter Command and Output

$  curl -L https://cdn.porter.sh/canary/install-linux.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1110  100  1110    0     0    846      0  0:00:01  0:00:01 --:--:--  3100
Installing [email protected] to /home/kim/.porter from https://cdn.porter.sh
curl: (22) The requested URL returned error: 404
@kichristensen kichristensen added the bug Oops, sorry! label Apr 10, 2024
@schristoff
Copy link
Member

🤔 Is the mixin feed not being updated for canary either? I wonder if the github workflow needs the same update as you did for primary releases

@kichristensen
Copy link
Contributor Author

@schristoff I have looked a little at this issue. It seems to be a combination of two things, but I can only verify one of them.

  1. The porter-canary pipeline always fails because of missing inputs when triggered by a push to main. This is pretty easy to fix.
  2. It looks like that when the pipelines was running in Azure Devops that something updated the Git tag canary, see https://dev.azure.com/getporter/porter/_build/results?buildId=8747&view=logs&j=8561663e-1bfb-5abd-6b97-f5ad2d809477&t=2af5fe51-7771-5e5d-91a7-c278b90bd4a2&l=97. I cannot find any trace of the output in any mage files or similar, and it looks like it is important that the canary tag is updated in order for the canary build to be published

@kichristensen
Copy link
Contributor Author

Just found the code the updates the tag in the magefiles. Then I think the solution should be to get the pipeline to run correctly. I will create a PR for that soon

@kichristensen
Copy link
Contributor Author

Reopened as the canary build is still not published correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oops, sorry!
Projects
None yet
2 participants