forked from rahulkhatri137/cirrus-ssh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
28 lines (24 loc) · 784 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
env:
TZ: Asia/KolKata
task:
name: "Ubuntu SSH"
timeout_in: 120m
container:
image: ubuntu:latest
cpu: 8
memory: 32G
Build-Env-Setup_script:
- export DEBIAN_FRONTEND=noninteractive
- apt update
- apt install sudo
- df -h
- DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
- ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime
- apt-get install -y tzdata
- dpkg-reconfigure --frontend noninteractive tzdata
- sudo apt update -y && sudo apt install git aria2 curl ccache tmate -y
- ssh-keygen -t rsa -q -f "$HOME/.ssh/id_rsa" -N ""
Tmate_script:
- sudo bash $CIRRUS_WORKING_DIR/tmate
Spam_script:
- bash $CIRRUS_WORKING_DIR/spam.sh