docs: update OCI documentation with unified pipeline and new bucket name
This commit is contained in:
parent
6b9d6b280c
commit
ff4de5d455
1 changed files with 21 additions and 11 deletions
32
OCI.md
32
OCI.md
|
|
@ -57,15 +57,19 @@ OCI_SUBNET_OCID=ocid1.subnet.oc1.sa-saopaulo-1.aaaaaaaa2ezw57uocis6s2eioypdsnt2p
|
||||||
|
|
||||||
## Buckets OCI
|
## Buckets OCI
|
||||||
|
|
||||||
**Status**: ❌ Nenhum bucket criado ainda para MFEs
|
**Status**: ✅ Bucket `mfe-user-dev` criado via pipeline
|
||||||
|
|
||||||
|
| Bucket | Ambiente | Uso |
|
||||||
|
|--------|----------|-----|
|
||||||
|
| mfe-user-dev | Dev | MFE User static hosting |
|
||||||
|
|
||||||
## API Gateways
|
## API Gateways
|
||||||
|
|
||||||
**Status**: ❌ Nenhum API Gateway criado ainda
|
**Status**: ✅ API Gateway criado via pipeline
|
||||||
|
|
||||||
## API Gateways
|
| Gateway | Ambiente | Uso |
|
||||||
|
|---------|----------|-----|
|
||||||
**Status**: ❌ Nenhum API Gateway criado ainda.
|
| mfe-user-gateway | Dev | MFE User API Gateway |
|
||||||
|
|
||||||
## VCNs e Subnets (Dev)
|
## VCNs e Subnets (Dev)
|
||||||
|
|
||||||
|
|
@ -116,18 +120,20 @@ oci os bucket list --compartment-id "ocid1.compartment.oc1..aaaaaaaazjxk5dkwleol
|
||||||
| mfe-shell | dev/devops | ❌ Não |
|
| mfe-shell | dev/devops | ❌ Não |
|
||||||
| mfe-person | dev/devops | ❌ Não |
|
| mfe-person | dev/devops | ❌ Não |
|
||||||
| mfe-poc | dev/devops | ❌ Não |
|
| mfe-poc | dev/devops | ❌ Não |
|
||||||
| mfe-user | dev/devops | ✅ Sim |
|
| mfe-user | devops | ✅ Sim (unificado AWS+OCI) |
|
||||||
| mfe-formalization | dev | ❌ Sem pipeline |
|
| mfe-formalization | dev | ❌ Sem pipeline |
|
||||||
|
|
||||||
### Pipeline OCI - mfe-user
|
### Pipeline OCI - mfe-user
|
||||||
|
|
||||||
**Arquivo**: `C:\dev\C:devrepos_mfe\mfe-user\azure-pipelines-oci.yml`
|
**Arquivo**: `C:\dev\mfe-user\azure-pipelines.yml` (unificado com AWS)
|
||||||
|
|
||||||
**Trigger**: Branch `devops`
|
**Trigger**: Branch `devops`
|
||||||
|
|
||||||
|
**Parametro**: `cloudProvider` (default: `oci`)
|
||||||
|
|
||||||
**Estágios**:
|
**Estágios**:
|
||||||
1. **Build** - Compila o projeto Angular
|
1. **Build** - Compila o projeto Angular
|
||||||
2. **UploadToOCI** - Faz upload para OCI Object Storage (bucket: `nexus-mfe-user-dev`)
|
2. **UploadToOCI** - Faz upload para OCI Object Storage (bucket: `mfe-user-dev`)
|
||||||
3. **CreatePAR** - Cria Pre-Authenticated Request (PAR)
|
3. **CreatePAR** - Cria Pre-Authenticated Request (PAR)
|
||||||
4. **DeployToAPIGateway** - Faz deploy no OCI API Gateway
|
4. **DeployToAPIGateway** - Faz deploy no OCI API Gateway
|
||||||
|
|
||||||
|
|
@ -135,11 +141,15 @@ oci os bucket list --compartment-id "ocid1.compartment.oc1..aaaaaaaazjxk5dkwleol
|
||||||
- `oci-terraform`
|
- `oci-terraform`
|
||||||
- `mfe-credentials`
|
- `mfe-credentials`
|
||||||
|
|
||||||
**Bucket**: `nexus-mfe-user-dev` (ainda não criado)
|
**Bucket**: `mfe-user-dev`
|
||||||
|
|
||||||
**API Gateway**:
|
**API Gateway**:
|
||||||
- Nome: `nexus-mfe-user-gateway`
|
- Nome: `mfe-user-gateway`
|
||||||
- Deployment: `nexus-mfe-user-deployment`
|
- Deployment: `mfe-user-deployment`
|
||||||
|
|
||||||
|
**Commits Recentes**:
|
||||||
|
- `50ad18c` (18/02/2026) - feat: set OCI as default cloudProvider
|
||||||
|
- `b99aa07` (18/02/2026) - feat: unify OCI pipeline into azure-pipelines.yml
|
||||||
|
|
||||||
### Pipeline AWS (Padrão) - mfe-user
|
### Pipeline AWS (Padrão) - mfe-user
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue