Skip to content

Commit

Permalink
Keep an admintools version separate from temporal version. (#207)
Browse files Browse the repository at this point in the history
* Keep an admintools version separate from temporal version.

This allows us to account for new admintools tagging format.

* Adjust release action to take an admintools version.
  • Loading branch information
robholland authored Jun 5, 2024
1 parent 1f95f48 commit 52f74c5
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CASSANDRA_VERSION=3.11.9
ELASTICSEARCH_VERSION=7.16.2
MYSQL_VERSION=8
TEMPORAL_VERSION=1.24.0
TEMPORAL_ADMINTOOLS_VERSION=1.24.0-tctl-1.18.1-cli-0.12.0
TEMPORAL_UI_VERSION=2.26.2
POSTGRESQL_VERSION=13
POSTGRES_PASSWORD=temporal
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
tag:
description: "Tag for new version (1.23.4)"
required: true
admintools_tag:
description: "Admin tools version (1.23.4-tctl-1.0-cli-1.0)"
required: true

jobs:
create-tag:
Expand Down Expand Up @@ -40,8 +43,10 @@ jobs:
- name: Update images version
env:
TAG: ${{ github.event.inputs.tag }}
ADMINTOOLS_TAG: ${{ github.event.inputs.admintools_tag }}
run: |
sed -i -e "s/^TEMPORAL_VERSION=.*$/TEMPORAL_VERSION=$TAG/g" .env
sed -i -e "s/^TEMPORAL_ADMINTOOLS_VERSION=.*$/TEMPORAL_ADMINTOOLS_VERSION=$ADMINTOOLS_TAG/g" .env
if [ -n "$(git diff --stat)" ]; then
git add .
git commit -m "Bump Server version to $TAG"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-cass-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-cockroach-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-cockroach.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-multirole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ services:
environment:
- TEMPORAL_CLI_ADDRESS=temporal-nginx:7233
- TEMPORAL_ADDRESS=temporal-nginx:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
stdin_open: true
tty: true
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-mysql-es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-postgres-opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ services:
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_VERSION}
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION}
networks:
- temporal-network
stdin_open: true
Expand Down

0 comments on commit 52f74c5

Please sign in to comment.