-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/integrated-code-lifecycle/pause-b…
…uild-agent
- Loading branch information
Showing
292 changed files
with
2,369 additions
and
940 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
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
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
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
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-72.3 KB
docs/user/exercises/programming/open-repository-instructor-participations.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,12 @@ | ||
.. _icl-general-information: | ||
|
||
General Information | ||
=================== | ||
|
||
Artemis offers the Integrated Code Lifecycle (ICL), a comprehensive feature designed to streamline the development process for programming exercises. | ||
ICL combines version control, secure communication, and continuous integration to provide a seamless experience for students and instructors. | ||
Understanding these components is crucial for effectively using Artemis, especially if you're new to concepts like SSH and Git. The key components of ICL are: | ||
|
||
- :ref:`Local Version Control<local-vc>`: Use the Local Version Control to interact with the repositories of programming exercises. | ||
- :ref:`SSH<basic SSH introduction>`: Use SSH to perform Git operations on repositories. | ||
- :ref:`Local Continuous Integration<local-ci>`: Exercise submissions are built and tested by the Local CI system. |
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,27 @@ | ||
.. _local-ci: | ||
|
||
Continuous Integration | ||
====================== | ||
|
||
Continuous Integration (CI) is a software development practice where developers frequently merge their code changes into a shared repository. Each change is automatically built and tested, which helps to: | ||
|
||
- Detect and address integration issues early | ||
- Ensure code quality and consistency | ||
- Streamline the development process | ||
|
||
Artemis Local CI is our implementation of these CI principles, tailored to support the Artemis learning platform. | ||
It provides tools and views to help users build and test in programming exercises effectively. | ||
|
||
This document will introduce you to the key components of Artemis Local CI: the Build Agent View and the Build Overview View. | ||
These tools will assist you throughout your development workflow on the Artemis platform. | ||
|
||
Build Agent View | ||
^^^^^^^^^^^^^^^^ | ||
|
||
.. include:: local-ci-build-agent-view.inc | ||
|
||
|
||
Build Overview View | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. include:: local-ci-build-queue-view.inc |
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,67 @@ | ||
Cloning a repository | ||
^^^^^^^^^^^^^^^^^^^^ | ||
|
||
You can use Sourcetree, git from the terminal, or any client you like to clone your Git repository. | ||
These instructions show you how to clone your repository using Git from the terminal. | ||
|
||
From the exercise view, click the code button to display the Clone dialog. | ||
Copy the clone URL (either the SSH format or the HTTPS, with or without token). | ||
If you are using the SSH protocol, ensure your public key is stored in your Artemis account settings and loaded on the local system to which you are cloning. | ||
From a terminal window, change to the local directory where you want to clone your repository. | ||
|
||
Paste the command you copied from Bitbucket, for example: | ||
|
||
Clone over HTTPS: | ||
|
||
.. code-block:: bash | ||
|
||
git clone https://[email protected]/course/documentation-tests.git | ||
|
||
|
||
Clone over HTTPS with access token: | ||
|
||
.. code-block:: bash | ||
|
||
git clone https://username:[email protected]/course/documentation-tests.git | ||
|
||
|
||
Clone over SSH: | ||
|
||
.. code-block:: bash | ||
|
||
git clone ssh://[email protected]/course/documentation-tests.git | ||
|
||
|
||
If the clone was successful, a new sub-directory appears on your local drive. | ||
This directory has the same name as the repository that you cloned. | ||
The clone contains the files and metadata that Git requires to maintain the changes you make to the source files. | ||
|
||
Choosing between HTTPS and SSH: | ||
|
||
- HTTPS: Easier to set up initially, works through firewalls, but requires entering credentials more frequently. | ||
- SSH: More secure, doesn't require entering passwords for each operation once set up, but initial setup can be more complex. | ||
|
||
Choose HTTPS if you're new to Git or working in an environment with strict firewall rules. | ||
Choose SSH for enhanced security and convenience in long-term development. | ||
|
||
HTTPS access tokens | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
Instructors can create HTTP access tokens for repository access in Artemis. | ||
They are created in the account settings and are used in place of passwords for Git over HTTPS. | ||
For every student's exercise, Artemis automatically generates an access token, only associated with the repository of this particular exercise. | ||
You can use these to authenticate to the Artemis Local Version Control. | ||
|
||
Token Creation | ||
"""""""""""""" | ||
|
||
1. Go to Profile > Settings > VCS token. | ||
2. Create a new token | ||
|
||
Using SSH keys to secure Git operations | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Artemis provides a simple way for users to connect securely to repositories, using SSH to perform Git operations. | ||
Next is a :ref:`small and basic introduction to SSH<basic SSH introduction>`, and if you already know it, :ref:`here is a guide on how to create SSH keys<create ssh key>`. | ||
If you already have an SSH key, :ref:`learn how to add it to your Artemis account here<create ssh key>`. | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,16 @@ | ||
.. _local-vc: | ||
|
||
Local Version Control | ||
===================== | ||
|
||
.. contents:: Content of this document | ||
:local: | ||
:depth: 2 | ||
|
||
|
||
Repository View | ||
^^^^^^^^^^^^^^^ | ||
|
||
.. include:: local-vc-repository-view.inc | ||
|
||
.. include:: local-vc-authentication.inc |
Oops, something went wrong.