Replies: 6 comments 2 replies
-
@dwdraju, |
Beta Was this translation helpful? Give feedback.
-
Icon release and tagging with manual inputs(IDEA): https://github.com/icon-project/icon-release/blob/master/.github/workflows/release_packages.yaml |
Beta Was this translation helpful? Give feedback.
-
@dwdraju Let's rename the current discussion title. Current name misleading a bit. The first and second points are more about e2e tests. The first point is not about general project building process. We don't use docker images or provision for general build. (It's looks more about e2e flow. I would move out the third point into separate discussion. There are some disadvantages in this approach:
|
Beta Was this translation helpful? Give feedback.
-
I would name this discussion E2E github actions workflow. |
Beta Was this translation helpful? Give feedback.
-
For me this discussion description is still not clear If you don't want to change the name, and this discussion is about a common build process that we have in the build.yml file.
|
Beta Was this translation helpful? Give feedback.
-
Variables is a third option in your list. Is it a task like Build and Deployment? |
Beta Was this translation helpful? Give feedback.
-
Github actions will be used for both docker build and deployment. The deployment of docker image will be done by self-hosted runner to enable deployment into our internal network without opening SSH port publicly. Github actions logs and steps can be seen from Actions tab of the repo.
Build: This step includes building a docker image and sending the image to a registry. The image will have the module name and short commit SHA(7 character) so that the image can be separated for each build and makes it easier even for rollback. Also, the image will have
latest
tag to make it easier for pulling latest image for using cache to fasten build process.Deployment: The deployment of docker images are done via self-hosted Github Actions Runner on our own internal instances. The self-hosted runner picks the job from github and runs the deployment script on the target instance.
Variables: Secret and non-secret variables like deploy host, docker registry repo & token will be stored on Github secret variables.
Versioning and deploy artifact
We use semantic versioning strategy for Github tag and release.
TODO:
Automated Tag Bump
We use Github Actions for bumping the semantic versioning after certain actions.
Beta Was this translation helpful? Give feedback.
All reactions