System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
git fetch upstream
git checkout -b release-1.12 upstream/release-1.12
gpg --list-secret-keys --keyid-format LONG
schemaVersion: 2.0.0 | |
metadata: | |
name: nodejs | |
version: 1.0.0 | |
alpha.build-dockerfile: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/build/Dockerfile" | |
alpha.deployment-manifest: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/deploy/deployment-manifest.yaml" | |
projects: | |
- name: nodejs-starter | |
git: | |
location: "https://github.com/odo-devfiles/nodejs-ex.git" |
--- | |
schemaVersion: 2.0.0 | |
metadata: | |
name: java-spring-boot | |
starterProjects: | |
- name: springbootproject | |
git: | |
remotes: | |
origin: "https://github.com/odo-devfiles/springboot-ex.git" | |
components: |
ODO and Devfile, Lets take an example https://github.com/odo-devfiles/registry/blob/master/devfiles/nodejs/devfile.yaml
you can read all about devfile here https://docs.devfile.io/devfile/user-guide/index.html
so currently odo mainly uses following fields from devfile
# prequisities | |
sudo apt-get update && apt-get upgrade | |
sudo lsmod | grep br_netfilter | |
sudo modprobe br_netfilter | |
cat <<EOF | sudo tee /etc/modules-load.d/k8s.conf | |
br_netfilter | |
EOF | |
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf |