Boot up with an Fedora Live USB stick.
- Run
vgsto check if there's any space:
$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
fedora_dhcp35--100 1 3 0 wz--n- <237.28g 0 | import os | |
| import requests | |
| import sys | |
| import yaml # pip install pyyaml | |
| # --- CONFIGURATION --- | |
| QUAY_API = "https://quay.io/api/v1" | |
| ORGANIZATION = "rhoai" | |
| TARGET_REGISTRY = "registry.redhat.io/rhoai" # Destination registry path | |
| AUTH_TOKEN = os.environ["QUAY_TOKEN"] |
| DUMP | |
| // pod-name name of the postgres pod | |
| // postgres-user database user that is able to access the database | |
| // database-name name of the database | |
| kubectl exec [pod-name] -- bash -c "pg_dump -U [postgres-user] [database-name]" > database.sql | |
| RESTORE | |
| // pod-name name of the postgres pod | |
| // postgres-user database user that is able to access the database | |
| // database-name name of the database |
| #!productVersion=0.0.0 | |
| #!milestone=CR1 | |
| #!projectVersion=0.1.8.Final | |
| #!scmRevision=0.1.8.Final | |
| #!projectName=apicurio-common-rest-client | |
| #!productName=Red Hat OpenShift Service Registry | |
| #!abbreviation=RHOSR | |
| #!groupConfigName={{projectName}}-{{projectVersion}} |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: sftp | |
| --- | |
| kind: Service | |
| apiVersion: v1 | |
| metadata: |
| #oc apply -f atmoz-sftp.yaml | |
| kind: PersistentVolume | |
| apiVersion: v1 | |
| metadata: | |
| name: atmoz-pv | |
| labels: | |
| app: atmoz | |
| spec: | |
| storageClassName: "" |
| import org.apache.maven.model.Exclusion | |
| import org.commonjava.maven.ext.core.groovy.BaseScript | |
| import org.commonjava.maven.ext.core.groovy.InvocationStage | |
| import org.commonjava.maven.ext.core.groovy.PMEBaseScript | |
| import org.commonjava.maven.ext.core.groovy.InvocationPoint | |
| @InvocationPoint(invocationPoint = InvocationStage.FIRST) | |
| @PMEBaseScript BaseScript pme | |
| String fge = 'com.github.fge' |
| import groovy.util.logging.Slf4j | |
| import org.apache.maven.model.Build | |
| import org.apache.maven.model.Dependency | |
| import org.apache.maven.model.DependencyManagement | |
| import org.apache.maven.model.Plugin | |
| import org.codehaus.plexus.util.xml.Xpp3Dom | |
| import org.commonjava.maven.atlas.ident.ref.SimpleProjectVersionRef | |
| import org.commonjava.maven.ext.common.ManipulationException | |
| import org.commonjava.maven.ext.common.model.Project | |
| import org.commonjava.maven.ext.core.groovy.BaseScript |
| import groovy.util.logging.Slf4j | |
| import org.apache.maven.model.Build | |
| import org.apache.maven.model.Dependency | |
| import org.apache.maven.model.DependencyManagement | |
| import org.apache.maven.model.Plugin | |
| import org.codehaus.plexus.util.xml.Xpp3Dom | |
| import org.commonjava.maven.atlas.ident.ref.SimpleProjectVersionRef | |
| import org.commonjava.maven.ext.common.ManipulationException | |
| import org.commonjava.maven.ext.common.model.Project | |
| import org.commonjava.maven.ext.core.groovy.BaseScript |
A patent is an exclusive right granted for an invention, which is a product or a process that provides, in general, a new way of doing something, or offers a new technical solution to a problem.
Red Hat highly encourages its employees to disclose and submit patent inventions liberally