GithubHelp home page GithubHelp logo

Comments (1)

eformat avatar eformat commented on July 19, 2024

ok, am dropping in the instructions for pet battle deploy here .. this will need automating of course.

we can also use the fast forward app perhaps ? which will create a full team environment upto end of Chapter.2 in the tech exercises.

https://github.com/eformat/tl500-teamsters

git clone https://github.com/petbattle/pet-battle-infra
helm upgrade --install keycloak ./pet-battle-infra/keycloak --namespace pb --create-namespace
cat <<'EOF' | oc apply -f-
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
  name: pb-og
  namespace: pb
spec:
  targetNamespaces: 
    - pb
EOF
helm upgrade --install pet-battle-api petbattle/pet-battle-api --version=1.2.1 --namespace pb
export TEAM_NAME=pb
export CLUSTER_DOMAIN=$(oc get ingress.config/cluster -o 'jsonpath={.spec.domain}')
wget https://raw.githubusercontent.com/petbattle/pet-battle/master/chart/values.yaml
export JSON="'"'{
        "catsUrl": "https://pet-battle-api-'${TEAM_NAME}'.'${CLUSTER_DOMAIN}'",
        "tournamentsUrl": "https://pet-battle-tournament-'${TEAM_NAME}'.'${CLUSTER_DOMAIN}'",
        "matomoUrl": "https://matomo-'${TEAM_NAME}'-ci-cd.'${CLUSTER_DOMAIN}'/",
        "keycloak": {
          "url": "https://keycloak-'${TEAM_NAME}'.'${CLUSTER_DOMAIN}'/auth/",
          "realm": "pbrealm",
          "clientId": "pbclient",
          "redirectUri": "http://localhost:4200/tournament",
          "enableLogging": true
        }
      }'"'"
yq e '.config_map = env(JSON)' -i values.yaml
helm upgrade --install pet-battle petbattle/pet-battle --version=1.0.6 -f values.yaml --namespace pb

from enablement-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.