Skip to content

Commit 14bec10

Browse files
Sergei Kuvakinlafin
Sergei Kuvakin
authored andcommitted
chore: removed mentions of travis
1 parent 2c61de4 commit 14bec10

File tree

3 files changed

+6
-47
lines changed

3 files changed

+6
-47
lines changed

CONTRIBUTING.md

+4-43
Original file line numberDiff line numberDiff line change
@@ -10,53 +10,14 @@ Your contributions such as reporting a bug and sending pull-request are very wel
1010
## How to send pull-request
1111

1212
1. Fork the repository: https://github.com/multiarch/qemu-user-static . Ex. https://github.com/junaruga/qemu-user-static
13-
2. This repository is using Travis CI. You can test your modified code on your forked repository before sending a pull-requeste. Go to https://travis-ci.org/your_account_name/qemu-user-static , then enable Travis. Ex. https://travis-ci.org/junaruga/qemu-user-static
13+
2. This repository is using Github Actions. You can test your modified code on your forked repository before sending a pull-requeste.
1414
3. If you want to test pushing created container images,
1515
* You need to have your own container repository such as DockerHub or Quay.io. Ex. https://quay.io/repository/junaruga/qemu-user-static
16-
* You need to set environment variables `DOCKER_USERNAME` and `DOCKER_PASSWORD` on your repository's Travis CI Settings page. Please remember it is better to set `DOCKER_PASSWORD` without displaying the value for your security.
17-
![Forked repository's Travis CI Settings](docs/images/forked-repo-travis-ci-settings.png)
18-
16+
* You need to set environment variables `DOCKER_USERNAME` and `DOCKER_PASSWORD` on your repository's Settings page. Please remember it is better to set `DOCKER_PASSWORD` without displaying the value for your security.
1917
4. You also need to have your https://quay.io/repository/junaruga/qemu-user-static
20-
5. You need to edit `.travis.yml` with your container repository. This step can be improved in the future.
18+
5. You need to edit `.github/workflows/actions.yml` with your container repository. This step can be improved in the future.
2119
6. Below is an example of how to test with your container repository.
22-
23-
```
24-
$ git diff
25-
diff --git a/.travis.yml b/.travis.yml
26-
index 79ca070..edee35e 100644
27-
--- a/.travis.yml
28-
+++ b/.travis.yml
29-
@@ -15,13 +15,13 @@ env:
30-
- VERSION=4.0.0-5
31-
# See qemu-user-static's RPM spec file on Fedora to check the new version.
32-
# https://src.fedoraproject.org/rpms/qemu/blob/master/f/qemu.spec
33-
- - DOCKER_SERVER=docker.io
34-
- # - DOCKER_SERVER=quay.io
35-
+ # - DOCKER_SERVER=docker.io
36-
+ - DOCKER_SERVER=quay.io
37-
# Git repository
38-
- REPO=multiarch/qemu-user-static
39-
# Container repository
40-
- - DOCKER_REPO=$DOCKER_SERVER/multiarch/qemu-user-static
41-
- # - DOCKER_REPO=$DOCKER_SERVER/your_username/qemu-user-static
42-
+ # - DOCKER_REPO=$DOCKER_SERVER/multiarch/qemu-user-static
43-
+ - DOCKER_REPO=$DOCKER_SERVER/junaruga/qemu-user-static
44-
45-
- PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/4.0.0/5.fc31/x86_64/qemu-user-static-4.0.0-5.fc31.x86_64.rpm"
46-
- PACKAGE_FILENAME=$(basename "$PACKAGE_URI")
47-
@@ -39,7 +39,7 @@ script:
48-
- ./test.sh -d "$DOCKER_REPO"
49-
after_success:
50-
- |
51-
- if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
52-
+ # if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
53-
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" "$DOCKER_SERVER" && \
54-
docker push "$DOCKER_REPO"
55-
- fi
56-
+ # fi
57-
```
58-
59-
7. Check Travis CI's log, and ensure the container images are created.
20+
7. Check Github Actions's log, and ensure the container images are created.
6021
8. You are ready to send the pull-request!
6122

6223
## References

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ $ docker run --rm -t ppc64le/busybox uname -m
4444
ppc64le
4545
```
4646

47-
For 32-bit container image, the result of `uname` can be the 64-bit's one. But it is 32-bit environment. Please see the [example](docs/examples.md) - junaruga/ci-multi-arch-test i386 case on Travis CI.
48-
4947
```
5048
$ docker run --rm -t i386/ubuntu uname -m
5149
x86_64

docs/developers_guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ binfmt_misc is a feature of kernel. A container uses the host OS's kernel.
8080
## Programs input & output
8181

8282
In this section, we describe a program's input and output.
83-
This repository is a pipeline system by using Travis CI.
83+
This repository is a pipeline system by using Github Actions.
8484

85-
First, we describe the entire pipelne system's input and output. `.travis.yml` is the top level file.
85+
First, we describe the entire pipelne system's input and output. `.github/workflows/actions.yml` is the top level file.
8686

8787
* Input of the pipeline: `qemu-user-static-X.Y.Z-R.fcNN.$arch.rpm` RPM file under [Fedora Project URL](https://kojipkgs.fedoraproject.org/packages/qemu). Right now `$arch` is only x86_64.
8888
* Output of the pipeline:

0 commit comments

Comments
 (0)