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

New docker images aren't being created on releases #8904

Closed
4 tasks done
cbaker6 opened this issue Jan 22, 2024 · 10 comments · Fixed by #8905 or #8976
Closed
4 tasks done

New docker images aren't being created on releases #8904

cbaker6 opened this issue Jan 22, 2024 · 10 comments · Fixed by #8905 or #8976
Labels
state:released Released as stable version state:released-6.x.x state:released-alpha Released as alpha version state:released-beta Released as beta version type:ci CI related issue

Comments

@cbaker6
Copy link
Contributor

cbaker6 commented Jan 22, 2024

New Issue Checklist

Issue Description

Docker images stopped deploying on releases for 3+ months https://hub.docker.com/r/parseplatform/parse-server/tags. Instead, the dock CI hangs.

I have a workaround for the issue, will submit shortly, as the problem consist of all a couple of items I've seen in the docker community. The parse-dashboard repo doesn't have this issue because GitHub actions in that repo is only building for the linux/amd64 platform which doesn't require QEMU or buildx.

Steps to reproduce

Attempt to do a new release.

Actual Outcome

No new image is created

Expected Outcome

A new image on docker hub

Environment

Server

  • Parse Server version: 6.4.0 and alpha
  • Operating system: Linux
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): N/A
  • Database version: N/A
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): N/A

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): N/A
  • SDK version: N/A

Logs

See https://github.com/parse-community/parse-server/actions/runs/7616018905/job/20741904342

Copy link

parse-github-assistant bot commented Jan 22, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.0.0-alpha.13

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Feb 14, 2024
@mtrezza mtrezza reopened this Feb 14, 2024
@mtrezza
Copy link
Member

mtrezza commented Feb 14, 2024

Reopneing; building docker image fails, see for example https://github.com/parse-community/parse-server/actions/runs/7907865797/job/21585886190:

Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm ci --omit=dev --ignore-scripts && cp -R node_modules prod_node_modules && npm ci && npm run build" did not complete successfully: exit code: 1

@cbaker6
Copy link
Contributor Author

cbaker6 commented Feb 15, 2024

Taking a look and will report back with a fix...

@cbaker6
Copy link
Contributor Author

cbaker6 commented Feb 15, 2024

My initial guess is this error might be random, I see 7.0.0-alpha.13, https://hub.docker.com/layers/parseplatform/parse-server/7.0.0-alpha.13/images/sha256-dc68755c92c66ea70c2437cdc59ced526a0f82d9fdfbfdfb55ecf731785cdb50?context=explore, created an image which was the release right after #8905 was merged.

I’ll wait to see if it fails consistently, but looks like a random network issue https://github.com/parse-community/parse-server/actions/runs/7907865797/job/21585886190#step:8:705

@mtrezza
Copy link
Member

mtrezza commented Feb 15, 2024

Restarted all failed docker jobs since the fix and they all failed again. Also tried the manual workflow. Maybe the chained command could be broken up to get a more detailed error?

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.0.0-alpha.24

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.5.3

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.0.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Mar 19, 2024
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.0.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-6.x.x state:released-alpha Released as alpha version state:released-beta Released as beta version type:ci CI related issue
Projects
None yet
3 participants