Task 5: Configure go-microservice parameters Your build pipeline now should look like this. In order to start the deployment automatically after the build pipeline is completed, we need to add a trigger on the airflow-helm build pipeline. Update your build pipeline for airflow and add a trigger to deployment. Since we set up an ingress controller to access our microservices from outside OKE, we also need to set up for the airflow. Go on your DevOps project, click Deployment Pipelines”, then create a new pipeline named airflow-helm-deploy.Ĭreate a new stage to create new namespace in OKE, select Apply Manifest to your Kubernetes cluster.Ĭreate a new stage to install airflow in OKE, select Apply Manifest to your Kubernetes cluster.Ĭreate a new stage to create ingress for airflow in OKE, select Apply Manifest to your Kubernetes cluster. ![]() Task 4: Create deployment pipeline for airflow-helm In this tutorial, it is “”.Ĭlick Build pipeline tab, then click Start manual run to manually execute the build pipeline. Note: Make sure you set your region correctly on the REPO URL. Get the Vault secret OCID for your registry token OCIRToken Get the Vault secret OCID for your registry user OCIRUser Go to your DevOps Project, click Build Pipelines, select your build pipeline for airflow-helm, then click Parameters tab and add the following parameters: Parameter Name Get the OCID for OCIRUser and OCIRToken secrets you created in the earlier steps of this tutorial. On your Oracle cloud console, click Identity & Security, click Vault, and select your vault. ![]() Gather vault secrets needed for this airflow piepline. Select the Primary Code repository, then select airflow-helm. ![]() Go to your DevOps project, click Build Pipelines, and then click Create build pipeline.Ĭlick Add New Stage and select type Managed Build. Task 3: Create build pipeline for airflow-helm Paste the content below in the value field. Fill the information as below.Ĭontext: This is a Kubernetes manifest to implement an ingress for the airflow. Go to your DevOps project page, click Artifacts and then click Add Artifact. Go to the OCI Registry you have created for this tutorial. Task 1: Create the DevOps artifacts for Apache Airflowīefore creating the DevOps build pipeline, we need to create the artifacts that will connect with the build results (Helm package and container image).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |