From 28e9a4661fa18d1c5c9a7cb9c41988e8074f6a58 Mon Sep 17 00:00:00 2001 From: mengyang88 <45415776+mengyang88@users.noreply.github.com> Date: Fri, 10 Apr 2020 11:38:56 +0800 Subject: [PATCH 1/2] add --- known_hosts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 known_hosts diff --git a/known_hosts b/known_hosts new file mode 100644 index 00000000..bef2e98f --- /dev/null +++ b/known_hosts @@ -0,0 +1,4 @@ +vs-ssh.visualstudio.com,52.175.28.40 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Hr1oTWqNqOlzGJOfGJ4NakVyIzf1rXYd4d7wo6jBlkLvCA4odBlL0mDUyZ0/QUfTTqeu+tm22gOsv+VrVTMk6vwRU75gY/y9ut5Mb3bR5BV58dKXyq9A9UeB5Cakehn5Zgm6x1mKoVyf+FFn26iYqXJRgzIZZcZ5V6hrE0Qg39kZm4az48o0AUbf6Sp4SLdvnuMa2sVNwHBboS7EJkm57XQPVU3/QpyNLHbWDdzwtrlS+ez30S3AdYhLKEOxAG8weOnyrtLJAUen9mTkol8oII1edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H +ssh.dev.azure.com,40.81.25.218 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Hr1oTWqNqOlzGJOfGJ4NakVyIzf1rXYd4d7wo6jBlkLvCA4odBlL0mDUyZ0/QUfTTqeu+tm22gOsv+VrVTMk6vwRU75gY/y9ut5Mb3bR5BV58dKXyq9A9UeB5Cakehn5Zgm6x1mKoVyf+FFn26iYqXJRgzIZZcZ5V6hrE0Qg39kZm4az48o0AUbf6Sp4SLdvnuMa2sVNwHBboS7EJkm57XQPVU3/QpyNLHbWDdzwtrlS+ez30S3AdYhLKEOxAG8weOnyrtLJAUen9mTkol8oII1edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H +40.82.217.103 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Hr1oTWqNqOlzGJOfGJ4NakVyIzf1rXYd4d7wo6jBlkLvCA4odBlL0mDUyZ0/QUfTTqeu+tm22gOsv+VrVTMk6vwRU75gY/y9ut5Mb3bR5BV58dKXyq9A9UeB5Cakehn5Zgm6x1mKoVyf+FFn26iYqXJRgzIZZcZ5V6hrE0Qg39kZm4az48o0AUbf6Sp4SLdvnuMa2sVNwHBboS7EJkm57XQPVU3/QpyNLHbWDdzwtrlS+ez30S3AdYhLKEOxAG8weOnyrtLJAUen9mTkol8oII1edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H +github.com,13.229.188.59 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== From d4bd27d64d02b0707512370ad8f4e198a19dee7b Mon Sep 17 00:00:00 2001 From: mengyang88 <45415776+mengyang88@users.noreply.github.com> Date: Fri, 10 Apr 2020 14:14:15 +0800 Subject: [PATCH 2/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..4e3f1604 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: Ubuntu 16.04 + + +stages: +- stage: stage + variables: + sshKeySecureFile: "id_rsa" + sshPublicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeIMtSDkCWM0p4LjF9xp5OYgeMDGHdawpvu6ll7zGG85GU9Ws2M5PHjUymfEC9Y56apcm+8uCQVhvDigTsZVv3YOEAOFCSMYNMHUKubp43iD3abvcW79lTukrB0LRm0X9Fsf+mfzHeCxj3Y61zh+G/yeHhn/nIQZfahxNj4FLGHxPkK/W6YSgCqSJgXOi0so9RYHm6pEA3zSfvTpd2jONcm3vb+B9PP8SIe+ec/D4A+zyvToaeseLDSVSkyOdpw0f522GWt/2oVWSHQ6/APHewi8ZTEqnCZ0iN8q3RXLpjKVIeO4YpK8sBncHFd1OImSeoUdAgCqIk4Ivtugug0UKP v-memeng@microsoft.com" + jobs: + - job: job + steps: + - task: InstallSSHKey@0 + inputs: + knownHostsEntry: known_hosts + sshPublicKey: $(sshPublicKey) + sshKeySecureFile: $(sshKeySecureFile) \ No newline at end of file