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: start Docker image and test output #110

Merged
merged 18 commits into from
Apr 26, 2023
Merged

ci: start Docker image and test output #110

merged 18 commits into from
Apr 26, 2023

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Apr 26, 2023

  • Fix Dockerfile to accommodate the latest changes and build a working Docker image again.
  • Upgrade Saturn L2 Node to version v0.5.1
  • Add a new section to our CI workflow to build the Docker image, run it and check the activity log to verify that all modules have started.
  • Partially revert 6bbd34c (Fix Docker build + setup a CI step #91). The "Docker" workflow is executed for release builds only; the pull requests are tested using the newly added section in the "CI" workflow.

More information on the users and permissions in the Node Docker images:
nodejs/docker-node#740 (comment)

Ideally, we would re-use the same workflow step to build the Docker image for release and for CI testing, just changing the output for the image(s). Unfortunately, that's not possible right now.

Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
Use the same module & executable name everywhere, using the same
letter casing: `saturn-L2-node`

Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
@bajtos bajtos marked this pull request as ready for review April 26, 2023 14:20
Signed-off-by: Miroslav Bajtoš <[email protected]>
Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kickass!!!

bin/station.js Show resolved Hide resolved
@bajtos bajtos enabled auto-merge (squash) April 26, 2023 14:45
@bajtos bajtos merged commit 1086593 into main Apr 26, 2023
@bajtos bajtos deleted the run-docker-in-ci branch April 26, 2023 14:45
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