-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/w/7.70/feature/CLDSRV-244/migrat…
…eToGithubActions' into w/8.4/feature/CLDSRV-244/migrateToGithubActions
- Loading branch information
Showing
29 changed files
with
449 additions
and
1,092 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: "Setup CI environment" | ||
description: "Setup Cloudserver CI environment" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup etc/hosts | ||
shell: bash | ||
run: sudo echo "127.0.0.1 bucketwebsitetester.s3-website-us-east-1.amazonaws.com" | sudo tee -a /etc/hosts | ||
- name: Setup Credentials | ||
shell: bash | ||
run: bash .github/scripts/credentials.bash | ||
- name: Setup job artifacts directory | ||
shell: bash | ||
run: |- | ||
set -exu; | ||
mkdir -p /tmp/artifacts/${{ github.job }}/; | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
cache: 'yarn' | ||
- name: install dependencies | ||
shell: bash | ||
run: yarn install --ignore-engines --frozen-lockfile --network-concurrency 1 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip | ||
- name: Install python deps | ||
shell: bash | ||
run: pip install docker-compose |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
azurebackend_AZURE_STORAGE_ACCESS_KEY | ||
azurebackend_AZURE_STORAGE_ACCOUNT_NAME | ||
azurebackend_AZURE_STORAGE_ENDPOINT | ||
azurebackend2_AZURE_STORAGE_ACCESS_KEY | ||
azurebackend2_AZURE_STORAGE_ACCOUNT_NAME | ||
azurebackend2_AZURE_STORAGE_ENDPOINT | ||
azurebackendmismatch_AZURE_STORAGE_ACCESS_KEY | ||
azurebackendmismatch_AZURE_STORAGE_ACCOUNT_NAME | ||
azurebackendmismatch_AZURE_STORAGE_ENDPOINT | ||
azurenonexistcontainer_AZURE_STORAGE_ACCESS_KEY | ||
azurenonexistcontainer_AZURE_STORAGE_ACCOUNT_NAME | ||
azurenonexistcontainer_AZURE_STORAGE_ENDPOINT | ||
azuretest_AZURE_BLOB_ENDPOINT | ||
b2backend_B2_ACCOUNT_ID | ||
b2backend_B2_STORAGE_ACCESS_KEY | ||
GOOGLE_SERVICE_EMAIL | ||
GOOGLE_SERVICE_KEY | ||
AWS_S3_BACKEND_ACCESS_KEY | ||
AWS_S3_BACKEND_SECRET_KEY | ||
AWS_S3_BACKEND_ACCESS_KEY_2 | ||
AWS_S3_BACKEND_SECRET_KEY_2 | ||
AWS_GCP_BACKEND_ACCESS_KEY | ||
AWS_GCP_BACKEND_SECRET_KEY | ||
AWS_GCP_BACKEND_ACCESS_KEY_2 | ||
AWS_GCP_BACKEND_SECRET_KEY_2 | ||
b2backend_B2_STORAGE_ENDPOINT | ||
gcpbackend2_GCP_SERVICE_EMAIL | ||
gcpbackend2_GCP_SERVICE_KEY | ||
gcpbackend2_GCP_SERVICE_KEYFILE | ||
gcpbackend_GCP_SERVICE_EMAIL | ||
gcpbackend_GCP_SERVICE_KEY | ||
gcpbackendmismatch_GCP_SERVICE_EMAIL | ||
gcpbackendmismatch_GCP_SERVICE_KEY | ||
gcpbackend_GCP_SERVICE_KEYFILE | ||
gcpbackendmismatch_GCP_SERVICE_KEYFILE | ||
gcpbackendnoproxy_GCP_SERVICE_KEYFILE | ||
gcpbackendproxy_GCP_SERVICE_KEYFILE |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
services: | ||
cloudserver: | ||
image: ${CLOUDSERVER_IMAGE} | ||
command: sh -c "yarn start > /artifacts/s3.log" | ||
network_mode: "host" | ||
volumes: | ||
- /tmp/ssl:/ssl | ||
- /tmp/ssl-kmip:/ssl-kmip | ||
- ${HOME}/.aws/credentials:/root/.aws/credentials | ||
- /tmp/artifacts/${JOB_NAME}:/artifacts | ||
environment: | ||
- CI=true | ||
- ENABLE_LOCAL_CACHE=true | ||
- REDIS_HOST=0.0.0.0 | ||
- REDIS_PORT=6379 | ||
- REPORT_TOKEN=report-token-1 | ||
- REMOTE_MANAGEMENT_DISABLE=1 | ||
- HEALTHCHECKS_ALLOWFROM=0.0.0.0/0 | ||
- DATA_HOST=0.0.0.0 | ||
- METADATA_HOST=0.0.0.0 | ||
- S3BACKEND | ||
- S3DATA | ||
- MPU_TESTING | ||
- S3VAULT | ||
- S3_LOCATION_FILE | ||
- ENABLE_UTAPI_V2 | ||
- BUCKET_DENY_FILTER | ||
- S3KMS | ||
- S3KMIP_PORT | ||
- S3KMIP_HOSTS | ||
- S3KMIP-COMPOUND_CREATE | ||
- S3KMIP_BUCKET_ATTRIBUTE_NAME | ||
- S3KMIP_PIPELINE_DEPTH | ||
- S3KMIP_KEY | ||
- S3KMIP_CERT | ||
- S3KMIP_CA | ||
env_file: | ||
- creds.env | ||
depends_on: | ||
- redis | ||
extra_hosts: | ||
- "bucketwebsitetester.s3-website-us-east-1.amazonaws.com:127.0.0.1" | ||
- "pykmip.local:127.0.0.1" | ||
redis: | ||
image: redis:alpine | ||
network_mode: "host" | ||
squid: | ||
network_mode: "host" | ||
profiles: ['ci-proxy'] | ||
image: scality/ci-squid | ||
command: >- | ||
sh -c 'mkdir -p /ssl && | ||
openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 \ | ||
-subj "/C=US/ST=Country/L=City/O=Organization/CN=CN=scality-proxy" \ | ||
-keyout /ssl/myca.pem -out /ssl/myca.pem && | ||
cp /ssl/myca.pem /ssl/CA.pem && | ||
squid -f /etc/squid/squid.conf -N -z && | ||
squid -f /etc/squid/squid.conf -NYCd 1' | ||
volumes: | ||
- /tmp/ssl:/ssl | ||
pykmip: | ||
network_mode: "host" | ||
profiles: ['pykmip'] | ||
image: registry.scality.com/cloudserver-dev/pykmip | ||
volumes: | ||
- /tmp/artifacts/${JOB_NAME}:/artifacts |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.