Skip to content

Commit

Permalink
update export nehuba version to support google bucket api
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Oct 28, 2024
1 parent 8c52ed9 commit 8eaccc8
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 35 deletions.
34 changes: 8 additions & 26 deletions .github/workflows/dockerimg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
# use_docs (use_docs are built on readthedocs any way)
- 'use_docs/*'

env:
OKD_URL: https://okd.hbp.eu:443
jobs:
build-docker-img:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -99,28 +97,12 @@ jobs:
secrets:
KUBECONFIG: ${{ secrets.KUBECONFIG }}

deploy-on-okd:
deploy-rewrite-on-rancher:
needs: [ build-docker-img ]
if: success()
runs-on: ubuntu-latest
steps:
- name: "Configure image stream"
run: |
if [[ "$GITHUB_REF" == "refs/heads/master" ]]
then
echo "IMAGE_STREAM_TAG=docker-registry.default.svc:5000/voluba/voluba-img-deploy:latest" >> $GITHUB_ENV
fi
if [[ "$GITHUB_REF" == "refs/heads/staging" ]]
then
echo "IMAGE_STREAM_TAG=docker-registry.default.svc:5000/voluba/voluba-stg-img-deploy:staging" >> $GITHUB_ENV
fi
- name: "Login via cli"
run: |
if [[ ! -z "$IMAGE_STREAM_TAG" ]]
then
oc login ${{ env.OKD_URL }} --token=${{ secrets.OKD_SECRET }}
oc project voluba
oc import-image $IMAGE_STREAM_TAG
else
echo "Empty IMAGE_STREAM_TAG, skipping"
fi
if: ${{ github.ref == 'refs/heads/rf_rewriteFrontend' && success() }}
uses: ./.github/workflows/deploy-helm.yml
with:
DEPLOYMENT_NAME: voluba-angular
IMAGE_TAG: rf_rewriteFrontend
secrets:
KUBECONFIG: ${{ secrets.KUBECONFIG }}
22 changes: 22 additions & 0 deletions .helm/adhoc/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,28 @@ spec:
dnsNames:
# (CHANGE ME! same as `commonName`)
- voluba.apps.tc.humanbrainproject.eu
issuerRef:
name: letsencrypt-production-issuer-1
kind: ClusterIssuer
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: voluba-ebrains-cert
spec:
secretName: voluba-prod-ebrains-cert-secret
renewBefore: 120h
commonName: voluba.apps.ebrains.eu
isCA: false
privateKey:
algorithm: RSA
encoding: PKCS1
size: 2048
usages:
- server auth
dnsNames:
# (CHANGE ME! same as `commonName`)
- voluba.apps.ebrains.eu
issuerRef:
name: letsencrypt-production-issuer-1
kind: ClusterIssuer
2 changes: 1 addition & 1 deletion .helm/voluba-prod/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.1.1
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.1.1"
appVersion: "1.1.2"
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@angular/router": "^15.0.0",
"@ngrx/effects": "^15.1.0",
"@ngrx/store": "^15.1.0",
"export-nehuba": "^0.1.7",
"export-nehuba": "^0.1.10",
"prettier": "^2.8.3",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
Expand Down

0 comments on commit 8eaccc8

Please sign in to comment.