Skip to content

Sdk update 20221209 093757 #6

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

Closed
wants to merge 76 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
ef57658
Add .whitesource configuration file
Apr 6, 2022
f4305dc
Align internal sdk version
michael-magrian Jul 29, 2022
1eec7cb
Merge pull request #6 from coligo/align-with-public-sdk
reggeenr Jul 29, 2022
d3964c6
adjusted configuration items
reggeenr Jul 29, 2022
104a7c4
Merge pull request #5 from coligo/whitesource/configure
reggeenr Jul 29, 2022
fd1d174
adjusted travis settings
reggeenr Jul 29, 2022
b9711b2
Merge pull request #7 from coligo/fixed-e2e-tests
reggeenr Jul 29, 2022
792fcd3
Initialize v2 sdk version
michael-magrian Jul 29, 2022
f16de77
Merge pull request #8 from coligo/feature/init_v2_sdk_version
reggeenr Jul 29, 2022
ccaaa2b
Push reduced version
michael-magrian Aug 3, 2022
bdbbc92
Attempt fixing proj list specification
michael-magrian Aug 3, 2022
61f617c
added v2 integration tests
reggeenr Aug 3, 2022
bf33a68
Merge pull request #9 from coligo/added-v2-tests
reggeenr Aug 3, 2022
998cf52
updated v2 sdk
reggeenr Aug 9, 2022
ebc92a4
v2 updates
reggeenr Aug 11, 2022
56d05a7
Merge pull request #10 from coligo/v2-update
michael-magrian Aug 11, 2022
5688c6f
Build new sdk version
michael-magrian Sep 20, 2022
ea42310
Upgrade sdk
michael-magrian Sep 22, 2022
03f7ea3
Merge pull request #11 from coligo/update-sdk
michael-magrian Oct 5, 2022
c4c9b70
updated for v2 secrets
Oct 12, 2022
5f02db7
Merge pull request #13 from coligo/v2.1-secrets
michael-magrian Oct 13, 2022
59bd2f5
Push new SDK version
michael-magrian Oct 13, 2022
e18e235
Push change
michael-magrian Oct 20, 2022
ac08263
Push change
michael-magrian Oct 21, 2022
e3bee6f
latest v2 updates
reggeenr Oct 24, 2022
1441ebc
swagger updates
reggeenr Oct 27, 2022
d935b43
go-sdk-update
reggeenr Nov 1, 2022
ef61d21
Merge pull request #14 from coligo/swagger-updates
Nov 1, 2022
44d2c01
v2 updates
reggeenr Nov 26, 2022
95c3edf
v2 updates
reggeenr Nov 28, 2022
bd80189
Replace project guid with project id
michael-magrian Nov 28, 2022
2a7c88d
Push update coligo/api#1255
michael-magrian Nov 30, 2022
08c4570
jobrun update
reggeenr Dec 2, 2022
4148ea2
Merge pull request #15 from coligo/jobrun-model-update
reggeenr Dec 2, 2022
de3c40c
project updates
reggeenr Dec 3, 2022
95ba618
fixed broken integration tests
reggeenr Dec 3, 2022
997aa04
adjusted v1 sdk e2e test
reggeenr Dec 3, 2022
7a3a853
Go SDK preparations
reggeenr Dec 3, 2022
d27443c
minor travis adjustments
reggeenr Dec 3, 2022
ea507eb
adjusted make file
reggeenr Dec 5, 2022
1e8ab93
removed go19 from travis test set
reggeenr Dec 5, 2022
edb5deb
fixed gosec and gocli-lint
reggeenr Dec 5, 2022
1493947
fixed go-sec scan
reggeenr Dec 5, 2022
ba8e321
fixed v1 integration test
reggeenr Dec 5, 2022
f6c42c2
fixed v1 and v2 test cases
reggeenr Dec 5, 2022
069e0bc
build(ci): enabled go-sec and integration tests in travis
reggeenr Dec 5, 2022
91c38b1
Merge pull request #16 from coligo/proj-updates
michael-magrian Dec 6, 2022
3e5c6b6
fix(core): re-enabled automatic CI checks
reggeenr Dec 6, 2022
44576b9
Merge branch 'main' into semantic-release-test
reggeenr Dec 6, 2022
8840520
Merge pull request #18 from coligo/semantic-release-test
michael-magrian Dec 6, 2022
3f97c20
fix(core): slightly adjusted the project model
reggeenr Dec 6, 2022
3652652
Merge branch 'main' of github.ibm.com:coligo/go-sdk into semantic-rel…
reggeenr Dec 6, 2022
c7272bf
updated to latest travis ubuntu version
reggeenr Dec 6, 2022
2e4bd9d
Merge pull request #19 from coligo/semantic-release-test
michael-magrian Dec 6, 2022
3198255
fix(core): fixed build issue
reggeenr Dec 6, 2022
4286124
Merge pull request #20 from coligo/enabled-semantic-release
michael-magrian Dec 6, 2022
6244645
fix(core): travis distribution update
reggeenr Dec 6, 2022
a0286ee
fix(core): fixed travis setup
reggeenr Dec 6, 2022
1bb7e14
changed to focal beta
reggeenr Dec 6, 2022
2e4f0cc
proofed that michael really reviews
reggeenr Dec 6, 2022
f087a9c
fix(core): adjusted travis config
reggeenr Dec 6, 2022
3d91203
Merge pull request #22 from coligo/travis-config-update
michael-magrian Dec 6, 2022
2f600f9
last final change on this
reggeenr Dec 6, 2022
564f8ec
fix(core): adjusted semantic release config
reggeenr Dec 6, 2022
5cd14dc
Merge pull request #24 from coligo/adjusted-semantic-release-config
michael-magrian Dec 6, 2022
b376539
fix(ci): fixed semantic-release configuration
reggeenr Dec 6, 2022
f5e3d45
Update version 0.1.0 -> 1.0.0 [skip ci]
reggeenr Dec 6, 2022
bf616de
fix(core): set latest version in semantic-release related files
reggeenr Dec 6, 2022
ab62a91
Merge pull request #25 from coligo/version-2.0.0
michael-magrian Dec 6, 2022
5ee886d
fix(build): added a travis.yml that should be used for public github
reggeenr Dec 9, 2022
0d04b4d
Update version 2.0.0 -> 2.0.1 [skip ci]
semantic-release-bot Dec 9, 2022
a299cae
chore(release): 2.0.1 release notes [skip ci]
semantic-release-bot Dec 9, 2022
f7d29f4
fix(build): remove package.json from git. added changelog entry for v…
reggeenr Dec 9, 2022
37f444f
Update version 2.0.1 -> 2.0.2 [skip ci]
semantic-release-bot Dec 9, 2022
3b91e19
chore(release): 2.0.2 release notes [skip ci]
semantic-release-bot Dec 9, 2022
585ce67
SDK update 20221209-093757
reggeenr Dec 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .bumpversion.cfg

This file was deleted.

6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ swagger.json
openapi-sdkgen

# example binary ignore
example/example
example/example
coverage.txt

package.json
package-lock.json
21 changes: 0 additions & 21 deletions .releaserc

This file was deleted.

42 changes: 16 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
language: go
dist: xenial
go: 1.13.x
dist: focal

go:
- 1.18.x

# Only run on main (still tests PRs)
branches:
only:
- main

cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod

notifications:
email: true

Expand All @@ -15,29 +22,12 @@ env:
- GO111MODULE=on

before_install:
# To enable semantic-release, uncomment the next 4 lines
# - sudo apt-get update
# - sudo apt-get install python
# - nvm install 12
# - npm install -g [email protected]
#- '[ "${TRAVIS_PULL_REQUEST}" == "false" ] && openssl aes-256-cbc -K $my_key -iv $my_iv -in myservice.env.enc -out myservice.env -d || true'
- sudo apt-get update
- pyenv global 3.8

install:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.49.0
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

script:
- go build ./...
- go test ./...
- ./test-integration.sh

# To enable semantic-release, uncomment these sections.
# before_deploy:
# - pip install --user bump2version
# - npm install @semantic-release/changelog
# - npm install @semantic-release/exec
# - npm install @semantic-release/git
# - npm install @semantic-release/github
#
# deploy:
# - provider: script
# script: npx semantic-release
# skip_cleanup: true
# on:
# branch: master
- make travis-ci
32 changes: 21 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
# Makefile to build go-sdk-template
# Makefile to build the project
GO=go
LINT=golangci-lint
GOSEC=gosec

all: build unittest lint tidy
COVERAGE = -coverprofile=coverage.txt -covermode=atomic

travis-ci: build alltest lint tidy
all: tidy test lint scan-gosec
travis-ci: test-cov lint scan-gosec tidy

build:
go build ./...
test:
${GO} test `${GO} list ./...`

unittest:
go test `go list ./... | grep -v samples`
test-cov:
${GO} test `${GO} list ./...` ${COVERAGE}

alltest:
go test `go list ./... | grep -v samples` -v -tags=integration
test-int:
${GO} test `${GO} list ./...` -tags=integration

test-int-cov:
${GO} test `${GO} list ./...` -tags=integration ${COVERAGE}

lint:
golangci-lint run
${LINT} run

scan-gosec:
${GOSEC} -conf gosec.json -exclude-dir=example/v1 -exclude-dir=example/v2 ./...

tidy:
go mod tidy
${GO} mod tidy
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
<!--
[![Build Status](https://travis-ci.com/IBM/code-engine-go-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis.ibm.com/IBM/code-engine-go-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)
[![Build Status](https://travis-ci.com/IBM/code-engine-go-sdk.svg?branch=main)](https://travis-ci.com/IBM/code-engine-go-sdk)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
-->

# IBM Cloud Code Engine Go SDK 0.0.1
# IBM Cloud Code Engine Go SDK 2.0.2
Go client library to interact with the [Code Engine API](https://cloud.ibm.com/apidocs/codeengine).

Disclaimer: this SDK is being released initially as a **pre-release** version.
Changes might occur which impact applications that use this SDK.

## Table of Contents
<!--
The TOC below is generated using the `markdown-toc` node package.
Expand Down Expand Up @@ -43,18 +38,19 @@ The IBM Cloud Code Engine Go SDK allows developers to programmatically interact

Service Name | Package name
--- | ---
[Code Engine](https://cloud.ibm.com/apidocs/codeengine) | ibmcloudcodeenginev1
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v2.0.2) | codeenginev2
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v1.0.0) | ibmcloudcodeenginev1

## Prerequisites

[ibm-cloud-onboarding]: https://cloud.ibm.com/registration

* An [IBM Cloud][ibm-cloud-onboarding] account.
* An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).
* Go version 1.12 or above.
* Go version 1.18 or above.

## Installation
The current version of this SDK: 0.0.1
The current version of this SDK: 2.0.2

There are a few different ways to download and install the Code Engine Go SDK project for use by your
Go application:
Expand All @@ -73,7 +69,7 @@ Go application, like this:

```go
import (
"github.com/IBM/code-engine-go-sdk/ibmcloudcodeenginev1"
"github.com/IBM/code-engine-go-sdk/codeenginev2"
)
```

Expand All @@ -87,7 +83,7 @@ to your `Gopkg.toml` file. Here is an example:
```
[[constraint]]
name = "github.com/IBM/code-engine-go-sdk"
version = "0.0.1"
version = "2.0.2"

```

Expand Down
Loading