We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and launch gcp instance:
:::::::::::::: create_polis :::::::::::::: gcloud compute instances create polis-dev-2 --flags-file=create_polis_flags.yaml
:::::::::::::: create_polis_flags.yaml :::::::::::::: --project: interview-study-310213 --zone: us-west1-b --machine-type: e2-custom-8-32768 --network-interface: network-tier: PREMIUM subnet: default --maintenance-policy: MIGRATE --service-account: [email protected] --create-disk: auto-delete=yes,boot=yes,device-name=polis-dev-2,image=projects/debian-cloud/global/images/debian-10-buster-v20211104,mode=rw,size=10,type=pr ojects/interview-study-310213/zones/us-central1-a/diskTypes/pd-balanced --no-shielded-secure-boot: --shielded-vtpm: --shielded-integrity-monitoring: --reservation-affinity: any --scopes: - https://www.googleapis.com/auth/devstorage.read_only - https://www.googleapis.com/auth/logging.write - https://www.googleapis.com/auth/monitoring.write - https://www.googleapis.com/auth/servicecontrol - https://www.googleapis.com/auth/service.management.readonly - https://www.googleapis.com/auth/trace.append --metadata: enable-oslogin: "TRUE" startup-script: | #! /bin/bash # to monitor this script: ssh to instance and run # sudo journalctl -u google-startup-scripts.service sudo apt update sudo apt -y install git sudo apt-get -y install \ ca-certificates \ curl \ gnupg \ lsb-release sudo /bin/rm -f /usr/share/keyrings/docker-archive-keyring.gpg curl -fsSL https://download.docker.com/linux/debian/gpg | \ sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \ https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee \ /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get -y install docker-ce docker-ce-cli containerd.io sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" \ -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose mkdir code cd code #git clone https://github.com/compdemocracy/polis.git # for cypress: sudo apt-get -y install make npm sudo apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev \ libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 \ libxtst6 xauth xvfb lynx chromium
Monitor build process:
sudo journalctl -f -u google-startup-scripts.service
Build docker images
sudo docker-compose up --build -d
Install cypress
cd e2e npm install
Edit package.json to run headless tests.
✖ 3 of 15 failed (20%) 09:14 74 46 15 13 -
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Build and launch gcp instance:
Monitor build process:
Build docker images
Install cypress
Edit package.json to run headless tests.
The text was updated successfully, but these errors were encountered: