Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
4ba78d05
Commit
4ba78d05
authored
11 months ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
add changes
parent
d59b75af
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+18
-14
18 additions, 14 deletions
.gitlab-ci.yml
components/OperonStructure.vue
+2
-2
2 additions, 2 deletions
components/OperonStructure.vue
components/content/ArticleSystemDistributionPlot.vue
+2
-2
2 additions, 2 deletions
components/content/ArticleSystemDistributionPlot.vue
with
22 additions
and
18 deletions
.gitlab-ci.yml
+
18
−
14
View file @
4ba78d05
...
...
@@ -26,16 +26,11 @@ cache:
stages
:
# - build-df-cli
# - deploy-meilisearch
-
zotero
-
delete-release
-
get-meili-key
-
pre-processing
-
build
# - build-wiki
-
delete-release
-
lint
# - update-meilisearch-indexes
-
deploy
-
post-deploy
...
...
@@ -141,7 +136,7 @@ deploy:meilisearch:prod:
############### DELETE RELEASE
delete-meili
-helm
-release
:
delete-meili
search
-release:
dev
:
rules
:
-
if
:
$CI_COMMIT_BRANCH != "main"
stage
:
delete-release
...
...
@@ -158,7 +153,7 @@ delete-meili-helm-release:
-
helm delete -n ${NAMESPACE} ${CI_PROJECT_NAME}-${CI_ENVIRONMENT_NAME}-meilisearch
delete-meili
-helm
-release:prod
:
delete-meili
search
-release:prod
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
stage
:
delete-release
...
...
@@ -351,7 +346,7 @@ lint:
meilisearch
--host ${MEILI_HOST}
--key "${MEILI_MASTER_KEY}"
update article
update article
s
--file zot-articles.json
...
...
@@ -412,17 +407,26 @@ set-meili-env:prod:
-
if
:
$CI_COMMIT_BRANCH == "main"
##############################
sync-zotero
:
.
sync-zotero
:
extends
:
.df-wiki-cli-run
stage
:
zotero
stage
:
pre-processing
script
:
-
df-wiki-cli articles missing-doi --dir ./content/ --key ${ZOTERO_API_KEY}
-
df-wiki-cli articles fetch-from-zotero --key ${ZOTERO_API_KEY} --output zot-articles.json
artifacts
:
paths
:
-
zot-articles.json
sync-zotero:dev
:
extends
:
.sync-zotero
when
:
manual
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "dev"
-
if
:
$CI_COMMIT_BRANCH != "main"
sync-zotero:prod
:
extends
:
.sync-zotero
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
################ BUILD ##########################
...
...
@@ -468,7 +472,7 @@ build:prod:wiki:
extends
:
.build
needs
:
-
set-meili-env:prod
-
sync-zotero
-
sync-zotero
:prod
# - get-pfam
variables
:
BASE_URL
:
/wiki/
...
...
@@ -514,7 +518,7 @@ build:prod:wiki:
deploy:dev
:
extends
:
.deploy
rules
:
-
if
:
$CI_COMMIT_BRANCH == "dev" || $CI_COMMIT_BRANCH == "
system-distribution-plot
"
-
if
:
$CI_COMMIT_BRANCH == "dev" || $CI_COMMIT_BRANCH == "
operon-struct-type-article-update
"
needs
:
-
"
build:dev:wiki"
when
:
manual
...
...
This diff is collapsed.
Click to expand it.
components/OperonStructure.vue
+
2
−
2
View file @
4ba78d05
...
...
@@ -18,9 +18,9 @@ const height = ref<number>(150)
const
svgRef
=
ref
<
SVGElement
|
null
>
(
null
)
const
margin
=
ref
<
PlotMargin
>
({
marginTop
:
10
,
marginRight
:
5
,
marginRight
:
7
,
marginBottom
:
30
,
marginLeft
:
5
,
marginLeft
:
7
,
})
const
snackbar
=
ref
(
false
)
...
...
This diff is collapsed.
Click to expand it.
components/content/ArticleSystemDistributionPlot.vue
+
2
−
2
View file @
4ba78d05
...
...
@@ -191,7 +191,7 @@ async function fetchSystemHits() {
pending
.
value
=
true
const
data
=
await
client
.
index
(
toValue
(
msIndexName
)).
search
(
""
,
{
facets
:
[
"
*
"
],
filter
:
[
`type
=
'
${
toValue
(
systemName
)}
'`
],
filter
:
[
`type
=
'
${
toValue
(
systemName
)}
'`
],
limit
:
500000
,
})
systemHits
.
value
=
data
...
...
@@ -285,4 +285,4 @@ async function fetchRefSeqTaxo() {
</v-card-text>
</v-card>
</v-card>
</template>
\ No newline at end of file
</template>
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment