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
tce-load -w -i python.tcz gmp-dev.tcz python-dev.tcz compiletc.tcz | |
wget https://bootstrap.pypa.io/get-pip.py && sudo ptyhon get-pip.py | |
#Notes: | |
#minishift master config file: /var/lib/minishift/openshift.local.config/master/master-config.yaml | |
#minishift openshift restart |
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
Showing Recent Messages | |
Build system information | |
error: Multiple commands produce '/Users/jenkins/Library/Developer/Xcode/DerivedData/AeroGearPush-clqjcsuowywvsebtmfmchebkfdzw/Build/Products/Debug-iphonesimulator/AeroGearPush.framework/Headers/AeroGearPush-Swift.h': | |
1) Target 'AeroGearPush' (project 'AeroGearPush') has copy command from '/Users/jenkins/tests/aerogear-ios-push/AeroGearPush/AeroGearPush-Swift.h' to '/Users/jenkins/Library/Developer/Xcode/DerivedData/AeroGearPush-clqjcsuowywvsebtmfmchebkfdzw/Build/Products/Debug-iphonesimulator/AeroGearPush.framework/Headers/AeroGearPush-Swift.h' | |
2) Target 'AeroGearPush' (project 'AeroGearPush'): Ditto /Users/jenkins/Library/Developer/Xcode/DerivedData/AeroGearPush-clqjcsuowywvsebtmfmchebkfdzw/Build/Products/Debug-iphonesimulator/AeroGearPush.framework/Headers/AeroGearPush-Swift.h /Users/jenkins/Library/Developer/Xcode/DerivedData/AeroGearPush-clqjcsuowywvsebtmfmchebkfdzw/Build/Intermediates.noindex/AeroGearPush.build/Debug-iphonesimulator/AeroGearPush.build/Ob |
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
import sys | |
import json | |
import os | |
images = [] | |
def get_images(path): | |
local_images = [] |
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: "integreatly.org/v1alpha1" | |
kind: "WebApp" | |
metadata: | |
name: "tutorial-web-app-operator" | |
spec: | |
template: | |
path: "/home/tutorial-web-app-operator/deploy/template/tutorial-web-app.yml" | |
paramaters: | |
OAUTH_CLIENT_ID: tutorial-web-app | |
IMAGE: "quay.io/integreatly/tutorial-web-app" |
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: "integreatly.org/v1alpha1" | |
kind: "WebApp" | |
metadata: | |
name: "tutorial-web-app-operator" | |
spec: | |
templates: | |
- | |
template: | |
path: "/home/tutorial-web-app-operator/deploy/template/oauth-client.yml" | |
paramaters: |
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
#copy the template file | |
make template-copy | |
#build the image | |
operator-sdk build docker.io/$org/tutorial-web-app-operator:latest | |
#push it | |
docker push docker.io/$org/tutorial-web-app-operator:latest | |
#deploy all required resources - you may need to change the image name (also set the openshift_host var to the correct value) |
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
kind: RoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: keycloak-operator-reader | |
subjects: | |
- kind: ServiceAccount | |
name: keycloak-operator | |
roleRef: | |
kind: Role | |
name: cluster-reader |
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
realmCr := &v1alpha1.KeycloakRealm{ | |
TypeMeta: metav1.TypeMeta{ | |
Kind: "KeycloakRealm", | |
APIVersion: "aerogear.org/v1alpha1", | |
}, | |
ObjectMeta: metav1.ObjectMeta{ | |
Name: "keycloak-realm-test", | |
Namespace: ns, | |
}, | |
Status:v1alpha1.KeycloakRealmStatus{ |
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
pg_ctl: another server might be running; trying to start server anyway | |
waiting for server to start....LOG: redirecting log output to logging collector process | |
HINT: Future log output will appear in directory "pg_log". | |
done | |
server started | |
=> sourcing /usr/share/container-scripts/postgresql/start/set_passwords.sh ... | |
ERROR: role "userAJT" does not exist |
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
--- | |
kind: Role | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: leo-keycloak-operator | |
rules: | |
- apiGroups: | |
- aerogear.org | |
resources: | |
- "*" |