Created
June 12, 2019 11:27
-
-
Save phantomjinx/fa1f10fac4cc7a437d94062d14dd3388 to your computer and use it in GitHub Desktop.
Suite of syndesis building operator scripts
This file contains 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
#!/bin/bash | |
syndesis build \ | |
--local \ | |
-m operator \ | |
-f \ | |
-i |
This file contains 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
#!/bin/bash | |
cd ~/go/src/github.com/syndesisio/syndesis/install/operator | |
CGO_ENABLED=0 go build -o ./syndesis-operator ./cmd/syndesis-operator |
This file contains 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
#!/bin/bash | |
SYNDESIS="$HOME/programming/java/syndesis" | |
oc create -f $SYNDESIS/install/operator/deploy/syndesis-operator.yml |
This file contains 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
#!/bin/bash | |
syndesis=$(cat << EOT | |
apiVersion: "syndesis.io/v1alpha1" | |
kind: "Syndesis" | |
metadata: | |
name: "app" | |
EOT | |
) | |
echo "${syndesis}" | cat | oc create -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment