Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged changes not reflected on website #9

Open
csantander opened this issue Jun 10, 2017 · 10 comments
Open

Merged changes not reflected on website #9

csantander opened this issue Jun 10, 2017 · 10 comments

Comments

@csantander
Copy link
Contributor

Several days ago I merged some changes. Surprised not to see those changes reflected in the website after so many days, I clicked around to understand the process a bit better and I found that changes should take around 10 minutes to be deployed thanks to the bot. Given that the changes aren't reflected yet, I have to assume that: a) the webhook isn't configured correctly, b) the bot is down, c) I broke something with my changes, or d) there's something else going on that I don't know about.

@wilzbach
Copy link
Member

D) the auto-deploy is unfortunately down. Sadly there isn't much I can do about, but the admin promised to fix it soon. I will keep you updated once it's fixed...

@csantander
Copy link
Contributor Author

Unfortunate indeed. Is there a manual deploy that can be used?

@wilzbach
Copy link
Member

Unfortunate indeed. Is there a manual deploy that can be used?

Hmm we have never done this before. The reason why auto-deploy was disabled were some weird issues with Docker.
However, since last week I finally have credentials for the server, so I will try my luck .
CC @stonemaster @ZombineDev

@stonemaster
Copy link

The README in deploy should help hopefully. And docs of Docker-compose for the commands. Essentially it should be just 'pull' and 'up -d'.
Sorry for the lag didn't manage to Look at this so far . Will so asap.

@wilzbach
Copy link
Member

The README in deploy should help hopefully. And docs of Docker-compose for the commands. Essentially it should be just 'pull' and 'up -d'.

Hmm FYI that shortly broke the website as apparently our SSL redirect wasn't perfect: dlang-tour/core#537
(it works for SSL)
I have already merged the hotfix and it should be on Dockerhub soon).

@wilzbach
Copy link
Member

I have already merged the hotfix and it should be on Dockerhub soon).

We are back online 🎉

@wilzbach
Copy link
Member

or d) there's something else going on that I don't know about.

FWIW (in case you are wondering why the basic pages aren't shown): the basics chapter isn't listed in the main index.yml:

#10

(feel free to ping me for a manual redeploy)

@csantander
Copy link
Contributor Author

Thank you for deploying! I've merged #10, so you can redeploy whenever you can.

@wilzbach
Copy link
Member

Thank you for deploying! I've merged #10, so you can redeploy whenever you can.

Done: https://tour.dlang.org/tour/es/basics/imports-and-modules

@stonemaster sometimes I run into the issues that you described:

tour_1        | Using execution driver 'docker'
tour_1        | Initializing Docker driver
tour_1        | Time Limit: 25
tour_1        | Maximum Queue Size: 10
tour_1        | Memory Limit: 256 MB
tour_1        | Output size limit: 10 B
tour_1        | Checking whether Docker is functional and updating Docker image 'stonemaster/dlang-tour-rdmd'
tour_1        | Using docker binary at '/usr/local/bin/docker'
tour_1        | object.Exception@source/exec/docker.d(52): Docker doesn't seem to be functional. Error: ''. RC: -11

which weirdly can only be fixed by retriggering a Travis job to rebuild the docker image...
I didn't think that I need to actively turn the watchtower off, so that's done now.
Unfortunately, when I try to build the Docker image locally (Docker version 17.05.0-ce), I get strange errors/bugs from Docker telling me that it can't find the file:

/docker.start.sh: exec: line 14: /dlang-tour: not found

However, it's there and stat or ls works fine ...

@csantander
Copy link
Contributor Author

Thanks again! Feel free to close this issue, if you wish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants