Skip to content
Snippets Groups Projects
Commit b9566d14 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

handle strcture data copy in deplo

parent c4200396
No related branches found
No related tags found
No related merge requests found
Pipeline #119179 canceled with stages
in 3 minutes and 15 seconds
...@@ -468,6 +468,15 @@ load-website:prod: ...@@ -468,6 +468,15 @@ load-website:prod:
--set env="${ENV:-development}" --set env="${ENV:-development}"
--values deploy/df-wiki/values.yaml --values deploy/df-wiki/values.yaml
--values deploy/df-wiki/values.${ENV:-development}.yaml --values deploy/df-wiki/values.${ENV:-development}.yaml
- kubectl --namespace ${NAMESPACE} wait pod -l "app.kubernetes.io/name=df-wiki" --for condition=Ready --timeout=600s
- echo "Wiki pod is ready"
- WIKI_POD=$(kubectl --namespace ${NAMESPACE} get pods -l "app.kubernetes.io/name=df-wiki" --output jsonpath='{.items[0].metadata.name}')
- echo ${WIKI_POD}
- kubectl --namespace ${NAMESPACE} cp .output/public/ ${WIKI_POD}:/website
- kubectl --namespace ${NAMESPACE} cp scripts/copy-structure-data.sh ${WIKI_POD}:/structure-data/sanitized-dump
- kubectl --namespace ${NAMESPACE} exec ${WIKI_POD} -- bash -c 'cd /structure-data/sanitized-dump && bash copy-structure-data.sh'
deploy:dev: deploy:dev:
extends: .deploy extends: .deploy
......
...@@ -165,10 +165,12 @@ const moleculeFormat: Ref<string> = ref("pdb") ...@@ -165,10 +165,12 @@ const moleculeFormat: Ref<string> = ref("pdb")
</v-row> </v-row>
</template> </template>
<v-row v-else> <v-row v-else>
<span class="d-flex flex-wrap align-center justify-center"> <v-col>
<v-select v-model="selectedPdb" label="Select PDB" :items="refinedDataUrls" hide-details="auto"> <span class="d-flex flex-wrap align-center justify-center">
</v-select> <v-select v-model="selectedPdb" label="Select PDB" :items="refinedDataUrls" hide-details="auto">
</span> </v-select>
</span>
</v-col>
</v-row> </v-row>
<v-dialog v-model="dialog" transition="dialog-bottom-transition" fullscreen :scrim="false"> <v-dialog v-model="dialog" transition="dialog-bottom-transition" fullscreen :scrim="false">
<v-card flat :rounded="false"> <v-card flat :rounded="false">
...@@ -256,12 +258,12 @@ const moleculeFormat: Ref<string> = ref("pdb") ...@@ -256,12 +258,12 @@ const moleculeFormat: Ref<string> = ref("pdb")
</template> </template>
<style scoped> <style>
.msp-plugin .msp-plugin-content { .msp-plugin .msp-plugin-content {
color: black !important; color: black !important;
} }
.msp-layout-expanded { div.msp-plugin-content.msp-layout-expanded {
z-index: 99 !important z-index: 99 !important
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment