This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conditions: | |
Type Status LastHeartbeatTime LastTransitionTime Reason Message | |
---- ------ ----------------- ------------------ ------ ------- | |
OutOfDisk False Tue, 23 Apr 2019 11:15:00 +0000 Tue, 23 Apr 2019 02:46:44 +0000 KubeletHasSufficientDisk kubelet has sufficient disk space available | |
MemoryPressure False Tue, 23 Apr 2019 11:15:00 +0000 Tue, 23 Apr 2019 02:46:44 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available | |
DiskPressure False Tue, 23 Apr 2019 11:15:00 +0000 Tue, 23 Apr 2019 02:46:44 +0000 KubeletHasNoDiskPressure kubelet has no disk pressure | |
PIDPressure False Tue, 23 Apr 2019 11:15:00 +0000 Tue, 23 Apr 2019 02:46:44 +0000 KubeletHasSufficientPID kubelet has sufficient PID available | |
Ready True Tue, 23 Apr 2019 11:15:00 +0000 Tue, 23 Apr 2019 02:47:04 +0000 Kubelet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
gather_facts: false | |
tasks: | |
- name: Update default storage class | |
command: >- | |
oc patch storageclass glusterfs-storage -p '{"metadata":{"annotations":{"storageclass.beta.kubernetes.io/is-default-class":"true"}}}' | |
- name: Make admin the cluster administrator | |
command: >- | |
oc adm policy add-cluster-role-to-user cluster-admin admin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rundeck/rundeck:3.0.13 | |
RUN sed -i 's|dataSource.url = {{ getv("/rundeck/database/url", "jdbc:h2:file:/home/rundeck/server/data/grailsdb;MVCC=true") }}|dataSource.url = {{ getenv("RUNDECK_DATABASE_URL") }}|g' /etc/remco/templates/rundeck-config.properties | |
RUN sed -i 's|dataSource.username = {{ getv("/rundeck/database/username", "") }}|dataSource.username={{ getenv("RUNDECK_DATABASE_USERNAME") }}|g' /etc/remco/templates/rundeck-config.properties | |
RUN sed -i 's|dataSource.password = {{ getv("/rundeck/database/password", "") }}|dataSource.password={{ getenv("RUNDECK_DATABASE_PASSWORD") }}|g' /etc/remco/templates/rundeck-config.properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "digitalocean_ssh_key" "default" { | |
name = "Terraform Example" | |
public_key = "${file("/scripts/id_rsa.pub")}" | |
} | |
resource "digitalocean_droplet" "web" { | |
image = "centos-7-x64" | |
name = "web-1" | |
region = "tor1" | |
size = "s-1vcpu-1gb" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[OSEv3:children] | |
masters | |
nodes | |
etcd | |
glusterfs | |
new_nodes | |
[masters] | |
console.example.com openshift_ip=1.2.3.4 openshift_schedulable=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Metadata: {} | |
Parameters: | |
########### | |
KeyName: | |
Description: The EC2 Key Pair to allow SSH access to the instance | |
Type: 'AWS::EC2::KeyPair::KeyName' | |
AvailabilityZone: | |
Description: Availability zone to deploy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Template | |
metadata: | |
name: ubuntu-lemp | |
objects: | |
- apiVersion: v1 | |
kind: BuildConfig | |
metadata: | |
annotations: | |
openshift.io/generated-by: OpenShiftNewApp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* GET /api/file/:id | |
* Download an uploaded file. | |
*/ | |
export let download = (req: Request, res: Response, next: NextFunction) => { | |
File.findByIdAndRemove(req.params.id).exec((err, file) => { | |
if (err) res.status(500).send(err); | |
if (!file) { | |
res.status(404).send('not found'); | |
return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Failed scenarios: | |
features/archive/sessions.feature:80 | |
features/discussions/privacy.feature:25 | |
features/miscellaneous/site_settings.feature:7 | |
125 scenarios (117 passed, 3 failed, 5 undefined) | |
1255 steps (1218 passed, 3 failed, 6 undefined, 28 skipped) | |
13m55.29s (69.77Mb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Failed scenarios: | |
features/archive/sessions.feature:80 | |
features/discussions/privacy.feature:25 | |
125 scenarios (100 passed, 2 failed, 23 undefined) | |
1255 steps (1096 passed, 2 failed, 59 undefined, 98 skipped) | |
15m6.36s (70.64Mb) | |
--- FeatureContext has missing steps. Define them with these snippets: |