- Fix al status message en la llamada remota APIObject. Issue: 103338 #2116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cloud Storage Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'master' | |
- 'release-*' | |
push: | |
branches: | |
- 'master' | |
- 'beta' | |
- 'release-*' | |
- 'beta-corona' | |
schedule: | |
- cron: '0 0 * * 1' # At 00:00 on (every) Monday | |
jobs: | |
test-cloud-storage-providers: | |
name: Cloud Storage Provider Test | |
env: | |
GIT_REF: ${{ github.ref }} | |
GIT_SHA: ${{ github.sha }} | |
POM_PATH: ./pom.xml | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ vars.JAVA_VERSION }} | |
distribution: 'temurin' | |
- name: Setup Maven | |
uses: stCarolas/[email protected] | |
with: | |
maven-version: ${{ vars.MAVEN_VERSION }} | |
- name: Setup Maven settings | |
uses: whelk-io/maven-settings-xml-action@v14 | |
with: | |
repositories: '[{ "id": "github-genexuslabs", "url": "https://maven.pkg.github.com/genexuslabs/Private-Maven-for-GX", "releases": { "enabled": "true" }, "snapshots": { "enabled": "true" } }]' | |
servers: '[{ "id": "github-genexuslabs", "username": "genexusbot", "password": "${{ secrets.SECURE_TOKEN }}" }]' | |
- name: Install | |
run: mvn -B install --file $POM_PATH -DskipTests | |
- name: Test Cloud Storage | |
env: | |
AWSS3_TEST_ENABLED: true | |
STORAGE_AWSS3_ACCESS_KEY: "${{ secrets.AWSS3_ACCESS_KEY }}" | |
STORAGE_AWSS3_SECRET_KEY: "${{ secrets.AWSS3_SECRET_KEY }}" | |
STORAGE_AWSS3_BUCKET_NAME: genexus-s3-test | |
STORAGE_AWSS3_FOLDER_NAME: gxclasses | |
STORAGE_AWSS3_REGION: us-east-1 | |
IBMCOS_TEST_ENABLED: true | |
STORAGE_IBMCOS_ACCESS_KEY: "${{ secrets.IBMCOS_ACCESS_KEY }}" | |
STORAGE_IBMCOS_SECRET_KEY: "${{ secrets.IBMCOS_SECRET_KEY }}" | |
STORAGE_IBMCOS_BUCKET_NAME: gxclasses-unit-tests | |
STORAGE_IBMCOS_FOLDER_NAME: tests | |
STORAGE_IBMCOS_REGION: us-south | |
AZUREBS_TEST_ENABLED: true | |
STORAGE_AZUREBS_ACCESS_KEY: "${{ secrets.AZUREBS_ACCESS_KEY }}" | |
STORAGE_AZUREBS_ACCOUNT_NAME: "${{ secrets.AZUREBS_ACCOUNT_NAME }}" | |
STORAGE_AZUREBS_FOLDER_NAME: tests | |
STORAGE_AZUREBS_PUBLIC_CONTAINER_NAME: contluispublic | |
STORAGE_AZUREBS_PRIVATE_CONTAINER_NAME: contluisprivate | |
GOOGLECS_TEST_ENABLED: true | |
STORAGE_GOOGLECS_PROJECT_ID: gxjavacloudstorageunittests | |
STORAGE_GOOGLECS_BUCKET_NAME: javaclasses-unittests | |
STORAGE_GOOGLECS_FOLDER_NAME: gxclasses | |
STORAGE_GOOGLECS_APPLICATION_NAME: gxjavacloudstorageunittests | |
run: | | |
export STORAGE_GOOGLECS_KEY="${{ secrets.GOOGLECS_KEY }}" | |
mvn -B -pl gxcloudstorage-tests test --file $POM_PATH |