Skip to content

Commit

Permalink
update: env var SE_VIDEO_INTERNAL_UPLOAD is true by default
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
  • Loading branch information
VietND96 committed Aug 29, 2024
1 parent deb9d30 commit 7b18a8f
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ jobs:
run: |
git config --local user.email "selenium-ci@users.noreply.github.com"
git config --local user.name "Selenium CI Bot"
git commit -m "Update tag in docs and files" -a
git commit -m "Update tag ${RELEASE_TAG} in docs and files" -a
env:
RELEASE_TAG: "${{ env.GRID_VERSION }}-${{ env.BUILD_DATE }}"
- name: Push changes
if: env.LATEST_TAG != env.NEXT_TAG && github.event.inputs.skip-commit != 'true'
uses: ad-m/github-push-action@master
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ jobs:
timeout_minutes: 20
max_attempts: 3
retry_wait_seconds: 120
command: make chart_release
command: |
make chart_release
echo "LATEST_CHART_VERSION=$(cat /tmp/latest_chart_version)" >> $GITHUB_ENV
- name: Run chart-releaser
if: env.IS_RELEASE == 'true'
Expand All @@ -105,7 +107,7 @@ jobs:
run: |
git config --local user.email "selenium-ci@users.noreply.github.com"
git config --local user.name "Selenium CI Bot"
git commit -m "Update chart changelog [skip ci]" -a || true
git commit -m "Update chart ${LATEST_CHART_VERSION} changelog [skip ci]" -a || true
- name: Push changes
if: github.event.inputs.skip-commit != 'true'
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,6 @@ services:
- DISPLAY_CONTAINER_NAME=chrome
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
- SE_UPLOAD_DESTINATION_PREFIX=s3://mybucket/path
- RCLONE_CONFIG_S3_TYPE=s3
- RCLONE_CONFIG_S3_PROVIDER=GCS
Expand Down
1 change: 0 additions & 1 deletion docker-compose-v3-video-upload-dynamic-grid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ services:
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_FILE_NAME_SUFFIX=true
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp with prefix SE_
- SE_RCLONE_CONFIG_MYFTP_TYPE=ftp
Expand Down
3 changes: 0 additions & 3 deletions docker-compose-v3-video-upload-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ services:
- DISPLAY_CONTAINER_NAME=standalone_chrome
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
# Remote name and destination path to upload
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp
Expand All @@ -83,7 +82,6 @@ services:
- DISPLAY_CONTAINER_NAME=standalone_edge
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
# Remote name and destination path to upload
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp
Expand All @@ -108,7 +106,6 @@ services:
- DISPLAY_CONTAINER_NAME=standalone_firefox
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
# Remote name and destination path to upload
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp
Expand Down
3 changes: 0 additions & 3 deletions docker-compose-v3-video-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ services:
- SE_NODE_GRID_URL=http://selenium-hub:4444
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
# Remote name and destination path to upload
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp
Expand All @@ -76,7 +75,6 @@ services:
- SE_NODE_GRID_URL=http://selenium-hub:4444
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
# Remote name and destination path to upload
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp
Expand All @@ -97,7 +95,6 @@ services:
- SE_NODE_GRID_URL=http://selenium-hub:4444
- SE_VIDEO_FILE_NAME=auto
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
# Remote name and destination path to upload
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
# All configs required for RCLONE to upload to remote name myftp
Expand Down
1 change: 1 addition & 0 deletions tests/charts/make/chart_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ NAMESPACE=${NAMESPACE:-"selenium"}
# Function to be executed on command failure

latest_chart_version=$(find . \( -type d -name .git -prune \) -o -type f -wholename '*/selenium-grid/Chart.yaml' -print0 | xargs -0 cat | grep ^version | cut -d ':' -f 2 | tr -d '[:space:]')
echo "${latest_chart_version}" > /tmp/latest_chart_version
helm template oci://registry-1.docker.io/${NAMESPACE}/selenium-grid --version ${latest_chart_version}
if [[ $? -eq 0 ]]; then
echo "Chart version $latest_chart_version is already available in the registry"
Expand Down
1 change: 0 additions & 1 deletion tests/docker-compose-v3-test-node-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ services:
- SE_VIDEO_FILE_NAME=${VIDEO_FILE_NAME}
- SE_VIDEO_FILE_NAME_SUFFIX=${VIDEO_FILE_NAME_SUFFIX}
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
- SE_RCLONE_CONFIG_MYFTP_TYPE=ftp
- SE_RCLONE_CONFIG_MYFTP_HOST=ftp_server
Expand Down
1 change: 0 additions & 1 deletion tests/docker-compose-v3-test-standalone-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
- SE_VIDEO_FILE_NAME=${VIDEO_FILE_NAME}
- SE_VIDEO_FILE_NAME_SUFFIX=${VIDEO_FILE_NAME_SUFFIX}
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
- SE_RCLONE_CONFIG_MYFTP_TYPE=ftp
- SE_RCLONE_CONFIG_MYFTP_HOST=ftp_server
Expand Down
1 change: 0 additions & 1 deletion tests/docker-compose-v3-test-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ services:
- SE_VIDEO_FILE_NAME_SUFFIX=${VIDEO_FILE_NAME_SUFFIX}
- SE_SUPERVISORD_LOG_LEVEL=error
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
- RCLONE_CONFIG_MYFTP_TYPE=ftp
- RCLONE_CONFIG_MYFTP_HOST=ftp_server
Expand Down
1 change: 0 additions & 1 deletion tests/docker-compose-v3-test-video.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ services:
- SE_VIDEO_FILE_NAME_SUFFIX=${VIDEO_FILE_NAME_SUFFIX}
- SE_SUPERVISORD_LOG_LEVEL=info
- SE_VIDEO_UPLOAD_ENABLED=true
- SE_VIDEO_INTERNAL_UPLOAD=true
- SE_UPLOAD_DESTINATION_PREFIX=myftp://ftp/seluser
- RCLONE_CONFIG_MYFTP_TYPE=ftp
- RCLONE_CONFIG_MYFTP_HOST=ftp_server
Expand Down

0 comments on commit 7b18a8f

Please sign in to comment.