Skip to content

Commit 805a048

Browse files
committed
chore(ci): update workflows
Signed-off-by: Avi Miller <[email protected]>
1 parent 77974f2 commit 805a048

File tree

2 files changed

+39
-67
lines changed

2 files changed

+39
-67
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.github/workflows/sanity-test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Sanity test of run-oci-cli-command
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
16+
test-action:
17+
name: OCI CLI GitHub Action Test
18+
runs-on: ubuntu-latest
19+
env:
20+
OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }}
21+
OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }}
22+
OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }}
23+
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}
24+
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}
25+
26+
steps:
27+
- name: Checkout
28+
id: checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Get object storage namespace
32+
id: test-action-get-os-ns
33+
uses: ./
34+
with:
35+
command: os ns get
36+
37+
- name: Output object storage namespace
38+
id: output-os-ns
39+
run: echo "${{ steps.test-action-get-os-ns.outputs.output }}"

0 commit comments

Comments
 (0)