Skip to content

Commit

Permalink
Fix setting hostname in container in CI
Browse files Browse the repository at this point in the history
Our venerable hack of setting the hostname on the host doesn't seem to
work on newer Fedora.

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
  • Loading branch information
frozencemetery committed Nov 13, 2020
1 parent 12ddba0 commit 8299ff3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"jobs": {
"linux": {
"runs-on": "ubuntu-latest",
"container": {
"image": "${{ matrix.distro }}",
"options": "-htest.box",
},
"strategy": {
"fail-fast": false,
"matrix": {
Expand Down Expand Up @@ -45,9 +49,8 @@
},
{
"name": "Build and test gssapi",
"run": "./ci/run-on-linux.sh ./ci/build.sh",
"run": "./ci/build.sh",
"env": {
"DISTRO": "${{ matrix.distro }}",
"KRB5_VER": "${{ matrix.krb5_ver }}",
"FLAKE": "${{ matrix.flake }}",
},
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"jobs": {
"update-pages": {
"runs-on": "ubuntu-latest",
"container": "fedora-latest",
"steps": [
{
"name": "Check out code",
"uses": "actions/checkout@v2",
},
{
"name": "Build docs",
"run": "./ci/run-on-linux.sh ./ci/before-docs-deploy.sh",
"env": { "DISTRO": "fedora:latest" },
"run": "./ci/before-docs-deploy.sh",
},
{
"name": "Deploy latest docs",
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
"jobs": {
"release-linux": {
"runs-on": "ubuntu-latest",
"container": {
"image": "fedora:latest",
"options": "-htest.box",
},
"steps": [
{
"name": "Check out code",
"uses": "actions/checkout@v2",
},
{
"name": "Set things up",
"run": "./ci/run-on-linux.sh ./ci/before-deploy.sh",
"env": { "DISTRO": "fedora:latest" },
"run": "./ci/before-deploy.sh",
},
{
"name": "Deploy to PyPI",
Expand Down
14 changes: 0 additions & 14 deletions ci/run-on-linux.sh

This file was deleted.

0 comments on commit 8299ff3

Please sign in to comment.