Skip to content

Instantly share code, notes, and snippets.

View ramius345's full-sized avatar

ramius345

  • Charon Technologies
  • Houston, TX
View GitHub Profile
sleep 1
while ( rc == null ) {
try {
dc = openshift.selector("dc","${appName}-httpd").object()
dc_version = dc.status.latestVersion
echo "Version of dc is ${dc_
FROM quay.io/openshift/origin-jenkins-agent-maven:4.1.0
USER root
RUN curl https://copr.fedorainfracloud.org/coprs/alsadi/dumb-init/repo/epel-7/alsadi-dumb-init-epel-7.repo -o /etc/yum.repos.d/alsadi-dumb-init-epel-7.repo
RUN curl https://raw.githubusercontent.com/ramius345/centos-repos-containerbuild/master/CentOS-Base.repo -o /etc/yum.repos.d/CentOS-Base.repo
RUN curl http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7 -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
RUN yum --disablerepo=rhel-server-extras --disablerepo=rhe
source: $
dockerfile: | $
FROM quay.io/openshift/origin-jenkins-agent-maven:4.1.0\nUSER root $
RUN curl https://copr.fedorainfracloud.org/coprs/alsadi/dumb-init/repo/epel-7/alsadi-dumb-init-epel-7.repo -o /etc/yum.repos.d/alsadi-dumb-init-epel-7.repo $
RUN curl https://raw.githubusercontent.com/ramius345/centos-repos-containerbuild/master/CentOS-Base.repo -o /etc/yum.repos.d/CentOS-Base.repo $
RUN curl http://mirror.centos.org/centos-7/7/os/x86_64/RPM
apiVersion: template.openshift.io/v1
kind: Template
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"template.openshift.io/v1","kind":"Template","metadata":{"annotations":{},"creationTimestamp":null,"name":"project-request","namespace":"openshift-config"},"objects":[{"apiVersion":"project.openshift.io/v1","kind":"Project","metadata":{"annotations":{"openshift.io/description":"${PROJECT_DESCRIPTION}","openshift.io/display-name":"${PROJECT_DISPLAYNAME}","openshift.io/requester":"${PROJECT_REQUESTING_USER}"},"creationTimestamp":null,"name":"${PROJECT_NAME}"},"spec":{},"status":{}},{"apiVersion":"rbac.authorization.k8s.io/v1","kind":"RoleBinding","metadata":{"creationTimestamp":null,"name":"admin","namespace":"${PROJECT_NAME}"},"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"admin"},"subjects":[{"apiGroup":"rbac.authorization.k8s.io","kind":"User","name":"${PROJECT_ADMIN_USER}"}]},{"apiVersion":"v1","kind":"ResourceQuota","metadat
# Download the latest AWS Command Line Interface
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
unzip awscli-bundle.zip
# Install the AWS CLI into /bin/aws
./awscli-bundle/install -i /usr/local/aws -b /bin/aws
# Validate that the AWS CLI works
aws --version
# Clean up downloaded files
rm -rf /root/awscli-bundle /root/awscli-bundle.zip