Skip to content

Commit 1742ac7

Browse files
authored
Merge pull request #3174 from Sefaria/master
Fix Pipeline
2 parents 0bb79f8 + afa85b7 commit 1742ac7

7 files changed

Lines changed: 19 additions & 7 deletions

File tree

.github/workflows/continuous.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- reopened
77
- synchronize
88
- ready_for_review
9+
branches-ignore:
10+
- preprod
11+
- prod
912
merge_group:
1013

1114
concurrency:

.github/workflows/deploy-static.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,11 @@ jobs:
245245
CHART_VERSION="${{ steps.chart.outputs.version }}"
246246
RELEASE_TAG="${ENV_NAME}/${APP_VERSION}+chart.${CHART_VERSION}"
247247
248-
git add "$ENV_FILE"
248+
mkdir -p helm-chart/promotions promotions
249+
echo "${CHART_VERSION}" > helm-chart/promotions/${ENV_NAME}
250+
echo "${APP_VERSION}" > promotions/${ENV_NAME}
251+
252+
git add "$ENV_FILE" helm-chart/promotions/${ENV_NAME} promotions/${ENV_NAME}
249253
git commit -m "deploy(${ENV_NAME}): app=${APP_VERSION} chart=${CHART_VERSION} [skip ci]"
250254
git tag -a "${RELEASE_TAG}" -m "deploy(${ENV_NAME}): app=${APP_VERSION} chart=${CHART_VERSION}"
251255
git push origin "${GITHUB_REF_NAME}" --follow-tags

.releaserc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ plugins: [
55
{"type": "static", "release": "patch"},
66
{"type": "chore", "release": "patch"},
77
{"type": "ci", "release": "patch"},
8-
{"type": "helm", "release": false}
8+
{"type": "helm", "release": false},
9+
{"type": "deploy", "release": "patch"}
910
]
1011
}],
1112
['@semantic-release/release-notes-generator', {

envs/staging/helmrelease.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
chart:
1010
spec:
1111
chart: sefaria
12-
version: "0.79.0"
12+
version: "0.79.1"
1313
sourceRef:
1414
kind: HelmRepository
1515
name: sefaria-project-helm-repo
@@ -30,7 +30,7 @@ spec:
3030
web:
3131
containerImage:
3232
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-web
33-
tag: "v6.79.6"
33+
tag: "v6.80.0"
3434
resources:
3535
web:
3636
resources:
@@ -54,7 +54,7 @@ spec:
5454
nodejs:
5555
containerImage:
5656
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-node
57-
tag: "v6.79.6"
57+
tag: "v6.80.0"
5858
resources:
5959
requests:
6060
memory: "400Mi"
@@ -76,11 +76,11 @@ spec:
7676
nginx:
7777
containerImage:
7878
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-asset
79-
tag: "v6.79.6"
79+
tag: "v6.80.0"
8080
monitor:
8181
containerImage:
8282
imageRegistry: us-east1-docker.pkg.dev/production-deployment/containers/sefaria-web
83-
tag: "v6.79.6"
83+
tag: "v6.80.0"
8484
tasks:
8585
enabled: false
8686
postgres:

helm-chart/promotions/staging

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.79.1

helm-chart/release-rules.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ plugins:
1717
- {"type": "perf", "release": "patch"}
1818
- {"type": "test", "release": "patch"}
1919
- {"type": "static", "release": "patch"}
20+
- {"type": "helm", "release": "patch"}
21+
- {"type": "deploy", "release": "patch"}
2022
parserOpts:
2123
noteKeywords:
2224
- MAJOR RELEASE

promotions/staging

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.80.0

0 commit comments

Comments
 (0)