Skip to content

Commit

Permalink
update GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrajodas committed Jan 21, 2025
1 parent 03d9210 commit 3aecad7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,29 @@ env:
KBC_DEVELOPERPORTAL_PASSWORD: ${{ secrets.KBC_DEVELOPERPORTAL_PASSWORD }}
DOCKERHUB_USER: keboolabot
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

# AWS Credentials
TEST_STORAGE_API_URL: https://connection.eu-central-1.keboola.com/
TEST_STORAGE_API_TOKEN: ${{ secrets.TEST_STORAGE_API_TOKEN }}
TEST_AWS_ACCESS_KEY_ID: AKIAQLZBTO5VMQJGVGNK
TEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
TEST_AWS_REGION: eu-central-1
TEST_AWS_S3_BUCKET: ci-app-project-backup-s3filesbucket-7qyiq6iqfrse

# Azure Credentials
TEST_AZURE_STORAGE_API_URL: https://connection.north-europe.azure.keboola.com/
TEST_AZURE_STORAGE_API_TOKEN: ${{ secrets.TEST_AZURE_STORAGE_API_TOKEN }}
TEST_AZURE_ACCOUNT_NAME: ciappprojectbackup
TEST_AZURE_ACCOUNT_KEY: ${{ secrets.TEST_AZURE_ACCOUNT_KEY }}
TEST_AZURE_REGION: eu-west-1

# GCP Credentials
TEST_GCP_STORAGE_API_URL: "https://connection.europe-west3.gcp.keboola.com/"
TEST_GCP_STORAGE_API_TOKEN: ${{ secrets.TEST_GCP_STORAGE_API_TOKEN }}
TEST_GCP_SERVICE_ACCOUNT: ${{ secrets.TEST_GCP_SERVICE_ACCOUNT }}
TEST_GCP_BUCKET: "ci-app-project-backup"
TEST_GCP_REGION: "europe-west3"

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,6 +103,11 @@ jobs:
-e TEST_AZURE_ACCOUNT_NAME
-e TEST_AZURE_ACCOUNT_KEY
-e TEST_AZURE_REGION
-e TEST_GCP_STORAGE_API_URL
-e TEST_GCP_STORAGE_API_TOKEN
-e TEST_GCP_BUCKET
-e TEST_GCP_REGION
-e TEST_GCP_SERVICE_ACCOUNT
$APP_IMAGE composer ci
deploy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/vendor
/.idea
/data
.phpunit.result.cache
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ services:
- TEST_AZURE_ACCOUNT_NAME
- TEST_AZURE_ACCOUNT_KEY
- TEST_AZURE_REGION
- TEST_GCP_STORAGE_API_URL
- TEST_GCP_STORAGE_API_TOKEN
- TEST_GCP_BUCKET
- TEST_GCP_REGION
- TEST_GCP_SERVICE_ACCOUNT

0 comments on commit 3aecad7

Please sign in to comment.