Skip to content

Commit 329b523

Browse files
authored
Merge pull request #33 from oracle-devrel/node-fix
fixing node installation on the build runner
2 parents 809f903 + 57a8382 commit 329b523

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
[![License: UPL](https://img.shields.io/badge/license-UPL-green)](https://img.shields.io/badge/license-UPL-green) [![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=oracle-devrel_save-the-wildlife)](https://sonarcloud.io/dashboard?id=oracle-devrel_save-the-wildlife)
44

5-
## The power of Cloud Native on Oracle Cloud
5+
## Multiplayer powered by Cloud Native on Oracle Cloud Infrastructure
66

7-
In this workshop, you will learn how to deploy a simple multiplayer [Three.js](https://threejs.org/) application to the cloud, then iterate through the modernization process to enhance the application and ultimately deploy it to [Kubernetes](https://kubernetes.io/) with CI/CD, Terraform, Kustomize, Coherence and Redis as a base line backend to run applications that require in-memory concurrency management. In our case we are using
7+
In this workshop, you will learn how to deploy a simple multiplayer [Three.js](https://threejs.org/) application to Oracle Cloud Infrastructure, then iterate through the modernization process to enhance the application and ultimately deploy it to [Kubernetes](https://kubernetes.io/) with CI/CD, Terraform, Kustomize, Coherence and Redis as a base line backend to run applications that require in-memory concurrency management.
88

99
![Save The Wildlife Banner](images/screenshot.png)
1010

1111
## Getting Started
1212

13-
This workshop leverages a broad array of OCI services to illustrate how to deploy, migrate, and modernize applications in the cloud.
13+
This workshop leverages a broad array of OCI services to illustrate how to deploy, migrate, and modernize applications in the cloud.
1414

15-
You can start with app modernization journey and follow a stet by step guide on VM deployment via Terraform, then containerize the application and move to OCI Container Instances.
15+
You can start with app modernization journey and follow a stet by step guide on VM deployment via Terraform, then containerize the application and move to OCI Container Instances.
1616
In the final phase, the application design is enhanced to provide scalability while being deployed to Oracle Container Engine for Kubernetes (OKE). The best part is, you get to play a really cool 3D "Save the Wildlife" game when you finish the deployment.
1717

18-
Or you can dive (pun intended) into the ocean of DevOPS CI/CD and release our [Three.js](https://threejs.org/) minigame as many times as you like.
18+
Or you can dive (pun intended) into the ocean of DevOPS CI/CD and release our [Three.js](https://threejs.org/) multiplayer game using build and deploy pipelines.
1919

2020
### Prerequisites
2121

@@ -49,4 +49,4 @@ Licensed under the Universal Permissive License (UPL), Version 1.0.
4949

5050
See [LICENSE](LICENSE) for more details.
5151

52-
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.
52+
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.

command_spec.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ steps:
88
- type: Command
99
name: "Install nodejs"
1010
shell: bash
11-
timeoutInSeconds: 300
11+
timeoutInSeconds: 3600
1212
command: |
13-
yum --disablerepo=ol7_oci_included install -y oracle-nodejs-release-el7 oracle-release-el7
14-
yum --disablerepo=ol7_oci_included install -y nodejs
13+
rm -rf /etc/yum.repos.d/default.repo
14+
sed -i 's/included\//included\/x86_64/g' /etc/yum.repos.d/oci-included-ol8.repo
15+
(echo -e '[ol8_appstream]' && echo 'name=Oracle Linux 8 Application Stream' && echo "baseurl=https://yum-$OCI_RESOURCE_PRINCIPAL_REGION.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/" && echo 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle' && echo 'gpgcheck=1' && echo 'enabled=1') >> /etc/yum.repos.d/oci-included-ol8.repo
16+
cat /etc/yum.repos.d/oci-included-ol8.repo
17+
dnf module list --all nodejs
18+
dnf module enable -y nodejs:16
19+
dnf module install -y nodejs
1520
- type: Command
1621
name: "Git Clone"
1722
shell: bash

0 commit comments

Comments
 (0)