Skip to content

Commit

Permalink
try out github codespace permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Nov 13, 2024
1 parent eca0efc commit abaddff
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .devcontainer/setup-dev-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ go get github.com/onsi/gomega/...
echo "Starting Minikube..."
minikube start

echo "Logging into GHCR (GitHub Container Registry)..."
echo "$REPOSITORY_USER_TOKEN" | docker login ghcr.io -u "$REPOSITORY_USER" --password-stdin
# echo "Logging into GHCR (GitHub Container Registry)..."
# echo "$REPOSITORY_USER_TOKEN" | docker login ghcr.io -u "$REPOSITORY_USER" --password-stdin

# Navigate to the directory and prepare the environment
echo "Preparing S3 and IAM log and directories..."
Expand All @@ -18,6 +18,10 @@ mkdir -p logs/s3 logs/iam logs/cosi_driver data/vaultdb && \
sudo chown -R vscode:vscode logs data && \
chmod -R ugo+rwx logs data && \

# Pulling docker images
docker pull ghcr.io/scality/vault:7.70.26
docker pull ghcr.io/scality/cloudserver:7.70.55

# Start Docker Compose for the 'iam_s3' profile
echo "Deploying S3 and IAM using docker compose..."
docker compose --profile iam_s3 up -d
Expand Down

0 comments on commit abaddff

Please sign in to comment.