GetDKAN / ops

DKAN operations
2 stars 1 forks source link

DKAN 2 demo site #163

Closed janette closed 4 years ago

janette commented 4 years ago

To do

dharizza commented 4 years ago

First item here is done. We're creating demo sites per branch, so:

We still have to:

The idea with this repo is to update the demo site every time a new dkan2 release is created, we can do it manually or automatically, if we want to do it automatically we can do so by adding a Jenkinsfile to dkan2 similar to https://github.com/GetDKAN/dkan/blob/7.x-1.x/Jenkinsfile but the stage should be something similar to:


stage('Rebuild demo site') {
  when { buildingTag() }
  steps {
    sh("git clone https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@git.civicactions.net/dkan/dkan-demo --tags")
    dir('dkan-demo') {
      # update Dockerfile
      sed -i -e "s/ENV TAG 3.0.0-rc17/ENV TAG ${TAG_NAME}/g" DOCKERFILE
      sh "git add . -A && git commit -m 'Update demo to dkan ${TAG_NAME} release'"
      sh "git push https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@git.civicactions.net/dkan/dkan-demo master"
    }
  }
}
janette commented 4 years ago
janette commented 4 years ago

@dasumner the repo for the demo site is https://git.civicactions.net/dkan/dkan-demo and currently it can be found at https://dkan2.ci.civicactions.net/

When the dkan 2.0 release is ready we would like the demo site to resolve at demo.getdkan.com

dasumner commented 4 years ago

Per Owen, DNS is managed by CloudFlare.