mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge branch 'master' into 6014-feature-webapp-join-leave-button-on-group-page-is-misleading
This commit is contained in:
commit
c5d3b8830b
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@ -300,6 +300,14 @@ jobs:
|
|||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}'
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}'
|
||||||
|
|
||||||
|
- name: Repository Dispatch stage.ocelot.social
|
||||||
|
uses: peter-evans/repository-dispatch@v2
|
||||||
|
with:
|
||||||
|
token: ${{ github.token }}
|
||||||
|
event-type: trigger-build-success
|
||||||
|
repository: 'Ocelot-Social-Community/stage.ocelot.social'
|
||||||
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}'
|
||||||
|
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
# # JOB: KUBERNETES DEPLOY ACTUAL/LATEST VERSION ######################################
|
# # JOB: KUBERNETES DEPLOY ACTUAL/LATEST VERSION ######################################
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|||||||
@ -7,7 +7,13 @@ SCRIPT_DIR=$(dirname $SCRIPT_PATH)
|
|||||||
# configuration
|
# configuration
|
||||||
CONFIGURATION=${CONFIGURATION:-"example"}
|
CONFIGURATION=${CONFIGURATION:-"example"}
|
||||||
KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeconfig.yaml}
|
KUBECONFIG=${KUBECONFIG:-${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubeconfig.yaml}
|
||||||
VALUES=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubernetes/values.yaml
|
VALUES=${SCRIPT_DIR}/../configurations/${CONFIGURATION}/kubernetes/values.
|
||||||
|
DOCKERHUB_OCELOT_TAG=${DOCKERHUB_OCELOT_TAG:-"latest"}
|
||||||
|
|
||||||
# upgrade with helm
|
# upgrade with helm
|
||||||
helm --kubeconfig=${KUBECONFIG} upgrade ocelot --values ${VALUES} ${SCRIPT_DIR}/../src/kubernetes/ --debug --timeout 10m
|
helm --kubeconfig=${KUBECONFIG} upgrade ocelot \
|
||||||
|
--values ${VALUES} \
|
||||||
|
--set appVersion="${DOCKERHUB_OCELOT_TAG}"
|
||||||
|
${SCRIPT_DIR}/../src/kubernetes/ \
|
||||||
|
--debug \
|
||||||
|
--timeout 10m
|
||||||
@ -1,9 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="group-list">
|
<ds-flex class="group-list">
|
||||||
<ds-space margin-bottom="small" v-for="group in groups" :key="group.id">
|
<ds-flex-item
|
||||||
|
v-for="group in groups"
|
||||||
|
:key="group.id"
|
||||||
|
:width="{ base: '98%', sm: '98%', md: '48%' }"
|
||||||
|
class="group-item"
|
||||||
|
>
|
||||||
<group-teaser :group="group" />
|
<group-teaser :group="group" />
|
||||||
</ds-space>
|
</ds-flex-item>
|
||||||
</div>
|
</ds-flex>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -19,3 +24,8 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.group-item {
|
||||||
|
margin: 0 1% 2% 1%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<tab-navigation :tabs="tabOptions" :activeTab="tabActive" @switch-tab="handleTab" />
|
<tab-navigation :tabs="tabOptions" :activeTab="tabActive" @switch-tab="handleTab" />
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-space margin="large" />
|
<ds-space margin="large" />
|
||||||
<ds-container>
|
<ds-space>
|
||||||
<!-- create group -->
|
<!-- create group -->
|
||||||
<ds-space centered>
|
<ds-space centered>
|
||||||
<nuxt-link :to="{ name: 'group-create' }">
|
<nuxt-link :to="{ name: 'group-create' }">
|
||||||
@ -49,7 +49,7 @@
|
|||||||
@next="nextResults"
|
@next="nextResults"
|
||||||
/>
|
/>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-container>
|
</ds-space>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@ -346,7 +346,7 @@ export default {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 6;
|
z-index: 6;
|
||||||
margin-top: -35px;
|
margin-top: -35px;
|
||||||
padding: 20px 10px 5px 10px;
|
padding: 20px 10px 20px 10px;
|
||||||
background-color: #f5f4f6;
|
background-color: #f5f4f6;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 656px) {
|
@media screen and (max-width: 656px) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user