Last active
June 10, 2021 10:18
-
-
Save vickywane/c802aefbd137b2b841b2397ace36834c to your computer and use it in GitHub Desktop.
My article outline with Okteto explaining the use of Okteto Actrions within the Workflow build of an application's container managed with Okteto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Automating cloud workflows using Okteto Actions. | |
### Goal | |
The goal of this article is to give the reader an insight into how Okteto can be programmatically used within the automated Continuous Integration process of an application managed using GitHub Actions. | |
### Article Steps: | |
A brief introduction to Github Actions and the need for an automation process. | |
- Cloning the Okteto movie application from GitHub | |
* A brief overview of the cloned application structure including the configuration files. | |
* Creating a few end-to-end test suites using React Testing Library within the frontend directory to be used in testing the frontend application at a later build process. | |
- Using Okteto GitHub Actions within the cloned application’s workflow build; | |
* Authenticating with Oketo from a workflow build using the oketo login action. | |
* Creating a development environment namespace using the okteto namespace action | |
* Building an image from the cloned application’s Dockerfile using the okteto build action. Executing the unit tests for the cloned application would be among the build steps, if the tests fail, the entire build would fail. | |
* Configuring the okteto push action to push the built container image to the Okteto Container Registry ( OCR ). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This outline is also available in a more readable format within a Google Doc file here.