pin non-v versions

This commit is contained in:
Martin McKeaveney 2023-07-17 21:48:02 +01:00
parent c9f6c057c6
commit d7bcdfe3af
7 changed files with 33 additions and 17 deletions

View File

@ -96,7 +96,7 @@ jobs:
git fetch git fetch
mkdir sync mkdir sync
echo "Packaging chart to sync dir" echo "Packaging chart to sync dir"
helm package charts/budibase --version 0.0.0-master --app-version v"$RELEASE_VERSION" --destination sync helm package charts/budibase --version 0.0.0-master --app-version "$RELEASE_VERSION" --destination sync
echo "Packaging successful" echo "Packaging successful"
git checkout gh-pages git checkout gh-pages
echo "Indexing helm repo" echo "Indexing helm repo"

View File

@ -43,7 +43,7 @@ jobs:
run: | run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
release_tag=v${{ env.RELEASE_VERSION }} release_tag=${{ env.RELEASE_VERSION }}
# Pull apps and worker images # Pull apps and worker images
docker pull budibase/apps:$release_tag docker pull budibase/apps:$release_tag
@ -108,8 +108,8 @@ jobs:
- name: Perform Github Release - name: Perform Github Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
name: v${{ env.RELEASE_VERSION }} name: ${{ env.RELEASE_VERSION }}
tag_name: v${{ env.RELEASE_VERSION }} tag_name: ${{ env.RELEASE_VERSION }}
generate_release_notes: true generate_release_notes: true
files: | files: |
packages/cli/build/cli-win.exe packages/cli/build/cli-win.exe

View File

@ -71,7 +71,7 @@ jobs:
context: . context: .
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: budibase/budibase,budibase/budibase:v${{ env.RELEASE_VERSION }} tags: budibase/budibase,budibase/budibase:${{ env.RELEASE_VERSION }}
file: ./hosting/single/Dockerfile file: ./hosting/single/Dockerfile
- name: Tag and release Budibase Azure App Service docker image - name: Tag and release Budibase Azure App Service docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
@ -80,5 +80,5 @@ jobs:
push: true push: true
platforms: linux/amd64 platforms: linux/amd64
build-args: TARGETBUILD=aas build-args: TARGETBUILD=aas
tags: budibase/budibase-aas,budibase/budibase-aas:v${{ env.RELEASE_VERSION }} tags: budibase/budibase-aas,budibase/budibase-aas:${{ env.RELEASE_VERSION }}
file: ./hosting/single/Dockerfile file: ./hosting/single/Dockerfile

View File

@ -14,7 +14,7 @@ type: application
# populates on packaging # populates on packaging
version: 0.0.0 version: 0.0.0
# populates on packaging # populates on packaging
appVersion: 0.0.0 appVersion: v2.8.10
dependencies: dependencies:
- name: couchdb - name: couchdb
version: 3.3.4 version: 3.3.4

View File

@ -76,8 +76,8 @@ affinity: {}
globals: globals:
appVersion: "" # Use as an override to .Chart.AppVersion appVersion: "" # Use as an override to .Chart.AppVersion
budibaseEnv: PRODUCTION budibaseEnv: PRODUCTION
tenantFeatureFlags: "*:LICENSING,*:USER_GROUPS,*:ONBOARDING_TOUR" tenantFeatureFlags: "*:LICENSING,*:USER_GROUPS"
enableAnalytics: "1" enableAnalytics: "0"
sentryDSN: "" sentryDSN: ""
posthogToken: "phc_bIjZL7oh2GEUd2vqvTBH8WvrX0fWTFQMs6H5KQxiUxU" posthogToken: "phc_bIjZL7oh2GEUd2vqvTBH8WvrX0fWTFQMs6H5KQxiUxU"
selfHosted: "1" # set to 0 for budibase cloud environment, set to 1 for self-hosted setup selfHosted: "1" # set to 0 for budibase cloud environment, set to 1 for self-hosted setup
@ -95,9 +95,9 @@ globals:
createSecrets: true # creates an internal API key, JWT secrets and redis password for you createSecrets: true # creates an internal API key, JWT secrets and redis password for you
# if createSecrets is set to false, you can hard-code your secrets here # if createSecrets is set to false, you can hard-code your secrets here
apiEncryptionKey: "" apiEncryptionKey: "test"
internalApiKey: "" internalApiKey: "test"
jwtSecret: "" jwtSecret: "test"
cdnUrl: "" cdnUrl: ""
# fallback values used during live rotation # fallback values used during live rotation
internalApiKeyFallback: "" internalApiKeyFallback: ""
@ -209,14 +209,14 @@ services:
# Override values in couchDB subchart # Override values in couchDB subchart
couchdb: couchdb:
## clusterSize is the initial size of the CouchDB cluster. ## clusterSize is the initial size of the CouchDB cluster.
clusterSize: 3 clusterSize: 1
allowAdminParty: false allowAdminParty: false
# Secret Management # Secret Management
createAdminSecret: true createAdminSecret: true
# adminUsername: budibase adminUsername: budibase
# adminPassword: budibase adminPassword: budibase
# adminHash: -pbkdf2-this_is_not_necessarily_secure_either # adminHash: -pbkdf2-this_is_not_necessarily_secure_either
# cookieAuthSecret: admin # cookieAuthSecret: admin
@ -239,11 +239,11 @@ couchdb:
## provisioning of Persistent Volumes; leaving it unset will invoke the default ## provisioning of Persistent Volumes; leaving it unset will invoke the default
## provisioner. ## provisioner.
persistentVolume: persistentVolume:
enabled: false enabled: true
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
size: 10Gi size: 10Gi
storageClass: "" storageClass: "local-path"
## The CouchDB image ## The CouchDB image
image: image:

11
charts/pvc.yaml Normal file
View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: local-path-pvc
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 2Gi

5
charts/rollout_test.sh Executable file
View File

@ -0,0 +1,5 @@
for i in {1..100000}; do
curl -s -XGET -o /dev/null -w "%{http_code}" http://localhost:10000/builder
sleep 0.1
done