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] Add GitHub Action to push development docker images #3503

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

niccoloraspa
Copy link
Member

@niccoloraspa niccoloraspa commented Nov 23, 2022

What is the purpose of the change

This PR creates a GitHub Action to push development docker images on:

  1. Every new tag containing a release candidate (e.g. v1.2.3-rc4).
    osmolabs/osmosis-dev:1.2.3-rc4 is pushed.

  2. Every new commit to the main branch
    osmolabs/osmosis-dev:main-{SHORT_SHA}-$(date +%s) is pushed.

  3. Every new commit to a development branch vN.x (e.g. v1.x)
    osmolabs/osmosis-dev-v1.x:{SHORT_SHA}-$(date +%s) is pushed.

Note: $(date +%s) will be used later as an index to sort the tags chronologically in the docker registry to get the latest one.

All the images above support only linux/amd64 (not linux/arm64) so they can be built a lot faster.
All the images are based on an alpine image for easy debugging (you would always have a shell to exec inside the container)

Context

This is the first step for the automatic creation of devnets.
On every new commit to a vN.x branch, a new vanilla (or state-exported) testnet will be launched.

Brief Changelog

  • Add GitHub Action to push development docker images

Testing and Verifying

Ran a test on the osmosis-ci-repo.

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? no
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
  • How is the feature or change documented? not applicable

@niccoloraspa niccoloraspa added devops V:state/compatible/no_backport State machine compatible PR, depends on prior breaks labels Nov 23, 2022
@niccoloraspa niccoloraspa requested a review from a team November 23, 2022 21:50
@github-actions github-actions bot added the T:CI label Nov 23, 2022
Copy link
Member

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

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

Awesome!
utACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops T:CI V:state/compatible/no_backport State machine compatible PR, depends on prior breaks
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants