Skip to content

Commit 01f956e

Browse files
authored
Merge pull request #1633 from oracle/release_gh
Releasing version v4.84.0
2 parents e156476 + 77484d6 commit 01f956e

File tree

195 files changed

+3995
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+3995
-581
lines changed

.github/workflows/examples.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
name: Generate magic buttons for examples and publish
2+
3+
on:
4+
push:
5+
branches: [ release_gh ]
6+
paths: ['examples/**/**']
7+
8+
jobs:
9+
10+
publish_examples_magic_buttons:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Create description files
17+
run: |
18+
FOLDERS=$(ls -d examples/*/ | jq -R)
19+
for EXAMPLE_FOLDER in $FOLDERS;
20+
do
21+
RESOURCE=$(cut -d "/" -f 2 <<< "$EXAMPLE_FOLDER")
22+
FILENAME=description.md
23+
if [[ "$RESOURCE" != "zips" ]]; then
24+
if [ -f "./examples/$RESOURCE/$FILENAME" ]; then
25+
echo "./examples/$RESOURCE/$FILENAME exists."
26+
else
27+
touch ./examples/${RESOURCE}/${FILENAME}
28+
echo "./examples/$RESOURCE/$FILENAME created."
29+
fi
30+
fi
31+
done
32+
33+
- name: Commit and Push Changes
34+
run: |
35+
if [ -n "$(git status --porcelain)" ]; then
36+
git config --global user.name "tf-oci-pub"
37+
git config --global user.email "[email protected]"
38+
git pull origin release_gh
39+
git add ./examples/*
40+
git commit -m "Added - Description files for service examples"
41+
git push
42+
else
43+
echo "No changes!";
44+
fi
45+
46+
- name: Create README files
47+
run: |
48+
printf '## Terraform Oracle Cloud Infrastructure Provider Examples \n### Examples In This Directory \nThis directory contains Terraform configuration files showing how to create specific resources. The examples are intended to be as simple as possible, in most cases containing only the specific resource and any dependencies required for it to run. These do not represent production configurations or real world scenarios. The magic buttons of the examples can be found below.\n' > ./examples/${RESOURCE}/README.md
49+
FOLDERS=$(ls -d examples/*/ | jq -R)
50+
MAGIC_LINK="https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/${{ github.repository_owner }}/${{ github.event.repository.name }}/releases/latest/download/"
51+
for EXAMPLE_FOLDER in $FOLDERS;
52+
do
53+
RESOURCE=$(cut -d "/" -f 2 <<< "$EXAMPLE_FOLDER")
54+
if [[ "$RESOURCE" != "zips" ]]; then
55+
FILENAME=description.md
56+
FILEZIP=example_${RESOURCE}.zip
57+
cat ./examples/${RESOURCE}/$FILENAME > ./examples/${RESOURCE}/README.md
58+
printf '\n## Magic Button \n[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)]('${MAGIC_LINK}${FILEZIP}')' >>./examples/${RESOURCE}/README.md
59+
printf '%s\n' '- '${RESOURCE}'
60+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)]('${MAGIC_LINK}${FILEZIP}')' >> ./examples/README.md
61+
fi
62+
done
63+
64+
- name: Commit and Push Changes
65+
run: |
66+
if [ -n "$(git status --porcelain)" ]; then
67+
git config --global user.name "tf-oci-pub"
68+
git config --global user.email "[email protected]"
69+
git pull origin release_gh
70+
git add ./examples/*
71+
git commit -m "Added - README.md of service examples with magic button"
72+
git push
73+
else
74+
echo "No changes!";
75+
fi

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ vendor/github.com/oracle/oci-go-sdk/target
2727
.gitmodules
2828
internal/record
2929
.terraform.lock.hcl
30+
dist/
31+
examples/zips/*

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ release:
5959
extra_files:
6060
- glob: 'terraform-registry-manifest.json'
6161
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
62+
- glob: ./examples/zips/*
6263
# If you want to manually examine the release before its live, uncomment this line:
6364
# draft: true
6465
changelog:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 4.84.0 (July 13, 2022)
2+
3+
### Added
4+
- Support for Native Pod Networking
5+
- Support for Point-in-time Recovery for non-HA MySQL Database System
6+
- Support for database/db system tags, fault domains, license model, node count, private ip, and time-zone to creating data guard association (with new db system) service
7+
18
## 4.83.0 (July 07, 2022)
29

310
### Added

examples/README.md

Lines changed: 189 additions & 0 deletions
Large diffs are not rendered by default.

examples/adm/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the ADM service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/releases/latest/download/example_adm.zip)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the AI Anomaly Detection service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/releases/latest/download/example_aiAnomalyDetection.zip)

examples/aiVision/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the AI Vision service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/releases/latest/download/example_aiVision.zip)

examples/always_free/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the Always Free service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/releases/latest/download/example_always_free.zip)

examples/analytics/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the Analytics service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/releases/latest/download/example_analytics.zip)

0 commit comments

Comments
 (0)