Skip to content

abhirockzz/fn-image-resize-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Pre-requisite - place your OCI API private key in src/resources directory (rename it to oci_api_key.pem)

as of now, the image which is been re-sized (fn-background-sample.png) is packaged with the app - it's in the src/resources directory

  • Create app (substitute values for your environment) - fn create app --annotation oracle.com/oci/subnetIds='["ocid1.subnet.oc1.iad.aaaaaaaaxzyqz3f7wv24i6wtyrgenpdybkaiz6wksszkafxcybeaxlndzptq"]' --config TENANCY=ocid1.tenancy.oc1..aaaaaaaapsj3hr6pl4abnz52jm3wkgf2gfxymbeofzswhcp5jdem3fhjmkeq --config USER=ocid1.user.oc1..aaaaaaaa7grmsqmsx27zuhcqesvb5dvhrwppxtpoxhlvfxvlukuwdypzeg2q --config FINGERPRINT=41:82:5f:44:ca:a1:2e:58:d2:63:6a:af:52:d5:3d:04 --config PASSPHRASE=1987 --config REGION=us-ashburn-1 --config OCI_PRIVATE_KEY_FILE_NAME=oci_api_key.pem --config NAMESPACE=odx-jafar fn-image-resize-app
  • Deploy - fn -v deploy --app fn-image-resize-app
  • Invoke - fn invoke fn-image-resize-app fn-image-resize
  • .... wait for it ......
  • Check object store

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages