Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 2.12 KB

README.md

File metadata and controls

73 lines (48 loc) · 2.12 KB

VIX BACKEND TEST

Requirements

Test

We will provide a docker image for you, this image will have an enviroment like we have on VIX. It will have:

  • GITEA - software development version control.
  • Drone - Continuos Integration/Continuos Delivery
  • SSH - Secure Shell

Step by Step

In order to proceed here you have to have all the requirements.

Clone the Repo
git clone https://github.com/vixtech/backend-test.git

Run the docker image

Inside the project directory.

docker-compose up

Access all the services with your browser

  • Gitea (User: candidate, Password: changeit)

The Gitea works like GitHub, you will use the provided user/password to login, and there you will have a repository with some issues to resolve. We expect that you create 1 Pull Request per issue. When all tests of the Pull Request CI/CD pass you can merge the PR yourself. We also expect that you match the PR in the issue and may update the issue with additional info.

Drone is our CI/CD application, it will run the pipeline for all commit we push to the repo.

After you solve the test

Commit the available container by just executing this command:

Change the change-here-for-your-docker-hub-username for your docker-hub username

docker commit $(docker ps | grep backend-test | awk '{print $1}') change-here-for-your-docker-hub-username/backend-test

Then make a docker login:

docker login

Then push the image.

Change the change-here-for-your-docker-hub-username for your docker-hub username

docker push change-here-for-your-docker-hub-username/backend-test

Send us back the name of your image, like:

change-here-for-your-docker-hub-username/backend-test

Commom problems

  • drone cookie error (just clear the site data)