This repository has been archived by the owner on Jan 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
sudo: required | ||
dist: trusty | ||
group: deprecated-2017Q4 | ||
language: bash | ||
before_script: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install aria2 zip unzip check xz-utils | ||
script: | ||
- source ./env.sh | ||
- "${DLR} ${ROOTFS_URL_CENTOS} -o ${ROOTFS_FN_CENTOS}" | ||
- "${DLR} ${LNCR_URL} -o ${LNCR_ZIP}" | ||
- echo ${ROOTFS_URL_CENTOS} | ||
- pwd | ||
- ls -lh | ||
- unzip ${LNCR_ZIP} ${LNCR_FN_CENTOS} | ||
- mkdir rootfs | ||
- sudo tar -Jxpf ${ROOTFS_FN_CENTOS} -C rootfs | ||
- cd rootfs | ||
- sudo tar -zcpf ../rootfs.tar.gz * | ||
- sudo chown `id -un` ../rootfs.tar.gz | ||
- cd .. | ||
- mkdir out | ||
- mv -f ${LNCR_FN_CENTOS} ./out/ | ||
- mv -f rootfs.tar.gz ./out/ | ||
- cd out | ||
- zip CentOS-${ROOTFS_VER_CENTOS}.zip * | ||
- cd .. | ||
- pwd && ls -lh | ||
notifications: | ||
email: false | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: KX3QbcGrxpe1EDe7pAdodmC35UgskEN8dBwv1sQgriNghqSx7/Ed6E5N+Lb1pqxlWIO6dU174wAHS+xk1jnsyyAPU233fFvs/YtubkanH7tyKIB8cowWxLo4LJjxFsRKIi/zPqmvfR6Su1AmotgEsLTv3TwrE7oPxZCkThBNin0R8LPDbdl+dtwrMlk16fIzmAegysJ8+4UWY8ab1+0g8RXyseh9QUVpVaqLU1l1bxb86SYl/HnXgvniAzpri20Sz2wNy+GEzgGOvPa/gDC22oN563Cpnqh2mOFzjmFv0jM9FcibJlFYEiowD6uhHEkNU0peyWIBtK7BX+cYtshnjtuWm1FsUL5HaaxwhS1OzyLFjCVfn6uIn3yKdDCZt3rgr2gfleEtcPmsDm5RIeeXlBodEHXqUVaioHOK2eMCtqdUnYJfzJ1PGUzh091HZ6F2NfCTUfzc4uX2Peal4SlH5tR+aCokSdX8fsCdCvENi8EGFe3zbiy751S2Aos1bbOAYpymoFHWnw5VJX6JMH0b1hKF3GdjeJe0lor1Vf6wkjVifdaIMlj+Jhdmw1tv23hg1IdzLgZa+7dgOh4v59uLf78JeK8fhMBH1rC0RD+0r6LYzNJsNxQXQ65SlUH0PsYwVKpdvYcl/rJjSFsEzs+IznJHLmbbxCoxMBgM7tvTbuY= | ||
file: out/CentOS-${ROOTFS_VER_CENTOS}.zip | ||
skip_cleanup: true | ||
on: | ||
repo: fbigun/WSL-Distro-Rootfs | ||
tags: true | ||
all_branches: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# rootfs.tar.gz tarball available for the [WSL-DistroLauncher](https://github.com/yuk7/WSL-DistroLauncher) project | ||
|
||
[![Build Status](https://travis-ci.org/fbigun/WSL-Distro-Rootfs.svg?branch=master)](https://travis-ci.org/fbigun/WSL-Distro-Rootfs) | ||
|
||
Rootfs based on the official dockerhub image. | ||
|
||
- [CentOS](https://github.com/CentOS/sig-cloud-instance-images) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# [WSL-DistroLauncher](https://github.com/yuk7/WSL-DistroLauncher) 项目可用的 rootfs.tar.gz tarball | ||
|
||
[![Build Status](https://travis-ci.org/fbigun/WSL-Distro-Rootfs.svg?branch=master)](https://travis-ci.org/fbigun/WSL-Distro-Rootfs) | ||
|
||
基于 docker 镜像来制作的 rootfs。 | ||
|
||
- [CentOS](https://github.com/CentOS/sig-cloud-instance-images) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
ROOTFS_VER_CENTOS="7.5.1804" | ||
ROOTFS_FN_CENTOS="centos-7-docker.tar.xz" | ||
ROOTFS_URL_CENTOS="https://github.com/CentOS/sig-cloud-instance-images/raw/CentOS-${ROOTFS_VER_CENTOS}/docker/${ROOTFS_FN_CENTOS}" | ||
|
||
LNCR_BLD="18062100" | ||
LNCR_ZIP="icons.zip" | ||
LNCR_FN_CENTOS="CentOS.exe" | ||
LNCR_URL="https://github.com/yuk7/WSL-DistroLauncher/releases/download/${LNCR_BLD}/${LNCR_ZIP}" | ||
|
||
if type curl >/dev/null 2>&1 ;then | ||
DLR="curl" | ||
fi | ||
if type wget >/dev/null 2>&1;then | ||
DLR="wget" | ||
fi | ||
if type aria2c >/dev/null 2>&1; then | ||
DLR="aria2c -x4" | ||
fi | ||
|
||
|