Skip to content

Commit

Permalink
fixing node installation on the build runner
Browse files Browse the repository at this point in the history
  • Loading branch information
WSPluta committed Aug 20, 2024
1 parent 809f903 commit 57a8382
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

[![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)

## The power of Cloud Native on Oracle Cloud
## Multiplayer powered by Cloud Native on Oracle Cloud Infrastructure

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
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.

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

## Getting Started

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

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.
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.
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.

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.
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.

### Prerequisites

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

See [LICENSE](LICENSE) for more details.

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.
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.
11 changes: 8 additions & 3 deletions command_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ steps:
- type: Command
name: "Install nodejs"
shell: bash
timeoutInSeconds: 300
timeoutInSeconds: 3600
command: |
yum --disablerepo=ol7_oci_included install -y oracle-nodejs-release-el7 oracle-release-el7
yum --disablerepo=ol7_oci_included install -y nodejs
rm -rf /etc/yum.repos.d/default.repo
sed -i 's/included\//included\/x86_64/g' /etc/yum.repos.d/oci-included-ol8.repo
(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
cat /etc/yum.repos.d/oci-included-ol8.repo
dnf module list --all nodejs
dnf module enable -y nodejs:16
dnf module install -y nodejs
- type: Command
name: "Git Clone"
shell: bash
Expand Down

0 comments on commit 57a8382

Please sign in to comment.