Skip to content

Commit 24c5fbe

Browse files
Prepare 2.2.0
1 parent a1ae2f1 commit 24c5fbe

File tree

10 files changed

+64
-22
lines changed

10 files changed

+64
-22
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Tests
2121
uses: ./.github/workflows/tests.yml
2222
with:
23-
version: main
24-
last_published_version: dev-main
23+
version: 2.2.x
24+
last_published_version: 2.2.0
2525
use_default_github_ref: true
2626
secrets: inherit

.github/workflows/deploy-2.1.x.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Deploy 2.1.x
22

33
on:
4-
schedule:
5-
- cron: '30 1 * * 1-5'
64
workflow_dispatch:
75
inputs:
86
skip_tests:

.github/workflows/deploy-2.2.x.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Deploy 2.1.x
2+
3+
on:
4+
schedule:
5+
- cron: '30 1 * * 1-5'
6+
workflow_dispatch:
7+
inputs:
8+
skip_tests:
9+
description: 'Skip tests before delivery ?'
10+
type: boolean
11+
default: false
12+
required: false
13+
14+
jobs:
15+
tests:
16+
name: Tests
17+
if: ${{ inputs.skip_tests == false }}
18+
uses: ./.github/workflows/tests.yml
19+
with:
20+
version: 2.2.x
21+
last_published_version: 2.2.0
22+
secrets:
23+
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
24+
PACKAGIST_URL: ${{ secrets.PACKAGIST_URL }}
25+
26+
deploy-2_2_X:
27+
needs: tests
28+
name: Deploy 2.2.x
29+
if: |
30+
always() &&
31+
(needs.tests.result == 'success' || needs.tests.result == 'skipped')
32+
uses: ./.github/workflows/deploy-int.yml
33+
with:
34+
version: 2.2.x
35+
last_published_version: 2.2.x-dev
36+
secrets:
37+
AWS_DEPLOY_KEY: ${{ secrets.AWS_DEPLOY_KEY }}
38+
AWS_HOSTNAME: ${{ secrets.AWS_HOSTNAME_STABLE }}
39+
AWS_USER: ${{ secrets.AWS_USER }}
40+
APP_SECRET: ${{ secrets.APP_SECRET }}
41+
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
42+
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
43+
PACKAGIST_URL: ${{ secrets.PACKAGIST_URL }}
44+
MAILER_DSN: ${{ secrets.MAILER_DSN }}
45+
GALLY_DEFAULT_SENDER_NAME: ${{ secrets.GALLY_DEFAULT_SENDER_NAME_STABLE }}
46+
GALLY_DEFAULT_SENDER_EMAIL: ${{ secrets.GALLY_DEFAULT_SENDER_EMAIL_STABLE }}

.github/workflows/deploy-demo-llm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: ./.github/workflows/tests.yml
1717
with:
1818
version: ${{ github.ref_name }}
19-
last_published_version: 1.3.1
19+
last_published_version: 2.2.0
2020
secrets: inherit
2121

2222
deploy-demo-llm:
@@ -28,7 +28,7 @@ jobs:
2828
uses: ./.github/workflows/deploy-int.yml
2929
with:
3030
version: ${{ github.ref_name }}
31-
last_published_version: 2.1.0
31+
last_published_version: 2.2.0
3232
secrets:
3333
AWS_DEPLOY_KEY: ${{ secrets.AWS_DEPLOY_KEY }}
3434
AWS_HOSTNAME: ${{ secrets.AWS_HOSTNAME_DEMO_LLM }}

.github/workflows/qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v3
1919
with:
2020
repository: 'Elastic-Suite/gally-admin'
21-
ref: main
21+
ref: 2.2.x
2222
path: front/gally-admin
2323
- name: Cache Composer dependencies
2424
uses: actions/cache@v4

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ init-dev-env: .env ## Initialize current environment with dev repositories
8484
sh ./hooks/initHooksPath.sh
8585

8686
switch-dev-env: ## Switch current environment with dev repositories on a composer version, pass the parameter "v=" to set the composer version, example: make switch-dev-env v=2.0.0
87-
@$(eval v ?= 2.2.x-dev)
87+
@$(eval v ?= 2.2.0)
8888
$(DOCKER_COMP) up -d --wait php # Wait php container to be ready
8989
$(COMPOSER) config repositories.gally-standard '{ "type": "path", "url": "./packages/gally-standard", "options": { "versions": { "gally/gally-standard": "$(v)"}} }'
9090
$(COMPOSER) config repositories.gally-premium '{ "type": "path", "url": "./packages/gally-premium", "options": { "versions": { "gally/gally-premium": "$(v)"}} }'

api/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"doctrine/doctrine-bundle": "^2.7",
1212
"doctrine/doctrine-migrations-bundle": "^3.2",
1313
"doctrine/orm": "^2.12",
14-
"gally/gally-standard": "2.2.x-dev",
14+
"gally/gally-standard": "2.2.0",
1515
"lexik/jwt-authentication-bundle": "^2.14",
1616
"nelmio/cors-bundle": "^2.2",
1717
"opensearch-project/opensearch-php": "^2.3",

api/composer.lock

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front/example-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@elastic-suite/gally-admin-shared": "2.1.0",
6+
"@elastic-suite/gally-admin-shared": "2.2.0",
77
"@emotion/react": "11.10.4",
88
"@emotion/styled": "11.10.4",
99
"@mui/icons-material": "5.10.6",

front/pwa/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"prepare": "cd public && ln -fsT ../../node_modules/@elastic-suite/gally-admin-components/public/locales/ locales && ln -fsT ../../node_modules/@elastic-suite/gally-admin-components/public/images/ images"
2121
},
2222
"dependencies": {
23-
"@elastic-suite/gally-admin-components": "2.1.0",
24-
"@elastic-suite/gally-admin-shared": "2.1.0",
23+
"@elastic-suite/gally-admin-components": "2.2.0",
24+
"@elastic-suite/gally-admin-shared": "2.2.0",
2525
"@emotion/react": "11.10.4",
2626
"@emotion/styled": "11.10.4",
2727
"@mui/material": "5.10.5",

0 commit comments

Comments
 (0)