-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Avi Miller <[email protected]>
- Loading branch information
1 parent
88f7996
commit 8a22b94
Showing
7 changed files
with
64 additions
and
56 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,14 +65,14 @@ jobs: | |
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }} | ||
steps: | ||
- name: Retrieve the OCID of a named compartment in tenancy | ||
uses: oracle-actions/[email protected].0 | ||
uses: oracle-actions/[email protected].1 | ||
id: find-compartment-id | ||
with: | ||
command: 'iam compartment list --compartment-id-in-subtree=true' | ||
query: "data[?name=='testing'].id" | ||
|
||
- name: Retrieve the display name and shape of the instances in my compartment | ||
uses: oracle-actions/[email protected].0 | ||
uses: oracle-actions/[email protected].1 | ||
id: find-instances | ||
with: | ||
command: 'compute instance list --compartment-id ${{ steps.find-compartment-id.outputs.raw_output }}' | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,29 @@ | ||
{ | ||
"name": "@oracle-actions/run-oci-cli-command", | ||
"version": "1.3.0", | ||
"description": "Run an Oracle Cloud Infrastructure (OCI) CLI command", | ||
"version": "1.3.1", | ||
"author": { | ||
"name": "Oracle Cloud Infrastructure", | ||
"email": "[email protected]" | ||
}, | ||
"description": "Run an Oracle Cloud Infrastructure (OCI) CLI command", | ||
"main": "src/main.ts", | ||
"private": true, | ||
"homepage": "https://github.com/oracle-actions/run-oci-cli-command#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/oracle-actions/run-oci-cli-command.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/oracle-actions/run-oci-cli-command/issues" | ||
}, | ||
"keywords": [ | ||
"github", | ||
"actions", | ||
"oracle-cloud", | ||
"oracle-cloud-infrastructure" | ||
], | ||
"exports": { | ||
".": "./dist/index.js" | ||
}, | ||
"engines": { | ||
"node": ">=20" | ||
}, | ||
|
@@ -15,29 +32,15 @@ | |
"format:write": "npx prettier --write .", | ||
"format:check": "npx prettier --check .", | ||
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml", | ||
"package": "npx ncc build src/main.ts -o dist --source-map --license LICENSE.txt", | ||
"package": "npx ncc build src/index.ts -o dist --source-map --license LICENSE.txt", | ||
"all": "npm run format:write && npm run lint && npm run package" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/oracle-actions/run-oci-cli-command.git" | ||
}, | ||
"files": [ | ||
"LICENSE.txt", | ||
"THIRD_PARTY_LICENSES.txt", | ||
"dist/*" | ||
], | ||
"keywords": [ | ||
"github", | ||
"actions", | ||
"oracle-cloud", | ||
"oracle-cloud-infrastructure" | ||
], | ||
"license": "UPL-1.0", | ||
"bugs": { | ||
"url": "https://github.com/oracle-actions/run-oci-cli-command/issues" | ||
}, | ||
"homepage": "https://github.com/oracle-actions/run-oci-cli-command#readme", | ||
"dependencies": { | ||
"@actions/core": "^1.10.1", | ||
"@actions/exec": "^1.1.1", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* Copyright (c) 2024, Oracle and/or its affiliates. | ||
* Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl. | ||
*/ | ||
import { runOciCliCommand } from './main' | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
runOciCliCommand() |
This file contains 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