forked from oracle-quickstart/appstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.yaml.template
More file actions
23 lines (22 loc) · 774 Bytes
/
Copy pathdeploy.yaml.template
File metadata and controls
23 lines (22 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
# deploys the application to container instances
version: 0.1
component: command
timeoutInSeconds: 10000
shell: /bin/sh
failImmediatelyOnError: true
inputArtifacts:
- name: artifact-name
type: GENERIC_ARTIFACT
artifactId: ${artifact_ocid}
registryId: ${registry_ocid}
path: ${artifact_path}
version: ${artifact_version}
location: $${OCI_WORKSPACE_DIR}/update_container_instance.sh
steps:
- type: Command
name: Run update container instance script
timeoutInSeconds: 600
command: |
mv $${OCI_WORKSPACE_DIR}/update_container_instance.sh /tmp/update_container_instance.sh