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

Add oauth to tests #670

Merged
merged 7 commits into from
Feb 12, 2021
Merged

Add oauth to tests #670

merged 7 commits into from
Feb 12, 2021

Conversation

flacatus
Copy link
Contributor

@flacatus flacatus commented Feb 11, 2021

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
@flacatus
Copy link
Contributor Author

NOT ready for review yet

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
@codecov
Copy link

codecov bot commented Feb 11, 2021

Codecov Report

Merging #670 (076536c) into master (23da456) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #670   +/-   ##
=======================================
  Coverage   28.51%   28.51%           
=======================================
  Files          47       47           
  Lines        4998     4998           
=======================================
  Hits         1425     1425           
  Misses       3364     3364           
  Partials      209      209           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23da456...076536c. Read the comment docs.

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
.ci/cico_updates_openshift.sh Outdated Show resolved Hide resolved
.github/bin/common.sh Show resolved Hide resolved
.github/bin/oauth-provision.sh Outdated Show resolved Hide resolved
.github/bin/common.sh Outdated Show resolved Hide resolved
.github/bin/oauth-provision.sh Outdated Show resolved Hide resolved
.github/bin/oauth-provision.sh Outdated Show resolved Hide resolved
.github/bin/oauth-provision.sh Outdated Show resolved Hide resolved
.github/bin/oauth-provision.sh Outdated Show resolved Hide resolved
.github/bin/oauth-provision.sh Outdated Show resolved Hide resolved
.ci/cico_updates_openshift.sh Outdated Show resolved Hide resolved
@flacatus
Copy link
Contributor Author

/retest

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
# Obtain from Keycloak the token to make api request authentication
IDP_TOKEN=$(curl -k --location --request POST ''$IDP_HOST'/auth/realms/master/protocol/openid-connect/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username='$CHE_USERNAME'' \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDP_USER

Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: flacatus, tolusha
To complete the pull request process, please assign after the PR has been reviewed.
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@flacatus flacatus merged commit c2f4c75 into master Feb 12, 2021
@flacatus flacatus deleted the oauth_test branch February 12, 2021 11:51
@che-bot che-bot added this to the 7.27 milestone Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants