diff --git a/README.md b/README.md index beddb3251..68635c8c7 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# GitHub Actions Runner -

+# GitHub Actions Runner + [![Actions Status](https://github.com/actions/runner/workflows/Runner%20CI/badge.svg)](https://github.com/actions/runner/actions) The runner is the application that runs a job from a GitHub Actions workflow. The runner can run on the [hosted machine pools](https://github.com/actions/virtual-environments) or run on [self-hosted environments](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/about-self-hosted-runners). diff --git a/docs/start/envlinux.md b/docs/start/envlinux.md index f7927783d..4e27cf2ec 100644 --- a/docs/start/envlinux.md +++ b/docs/start/envlinux.md @@ -28,7 +28,7 @@ Execute ./bin/installdependencies.sh to install any missing Dotnet Core 3.0 depe ``` You can easily correct the problem by executing `./bin/installdependencies.sh`. The `installdependencies.sh` script should install all required dependencies on all supported Linux versions -> Note: The `installdependencies.sh` script will try to use the default package management mechanism on your Linux flavor (ex. `yum`/`apt-get`/`apt`). You might need to deal with error coming from the package management mechanism related to your setup, like [#1353](https://github.com/Microsoft/vsts-agent/issues/1353) +> Note: The `installdependencies.sh` script will try to use the default package management mechanism on your Linux flavor (ex. `yum`/`apt-get`/`apt`). ### Full dependencies list diff --git a/images/arm/Dockerfile b/images/arm/Dockerfile deleted file mode 100644 index 233468fd0..000000000 --- a/images/arm/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM mcr.microsoft.com/dotnet/core/runtime-deps:2.1 - -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - curl \ - git \ - && rm -rf /var/lib/apt/lists/* diff --git a/images/centos6/Dockerfile b/images/centos6/Dockerfile deleted file mode 100644 index 8270e68b9..000000000 --- a/images/centos6/Dockerfile +++ /dev/null @@ -1,150 +0,0 @@ -FROM centos:6 - -# Install dependencies - -RUN yum install -y \ - centos-release-SCL \ - epel-release \ - wget \ - unzip \ - && \ - rpm --import http://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern && \ - wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo && \ - yum install -y \ - "perl(Time::HiRes)" \ - autoconf \ - cmake \ - cmake3 \ - devtoolset-2-toolchain \ - doxygen \ - expat-devel \ - gcc \ - gcc-c++ \ - gdb \ - gettext-devel \ - krb5-devel \ - libedit-devel \ - libidn-devel \ - libmetalink-devel \ - libnghttp2-devel \ - libssh2-devel \ - libunwind-devel \ - libuuid-devel \ - lttng-ust-devel \ - lzma \ - ncurses-devel \ - openssl-devel \ - perl-devel \ - python-argparse \ - python27 \ - readline-devel \ - swig \ - xz \ - zlib-devel \ - && \ - yum clean all - -# Build and install clang and lldb 3.9.1 - -RUN wget ftp://sourceware.org/pub/binutils/snapshots/binutils-2.29.1.tar.xz && \ - wget http://releases.llvm.org/3.9.1/cfe-3.9.1.src.tar.xz && \ - wget http://releases.llvm.org/3.9.1/llvm-3.9.1.src.tar.xz && \ - wget http://releases.llvm.org/3.9.1/lldb-3.9.1.src.tar.xz && \ - wget http://releases.llvm.org/3.9.1/compiler-rt-3.9.1.src.tar.xz && \ - \ - tar -xf binutils-2.29.1.tar.xz && \ - tar -xf llvm-3.9.1.src.tar.xz && \ - mkdir llvm-3.9.1.src/tools/clang && \ - mkdir llvm-3.9.1.src/tools/lldb && \ - mkdir llvm-3.9.1.src/projects/compiler-rt && \ - tar -xf cfe-3.9.1.src.tar.xz --strip 1 -C llvm-3.9.1.src/tools/clang && \ - tar -xf lldb-3.9.1.src.tar.xz --strip 1 -C llvm-3.9.1.src/tools/lldb && \ - tar -xf compiler-rt-3.9.1.src.tar.xz --strip 1 -C llvm-3.9.1.src/projects/compiler-rt && \ - rm binutils-2.29.1.tar.xz && \ - rm cfe-3.9.1.src.tar.xz && \ - rm lldb-3.9.1.src.tar.xz && \ - rm llvm-3.9.1.src.tar.xz && \ - rm compiler-rt-3.9.1.src.tar.xz && \ - \ - mkdir llvmbuild && \ - cd llvmbuild && \ - scl enable python27 devtoolset-2 \ - ' \ - cmake3 \ - -DCMAKE_CXX_COMPILER=/opt/rh/devtoolset-2/root/usr/bin/g++ \ - -DCMAKE_C_COMPILER=/opt/rh/devtoolset-2/root/usr/bin/gcc \ - -DCMAKE_LINKER=/opt/rh/devtoolset-2/root/usr/bin/ld \ - -DCMAKE_BUILD_TYPE=Release \ - -DLLVM_LIBDIR_SUFFIX=64 \ - -DLLVM_ENABLE_EH=1 \ - -DLLVM_ENABLE_RTTI=1 \ - -DLLVM_BINUTILS_INCDIR=../binutils-2.29.1/include \ - ../llvm-3.9.1.src \ - && \ - make -j $(($(getconf _NPROCESSORS_ONLN)+1)) && \ - make install \ - ' && \ - cd .. && \ - rm -r llvmbuild && \ - rm -r llvm-3.9.1.src && \ - rm -r binutils-2.29.1 - -# Build and install curl 7.45.0 - -RUN wget https://curl.haxx.se/download/curl-7.45.0.tar.lzma && \ - tar -xf curl-7.45.0.tar.lzma && \ - rm curl-7.45.0.tar.lzma && \ - cd curl-7.45.0 && \ - scl enable python27 devtoolset-2 \ - ' \ - ./configure \ - --disable-dict \ - --disable-ftp \ - --disable-gopher \ - --disable-imap \ - --disable-ldap \ - --disable-ldaps \ - --disable-libcurl-option \ - --disable-manual \ - --disable-pop3 \ - --disable-rtsp \ - --disable-smb \ - --disable-smtp \ - --disable-telnet \ - --disable-tftp \ - --enable-ipv6 \ - --enable-optimize \ - --enable-symbol-hiding \ - --with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt \ - --with-nghttp2 \ - --with-gssapi \ - --with-ssl \ - --without-librtmp \ - && \ - make install \ - ' && \ - cd .. && \ - rm -r curl-7.45.0 - -# Install ICU 57.1 - -RUN wget http://download.icu-project.org/files/icu4c/57.1/icu4c-57_1-RHEL6-x64.tgz && \ - tar -xf icu4c-57_1-RHEL6-x64.tgz -C / && \ - rm icu4c-57_1-RHEL6-x64.tgz - -# Compile and install a version of the git that supports the features that cli repo build needs -# NOTE: The git needs to be built after the curl so that it can use the libcurl to add https -# protocol support. -RUN \ - wget https://www.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz && \ - tar -xf git-2.9.5.tar.gz && \ - rm git-2.9.5.tar.gz && \ - cd git-2.9.5 && \ - make configure && \ - ./configure --prefix=/usr/local --without-tcltk && \ - make -j $(nproc --all) all && \ - make install && \ - cd .. && \ - rm -r git-2.9.5 - -ENV LD_LIBRARY_PATH=/usr/local/lib